I have an automated strategy where I am working mostly with RSI.
I want to be able to draw lines that are tilted and to connect the highest values of two or more consecutive RSI peaks.
In this regard, I managed to get the number of bar of the first tip and its respective peak RSI value, and the number of bar and peak value of the second RSI tip.
For example I have
1st High:
Session Bar 293
RSI 73.5
2nd High
Session Bar 385
RSI 69.5
I want to use the above data to draw a line and connect the two dots, while charting it on the panel where the RSI is being drawn.
Any help will be much appreciated.
Thanks.
Comment