If you mean the center line - it's a constant 50 (just like the 30 and 70 lines)
If you mean a median value - Get n values using iRSI() and calculate the median (See attached)
If the indicator generates both lines (and one is a median not SMA,) get both values using iCustom current and previous and test for a cross.
Files:
median.mq4
4 kb
WHRoeder:
If you mean the center line - it's a constant 50
If you mean a median value - Get n values using iRSI() and calculate the median (See attached)
Thanks for you reply,
I need to know if the rsi line crossed the median (red line)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
How can I read the value of the Median Line in the rsi window?
Please note that I need to read the median value according ro the RSI Scale (0-100) not the price
Regards