Yes ! DeltaPipsMA25 is the maximum distance allowed between MA25 1/2 or 2/1. That's to allow early trade when price retrace but not when trend is well establishedRadar wrote:Hey Phil,
Just caught an error in your description of the system in post1...
DeltaPipsMA25=10; Delta min in pips between today and yesterday EMA to allow trade
The code you posted sets it as the maximum distance...
I figure that since your account is growing like wildfire, it's the description that's incorrect, and not the codeCode: Select all
( PaireMA25[kk,2] - PaireMA25[kk,1] < MACD_DeltaPipsMA25[kk]*Point )
Have fun!
Radar =8^)
MQL4 code is ok.
That was just a bug to see if someone understand something
Philippe