You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
@kashetter,
try with:
int limit=CountBars+TimeFrame/Period();
int y=0;
for (i=0, y=0; i<limit;i++) {if (Time[i]<TimeArray1[y]) y++; SumVQ[i]=SumVQ_MTF[y];}
seems it works...
A little problem. The breakeven only works on buy positions and not on sell. How to fix?
I found the error:
Line 929: it says: if ((OrderOpenPrice()-OrderStopLoss())<0) Should be bigger than: if ((OrderOpenPrice()-OrderStopLoss())>0) {
Why does not this EA work? I have no messages that it is not working in the journals or experts
Thank you
@kashetter,
try with:
int limit=CountBars+TimeFrame/Period();
int y=0;
for (i=0, y=0; i<limit;i++) {if (Time[i]<TimeArray1[y]) y++; SumVQ[i]=SumVQ_MTF[y];}
seems it works...
Compiled perfect , thanks!