It's the difference between the moving averages . . .
ExtMapBuffer1[i] = iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,i); ExtMapBuffer2[i] = iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i); rsi_sig = iRSI(NULL, 0, RSIPeriod, PRICE_CLOSE, i); pipdiffCurrent = (ExtMapBuffer1[i] - ExtMapBuffer2[i]);
i calculate the difference between the moving averages for gbpusd.
fast moving price is:1.5673
slow moving price is:1.5656
1.5673_1.5656=.0017
but pipdiffCurrent for this candel is .00239091 it is Different?
for some pair pipdiffCurrent value is Negative Whereas difference between the moving averages is always Positive??How might it?
thanks for reply my friend.please help me.I desperately need it.
excusme for my quession my friend.
the moving price in last candel is averege of 5 candel for moving average of 5 period.
this indicator work with moving and rsi can you explain for me why this indicator is repainted signal?
Thank you very much
excusme for my quession my friend.
the moving price in last candel is averege of 5 candel for moving average of 5 period.
this indicator work with moving and rsi can you explain for me why this indicator is repainted signal?
Thank you very much
From a first look:
At the first run the indicator parses the data form now to past:
limit=Bars-counted_bars; //---- main loop for(int i=0; i<limit; i++) {
In general this is the first clue that the indicator might repaint.
Additionally this indicator uses previous calculated informations in it's calculations:
if (sigCurrent==1 && sigPrevious==2) {
The combination of these two leads to the problem that while parsing backwards in time the indicator uses data which is not available in 'forward mode'.
The really bad thing in this indicator is that it changes behaviour if used in forward mode. (It does not repaint anymore).
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello
I cant speak English. Can anyone explain how "pipdiffCurrent" in this indicator is calculated.i realy confused.please help me.
thanks my friend.