Frigate
- Experten
- Volodymyr Hrybachov
- Version: 1.1
- Aktualisiert: 4 März 2022
- Aktivierungen: 5
The strategy is based on my template and is based on the AO and AC indicators. It buys at two green AO and AC, sells at two red AO and AC. The EA has been adapted for four- and five-digit quotes. VPS server is recommended. Before installing on a real trading account, it is recommended to test the parameters on 99.90% quotes at least for the last year. If you need any help, send me a private message.
Advantages of the EA template
- It is possible to combine different capabilities of the template to modify or supplement the trading strategy;
- It has the maximum possible functionality that is compatible;
- Intuitive names of the input parameters;
- All functionality can be easily optimized.
Template parameters
- Inp_StartTime, Inp_EndTime – time interval, when opening positions is allowed; if 00:00, then not used;
- Inp_ReverseTrades – if true, positions are opened inversely; buy instead of sell, sell instead of buy;
- Inp_CloseOnSignal – if true, positions are closed at the opposite signal;
- Inp_BalanceLots – calculation of the traded lot based on balance. Formula – maximum lot/100*Inp_BalanceLots;
- Inp_StartLots – initial lot, if Inp_BalanceLots = 0;
- Inp_PercenValues – if true, the values of stop loss, take profit, breakeven and trailing stop are set as percentages, otherwise in points;
- Inp_Slippage – maximum slippage;
- Inp_CloseAllOrders – close portfolio of bi-directional orders;
- Inp_DiffDirections – allow bi-directional orders;
- Inp_Multicurrency – consider all orders opened on all symbols in the calculation of stop loss, take profit, breakeven and trailing stop;
- Inp_StopLoss – stop loss, 0 - not used;
- Inp_TakeProfit – take profit, 0 - not used;
- Inp_BreakevenStop – distance the price should pass to activate the position breakeven, 0 - not used;
- Inp_BreakevenStep – profit in points to be protected by a breakeven;
- Inp_TrailingStop – distance the price should pass to activate the position trailing, 0 - not used;
- Inp_TrailingStep – profit value to protect using trailing stop;
- Inp_MagicNum – magic number, if -1 the EA works with all orders;
- Inp_EaComment – comment to trades;
- Inp_DiffLotsByLock – lock the difference in volumes of positions for symbol, 0 - not used;
- Inp_MaxOrdersSeries – maximum number of orders in the series;
- Inp_MaxLotsSeries – maximum cumulative lot size of order series;
- Inp_MaxOpenLots – maximum lot size for opening a trade;
- Inp_SendOrderLevel – distance from the last open position to allow placing a level;
- Inp_PlusLot – term of the previous lot size for averaging, 0 - not used;
- Inp_PlusRatio – lot increase coefficient for averaging, value greater than 1; 0 - not used;
- Inp_LevelAveraging – step for setting the averaging level, 0 - not used;
- Inp_MinusLot – subtract from the previous lot for rebuys, 0 - not used;
- Inp_MinusRatio – lot decrease coefficient for rebuys, value less than 1, 0 - not used;
- Inp_LevelRebuy – step for setting the rebuy level, 0 - not used;
- Inp_PauseMinutes – pause in minutes between the modifications of order opening levels, 0 - not used;
- Inp_Visualization – display the trades history and the current location of levels on the chart;
- Inp_ModeWithdrawal – mode of funds withdrawal. The EA does not open new trades, it works for closure.