I corrected. Looks interesting.
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Can I ask you one thing:
iCustom("GBPUSD", PERIOD_H1, "Hist_StepMA_Stoch_KV1_Ex_03",PeriodWATR,Kwatr,HighLow,NumberOfBarsToCalculate,1,Current + 0);
why you put "....,1, current" for long and ".....,0,current" for sell??
Thanks for help...
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Can I ask you one thing:
iCustom("GBPUSD", PERIOD_H1, "Hist_StepMA_Stoch_KV1_Ex_03",PeriodWATR,Kwatr,HighLow,NumberOfBarsToCalculate,1,Current + 0);
why you put "....,1, current" for long and ".....,0,current" for sell??
Thanks for help...The indicator is having two colors. First color is named 0 (red), and the second one is 1 (blue). I did not name it as 0 and 1. It was named in indicator.
Besides I changed your EA to work with close bar instead of pen bar: Current + 1; Current + 2.
And changed some rules to enter the trade.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I meda this simple EA "Hist_cla":
buy when Hist_StepMA_Stoch_KV1_Ex_03 CROSS 0
sell when 0 CROSS Hist_StepMA_Stoch_KV1_Ex_03
But don't work.....why? I'm a newbe of EA scripting....
Thanks for help