The Highest value of the last 5 minutes
Posted: Jun 22 2017
Hello everyone,
This is my first topic, I've just started with Multicharts.
I would like to get the highest value of the RSI during the last 5 closed bars.
And I wish this to be recalculated at every new bar.
I'm thinking of this code line :
But I'm really not sure of it, can some of you let me know if it's correct and if there is a better way to di it?
Thank you in advance for your collaborations.
Regards
This is my first topic, I've just started with Multicharts.
I would like to get the highest value of the RSI during the last 5 closed bars.
And I wish this to be recalculated at every new bar.
I'm thinking of this code line :
Code: Select all
protected override void CalcBar(){
.....
//find highest RSI_01M over the last 5 bars
double RSI_H05_01M = RSI_01M.Highest(5);
Thank you in advance for your collaborations.
Regards