JJF:
Greetings,
Something doesn't match between the formula result to the graphical plot view.
I run am EA routine that notes me when there is a cross event at each of my indicators.
The problem is that sometimes (not always), I get the crossing signal from the EA's formula but looking at the graph, doesn't show crossing.
In the attached picture, you see the M15 RSI plot (RSI[7] - Bright yellow and RSI[21] - Brown).
there was a cross signal ('M15 RSI cross'), but on the graph it doesn't show.
Isn't this going to "re-paint" ? as it's bar 0 ?
position[0] = iRSI(Symbol(),timeframe[i],7,PRICE_CLOSE, 0) - iRSI(Symbol(),timeframe[i],21,PRICE_CLOSE, 0);
JJF:
By the way, Close[0] is == Bid
All RSI are calculated for "close" prices.
Yes, but that doesn't alter the fact that Bar 0 is never closed, during it's life it is forming and while that is happening Close[0] == Bid
RaptorUK:
Yes, but that doesn't alter the fact that Bar 0 is never closed, during it's life it is forming and while that is happening Close[0] == Bid
Yes, but that doesn't alter the fact that Bar 0 is never closed, during it's life it is forming and while that is happening Close[0] == Bid
I don't understand what is the connection between close[0]==Bid and my question.
I am asking about RSI formula , not other things.
I'll appreciate if you'll be more clear in your responds.
James
RaptorUK:
Isn't that clear enough ? what is your opinion ? will it re-paint or not ?
Isn't this going to "re-paint" ? as it's bar 0 ?
position[0] = iRSI(Symbol(),timeframe[i],7,PRICE_CLOSE, 0) - iRSI(Symbol(),timeframe[i],21,PRICE_CLOSE, 0);

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
James