Strategy 2 Leg Simple Hedge
Strategy 2 Leg Simple Hedge – This is a very convenient and easy way to disguise transactions through a fast quote provider. Trading involves a slow broker and a fast quote provider where transactions are locked to ensure that the account on the slow broker is protected from blocking/ban. The use of the new strategy allows you to control the duration of transactions by time and the amount of profit/loss in points.
The main innovation in the algorithm was the transaction entry model. Now, at the signal of the arbitration, we do not open a deal, but close one of the open transactions in the lock, which allows us to avoid slippage and hide the place of the arbitration entry from the broker’s eyes. To work on this strategy, you will need to have a deposit to trade on a fast quote provider.
Strategy Settings Table 2 Leg Simple Hedge
| SETTINGS NAME | DESCRIPTION |
| LockType
|
Choosing the type of locking Buy/Sell/Full
In Buy mode, at the first start of the strategy, locking Buy orders are placed on the first slow broker/account and Sell on the second slow broker/account (trading is conducted on the first slow broker only by sell signals, on the second slow broker only by buy signals). When a sell signal appears on the first slow broker, the Buy order is closed and after the conditions for fixing profit/loss on the MinlevelClose or FixTP/FixSL signal, the locking Buy order is placed again. When a buy signal appears on the second slow broker, the Sell order is closed and after the conditions for fixing profit/loss on the MinlevelClose or FixTP/FixSL signal occur, the locking Sell order is placed again. In the Sell mode, at the first start of the strategy, locking Sell orders are placed on the first slow broker/account and Buy on the second slow broker/account (trading is conducted on the first slow broker only by buy signals, on the second slow broker only by sell signals). When a buy signal appears on the first slow broker, the Sell order is closed and after the conditions for fixing profit/loss on the MinlevelClose or FixTP/FixSL signal, the locking Sell order is placed again. When a sell signal appears on the second slow broker, the Buy order is closed and after the conditions for fixing profit/loss on the MinlevelClose or FixTP/FixSL signal occur, the locking Buy order is placed again. In Full mode, at the first start of the strategy, locking Sell and Buy orders are placed on the first slow broker/account, as well as Buy and Sell orders on the second slow broker/account (trading is conducted on both accounts using buy/sell signals). When a buy/sell signal appears on the first slow broker, the Sell/Buy order is closed and after the conditions for fixing profit/loss on the MinlevelClose or FixTP/FixSL signal, the locking Sell/Buy order is placed again. When a sell/buy signal appears on the second slow broker, the Buy/Sell order is closed and after the conditions for fixing profit/loss on the MinlevelClose or |
| FixTP/FixSL signal, the locking Buy/Sell order is placed again. | |
| LotFast | The lot size for opening a deal on a fast broker. |
| LotSlow | The lot size for opening a trade on a slow broker. |
| MinOrderTime(sec) | The minimum duration of the order in seconds. All transactions in duration will always be longer than the set value. |
| MinOrderPoint | The minimum number of points (profit/loss) for open trades in the block for starting the signal trading algorithm |
| Algorithm for opening a lock (opening a deal on a signal) by placing a StopLoss order by the value of pt (points) from the current price. If the StopLoss does not work within the set amount of time in milliseconds, the lock will not be opened and the current signal will be skipped, and the set StopLoss will be deleted.
|
|
