Hi i have problem to use iRSI in timeframe other than current timeframe it only works on current timeframe
how can i use iRSI in other timeframes than current one.
other technical indicators also doesn't work in other timeframe than current
timeframe.
thanks
Of course they do.
Just set the time-frame parameter to the one that you want.
hi this is my code
its on mql5
***
this code only works on M30 time frame because of this line
"
label1_Handle = iRSI(_Symbol,PERIOD_M30,14,PRICE_CLOSE);
"
and when for example change chart timeframe to H1 or other timeframe doesn't work.
- www.mql5.com
EDIT your original post, please do not just post the code correctly in a new post.
What do you mean, it doesn't work?
What are you expecting it to do?
Why are you copying the values from 1 TF into another TF?
Ie with H1 current time 12:00
The previous H1 bar at 11:00 will store the 11:30 M30 RSI
The previous H1 bar at 10:00 will store the 11:00 M30 RSI
The previous H1 bar at 9:00 will store the 10:30 M30 RSI
ETC.
EDIT your original post, please do not just post the code correctly in a new post.
What do you mean, it doesn't work?
What are you expecting it to do?
Why are you copying the values from 1 TF into another TF?
Ie with H1 current time 12:00
The previous H1 bar at 11:00 will store the 11:30 M30 RSI
The previous H1 bar at 10:00 will store the 11:00 M30 RSI
The previous H1 bar at 9:00 will store the 10:30 M30 RSI
ETC.
Hi sorry im new here
I expect to show RSI in chart when chart is in for example M1 and show
RSI for M30 TF
I need it for multi timeframe indicator
But it only show RSI in M30 chart
tks a lot for your help
Was there something that you did not understand?
EDIT your original post, please do not just post the code correctly in a new post.
Hi i have problem to use iRSI in timeframe other than current timeframe it only works on current timeframe
how can i use iRSI in other timeframes than current one.
other technical indicators also doesn't work in other timeframe than current
timeframe.
thanks
input Timeframe = PERIOD_H1; // Set timeframe as an input int RSIh=iRSI(_Symbol,Timeframe,14, PRICE_CLOSE); // Set input into indicator working timeframe.
Then you can test all timeframes.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi i have problem to use iRSI in timeframe other than current timeframe it only works on current timeframe
how can i use iRSI in other timeframes than current one.
other technical indicators also doesn't work in other timeframe than current
timeframe.
thanks