I need a little help. This code is supposed to plot arrows on top of or below the
price bars when the RSI values are met. I'm having trouble with a parenthesis issue.
Can someone fix this bug for me and make sure it works? I have no clue right now.
I'm still in Chapter 1 MQL...
- Arrows - Analytical Objects - Price Charts, Technical and Fundamental Analysis
- Fractals - Bill Williams' Indicators - Indicators - Charts - MetaTrader 5 for Android
- Fractals - Bill Williams' Indicators - Indicators - Chart - MetaTrader 5 for iPhone
The condition clause of an "if" statement is to be written within a balanced
pair of parentheses. So you'd need:
if ( iRSI(NULL,0,14,PRICE_CLOSE,0) < rsilo )and
if ( iRSI(NULL,0,14,PRICE_CLOSE,0) > rsihi )
with a terminating right parenthesis added for each condition clause.
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