Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Published by:
- Vladimir Karputov
- Views:
- 7545
- Rating:
- Published:
- 2018.12.28 13:09
- Updated:
- 2019.01.17 11:29
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Idea by: Scriptor
Code mq5 by: barabashkakvn
The EA works on hedge accounts ONLY!
The EA uses the following indicators: iCCI (Commodity Channel Index, CCI) and two iMAs (Moving Average, MA). It is possible to set a timeframe for CCI other than that for Moving Average. It is recommended to run the EA on timeframe CCI: timeframe or MA Fast and Slow: timeframe.
For indicator CCI, additional parameters shall be set:
- CCI Up level - upper level (to be set as an integer)
- CCI Down level - lower level (to be set as an integer)
- CCI Current Bar - number of the bar, from which the CCI readings are taken
Trade signals for opening positions
- Opening a BUY position: MA Slow #1 > MA Slow #2 && MA Fast #0 > MA Fast #1 && (int)CCI #CCI Current Bar < CCI Down level
- Opening a SELL position: MA Slow #1 < MA Slow #2 && MA Fast #0 < MA Fast #1 && (int)CCI #CCI Current Bar > CCI Up level
Signals for closing positions
- Closing a BUY position: MA Slow #1 <= MA Slow #2
- Closing a SELL position: MA Slow #1 >= MA Slow #2
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22703

Indicator Price Momentum Oscillator

Calculating the best trading interval.

Indicator Volatility Quality Index

Indicator Sylvain Vervoort RSI inverse fisher transform