Dear community,
I would like to create a RSI indicator on tick basis rather than bars.
Since e.g. "IndicatorCounted()" counts only bars and there is no "Bid()" or "Ask()" (only "close()" etc.). Do you think it is possible to create a RSI on tick basis?
Of course, I can use an array to count Bids, but how can I simulate the "IndicatorCounted()" on tick level?
Would be nice if you could help me with this!
I'm pretty sure the RSI by definition is calculated on a tick basis. The fact that the end of the RSI line (at Time[0]) moves with each new tick shows as much.
Look at the formula: http://www.metaquotes.net/techanalysis/indicators/relative_strength_index
ticks data indicator:
then you can use below formula to calculate RSI.
RSI = 100-(100/(1+U/D))
Where:
U — is the average number of positive price changes;
D — is the average number of negative price changes.
Thank you all very much for your help!
I think I got a picture and your posts help a lot!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Dear community,
I would like to create a RSI indicator on tick basis rather than bars.
Since e.g. "IndicatorCounted()" counts only bars and there is no "Bid()" or "Ask()" (only "close()" etc.). Do you think it is possible to create a RSI on tick basis?
Of course, I can use an array to count Bids, but how can I simulate the "IndicatorCounted()" on tick level?
Would be nice if you could help me with this!