How to get an indicator value for another time frame ?

 

Suppose I run an EA code on a 5 min chart.

How can I know the current value of some indicator, lat's say RSI, on the 15 min chart (of the same symbol of course), or any other time frame rather the time frame from which I run the EA?

10X !

yaniv.

 

search for MTF indicators you will find them in this forum ''multi time frame''

 
yaniv_av:
Suppose I run an EA code on a 5 min chart.

How can I know the current value of some indicator, lat's say RSI, on the 15 min chart (of the same symbol of course), or any other time frame rather the time frame from which I run the EA?

10X !

yaniv.

All the build-in Indicators have a prameter for the time frame - set it to the time frame u want or set it to 0 which means to use the current timeframe of the chart:

double iRSI( string symbol, int timeframe, int period, int applied_price, int shift)