Black Star
- Experts
- Volodymyr Hrybachov
- Version: 1.1
- Updated: 4 March 2022
- Activations: 5
The strategy is based on my template and based on Envelopes and the last candles' sequence. The EA has been adapted for four- and five-digit quotes. VPS server is recommended. Check the parameters on 99.90% quotes at least for the last year before launching the EA on a real account. Feel free to write me a personal message if you need my help.
Parameters
- Inp_Period – indicator period;
- Inp_Method – averaging method;
- Inp_Price – price type;
- Inp_UpperDev, Inp_LowerDev – deviation in %.
EA template advantages
- It is possible to combine different template features or strategy additions;
- The most efficient functionality compatible with each other;
- Intuitive input names;
- The entire functionality is easily optimizable.
Template parameters
- Inp_StartTime, Inp_EndTime – open positions in the specified time interval, 00:00 – not used;
- Inp_ReverseTrades – if true, a position is reversed: sell is opened instead of buy and vice versa;
- Inp_CloseOnSignal – if true, positions are closed when an opposite signal appears;
- Inp_BalanceLots – calculation of traded lot based on balance. Equation: maximum lot/100*Inp_BalanceLots;
- Inp_StartLots – initial lot if Inp_BalanceLots = 0;
- Inp_PercenValues – if true, stop loss, take profit, breakeven and trailing are set in %, otherwise in points;
- Inp_Slippage – maximum slippage;
- Inp_CloseAllOrders – close a portfolio consisting of oppositely directed orders;
- Inp_DiffDirections – allow oppositely directed orders;
- Inp_Multicurrency – consider all open orders at all symbols in calculating a stop loss, take profit, breakeven or trailing;
- Inp_StopLoss – stop loss, 0 – not used;
- Inp_TakeProfit – take profit, 0 – not used;
- Inp_BreakevenStop – distance the price should pass for position breakeven, 0 – not used;
- Inp_BreakevenStep – profit in points to be protected by a breakeven;
- Inp_TrailingStop – distance the price should pass for position trailing, 0 – not used;
- Inp_TrailingStep – profit to be protected using trailing stop;
- Inp_MagicNum – magic number. If -1, it works with all orders;
- Inp_EaComment – trade comment;
- Inp_DiffLotsByLock – lock position volume difference on a symbol, 0 – not used;
- Inp_MaxOrdersSeries – maximum number of orders in the series;
- Inp_MaxLotsSeries – maximum aggregate lot in the order series;
- Inp_MaxOpenLots – maximum lot that can be used to enter a trade;
- Inp_SendOrderLevel – distance from the last open position to allow placing a level;
- Inp_PlusLot – previous lot's additive component for averaging, 0 – not used;
- Inp_PlusRatio – lot increase ratio for averaging, greater than 1. 0 – not used;
- Inp_LevelAveraging – averaging level placing step, 0 – not used;
- Inp_MinusLot – subtract from the previous lot for buying, 0 – not used;
- Inp_MinusRatio – lot decrease ratio, value less than 1. 0 – not used;
- Inp_LevelRebuy – adding level placement step, 0 – not used;
- Inp_PauseMinutes – pause in minutes between order Open level modifications, 0 – not used;
- Inp_Visualization – display the history of trades and the current position of levels on the chart;
- Inp_ModeWithdrawal – funds withdrawal mode. The Expert Advisor does not open new trades working in close-only mode