![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
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