Forum

2 different results in 2 MetaTrades from 2 brokers (version 4)

Hello I first downloaded the data I wanted from the Tickstory software. Then I imported the same data in MetaTrader 4 from icm broker and Alpari broker. Then I started taking back tests (timeframe 5 minutes) from both MetaTrader 4. But I got different results from each, while all the settings and

my if condition in Mql4 is never established

in the below code `if(sma5_after > sma18_after)` never is true while this condition is repeated many times in the chart I use Mql4 in meta trader4 void OnTick () { if ( iVolume ( _Symbol , _Period , 0 )<= 1 ) { sma5_befor = iMA ( _Symbol , _Period , 5 , 0 , MODE_SMA