Auftrag beendet
Spezifikation
1. The idea of the trading system is as follows: market entries are performed when the screen color captured from a external browser is green or red
2. Those Signals are determined based on a protected TradingView indicator, which can't differentiate buy and sell signals through TradingView's Alarm feature, that's why the only way out as a signal to trigger a MT5 EA action is through it's real time behavior on the screen
3.Buy Long Signal: If the external browser screen shows a GREEN dot, or if the User manually press the button "C" on the keyboard, place an OCO purchase order at the High of the previous Candle + 1 tick;
3.Sell Short Signal: f the external browser screen shows a RED dot, or if the User manually press the button "V" on the keyboard, place an OCO sell order at the Low of the previous Candle - 1 tick;
4. Positions are closed 1 second before the closing of the 1 candle after the candle where the position was opened, IF the distance between the current price and the entry price is LESS or EQUAL to a positive number of ticks. IF not, it remains open until it is closed at Gain, Loss or automatically closed at the end of the day, at a configurable time.
5.Position management
Automatic cancellation of a non-executed Order: If an open order is not executed by the end of the candle in which it was opened, cancel automatically
Manual Cancelation of a non-executed Order: By pressing the button "ESC" on the keyboard, cancel all open orders;
Close all open positions: By pressing the button "Z" on the keyboard, all open operations will be closed at market prices;
Auto Breakeven: if the distance between the current price and the entry price is HIGHER or EQUAL to a positive number of ticks, move StopLoss to the entry price
Take Profit: close the opened position at Market if the distance between the current price and the entry price is HIGHER or EQUAL to a positive number of ticks
Stop Loss: close the opened position at Market if the distance between the current price and the entry price is LOWER or EQUAL to a negative number of ticks
6. Configurable Parameters
- Take Profit in ticks: 34 (configurable)
- Stop Loss in ticks: 48 (configurable)
- Close OCO order by Time: 17:40pm (configurable)
- Auto Breakeven Distance to trigger in ticks: 23 (configurable)
- Auto Breakeven new Stop Loss distance from the Entry Price in ticks: 0 (configurable)
- Position automatic Closing: seconds before the closing of the subsequent candle: 1 (configurable)
- Position automatic Closing: minimum distance between the current price and the entry price, for the operation to remain open in ticks: 10 (configurable)