Pegging Order EA MT4
Details

Here are the different fonctionnalities of pegging order EA
If you drag&drop the button sell, the EA will place a "sell limit" a x points from the middle price ((ask+bid)/2).
X is a input tjhat you can choose.(Points_For_Distance). If you drag&drop the button "Buy", it is the opposite that will happen.
The principle of Pegging Order is simple: if you have a "sell limit", if the trend is bearish, the price of the sell limit will follow the market price.
If you have a "buy limit", it is the same but the trend have to be bullish.
You can also select a dead time with the variable "Expiration_In_Secondes". the order will be canceled if it is not activated after x seconds.
Of course, with pegging order EA we can place stopLoss and TakeProfit. You can choose to place it with input or directly on the chart with some trendline.
The button "close" allows canceling all in one click!
Here is a screenshot showing the EA in action:

Additional Information
| Author | Alpha Novae |
|---|