- Zero Divide Error
- Comment function doesn't work in EA
- Code Help-- Can't Trade multiple pairs
This is my first time trying to create an EA that uses multiple pairs. I have been having trouble with MetaTrader printing out the correct numbers and I can't figure it out. I have dumbed my code down to find the problem. The variable DiffClose should produce HigherPairClose / LowerPairClose, or the close prices of EURJPY / USDJPY. When I have this commented on the screen DiffClose is equal to something like 1 billion when it should be around 1.38... I am using this EA attached to a EURUSD 1-minute chart on a DEMO account. Also, I tried this on the Strategy Tester and got a zero divide error. My understanding is that Strategy Tester cannot do multiple pair strategies, is this true?
According to the MT4 build 625 help, Strategy Iester can now do multi currency amongst a whole bunch of other new things the trouble is since the upgrades mt5/mql5 features that are not imlemented in mt4/mql4 are mixed up with the real mt4/mql4 features in the docs. The only way to find out what new features really are implemented in mt4/mql4 is to try it and see.
According to the MT4 build 625 help, Strategy Iester can now do multi currency amongst a whole bunch of other new things the trouble is since the upgrades mt5/mql5 features that are not imlemented in mt4/mql4 are mixed up with the real mt4/mql4 features in the docs. The only way to find out what new features really are implemented in mt4/mql4 is to try it and see.
Yes it is in the User Guide from the MT4 toolbar > Help > Help Topics > Client terminal > New Terminal > Strategy Tester.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use