Quote:
|
Originally Posted by 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:
PHP Code:
double iRSI( string symbol, int timeframe, int period, int applied_price, int shift)