I need help to put together the following indicator. If any of you can help me, I will greatly appreciate it. I want it as simple as possable. idealy green/red horisontal bar, indicating the GOOD trend. We do not trade in no-trend.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi all,
I need help to put together the following indicator. If any of you can help me, I will greatly appreciate it. I want it as simple as possable. idealy green/red horisontal bar, indicating the GOOD trend. We do not trade in no-trend.
Indicate LONG when:
- close >MA(34) [high]
- close of previous bar also >MA(34) [high]
- cci >0
- MACD Histogram >0 for at least 2 bars
++ Close the LONG when CCI crosses over the ZeroLine into CCI<0
Indicate SHORT when:
- close <MA(34) [low]
- close of previous bar also <MA(34) [low]
- cci <0
- MACD Histogram <0 for at least 2 bars
++ Close the SHORT when CCI crosses back over the ZeroLine into posative teretory.
All your help will be greatly appreciated.
Justin