- Indicators with alerts/signal
- I will write an advisor free of charge
- Help, iCustom problem.
Well this indicator is interesting. Here is a central part of it ...
for(int i=0; i<Bars; i++) { MaxH = High[Highest(NULL,0,MODE_HIGH,period,i)]; MinL = Low[Lowest(NULL,0,MODE_LOW,period,i)]; price = (High[i]+Low[i])/2; if(MaxH-MinL == 0) Value = 0.33*2*(0-0.5) + 0.67*Value1; else Value = 0.33*2*((price-MinL)/(MaxH-MinL)-0.5) + 0.67*Value1; Value=MathMin(MathMax(Value,-0.999),0.999); if(1-Value == 0) ExtBuffer0[i]=0.5+0.5*Fish1; else ExtBuffer0[i]=0.5*MathLog((1+Value)/(1-Value))+0.5*Fish1; Value1=Value; Fish1=ExtBuffer0[i]; }
Notice some key things.
1) On every tick it recalculates the whole chart!
2) It is applying EMA filters via the variables Value1 and Fish1
3) This EMA goes backwards in time.
4) Therefore the indicator recalculates (changes) old displayed values on each new tick :-(
Well this indicator is interesting. Here is a central part of it ...
Notice some key things.
1) On every tick it recalculates the whole chart!
2) It is applying EMA filters via the variables Value1 and Fish1
3) This EMA goes backwards in time.
4) Therefore the indicator recalculates (changes) old displayed values on each new tick :-(
Thank You so much for taking out time in between no time to study, analyse and write out the above codes. I will take my time to study the above codes and see what I
do with it. (I started studying MQL4 with the aim of automating my strategy, but so far I am still have a hard time)
YOU ARE HIGHLY APPRECIATED.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use