
Originally Posted by
madscalp
I have tried several settings with M5 and M1 and poor results because the ranging periods are bad for this EA.
Manually the results are better because the trade is taken at changing colour before the confirmation on the following candle.
So, manually, the profits are optimized and the losses reduced.
Conclusion: it's a manual system.
Thanks funyoo for your work.
You can still try to replace at line 171, this :
Code:
double SDL1=iCustom(Symbol(),0,"Slope Direction Line",period1,method1,price1,2,i+1);
double SDL2=iCustom(Symbol(),0,"Slope Direction Line",period1,method1,price1,2,i);
double SDL3=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,i+2);
double SDL4=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,i+1);
double SDL5=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,i);
By that :
Code:
double SDL1=iCustom(Symbol(),0,"Slope Direction Line",period1,method1,price1,2,i);
double SDL2=iCustom(Symbol(),0,"Slope Direction Line",period1,method1,price1,2,0);
double SDL3=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,i+1);
double SDL4=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,i);
double SDL5=iCustom(Symbol(),0,"Slope Direction Line",period2,method2,price2,2,0);
In order to get trades before the confirmation bar.