Probe EA

Description

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).