Join our fan page
- Published by:
- Vladimir Karputov
- Views:
- 3810
- Rating:
- Published:
- 2018.12.18 19:18
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The author of the idea - Scriptor
mq5 code author - barabashkakvn
The EA works both on netting and hedging accounts. It works on every tick. In order to place pending orders (Buy stop and Sell stop), the EA analyzes iCCI indicator values on bars #0 and #1.
When a trading signal is activated, the EA sets a pending stop order with the Lots volume at the "Indent from the price" distance from the current price. If Stop Loss is not equal to zero, it is set immediately.
What to do with pending orders that were not triggered? If the current price moves from a pending order at 1.5 * "Indent from the price", it is removed.
After a pending order is activated, a trailing may be applied to a position (unless Trailing Stop is equal to zero).
Sample test on EURUSD, M30:
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22471

The trading system based on the signals of the Hans_Indicator_Cloud_System indicator

The trading system based on Hans_Indicator_Cloud_System indicator signals with the possibility to set a fixed position holding time

Simultaneous opening of two oppositely directed positions

Expert Advisor based on iRSI (RSI) and iMA (Moving Average, MA).