작업 종료됨
명시
Create an mql4 EA with the indicator and conditions stated below:
Strategy:
WHEN A BUY ARROW APPEARS BUY TRADE IS OPENED
WHEN A SELL ARROW APPEARS SELL TRADE IS OPENED.
EA WILL HAVE TAKE PROFIT IN POINTS
THE STOPLOSS OF A BUY TRADE SHOULD BE X PIPS FROM THE LOW OF THE SIGNAL CANDLE. IF X = 0, THE STOPLOSS SHOULD BE AT THE LOW OF THE SIGNAL CANDLE.
THE STOPLOSS OF A SELL TRADE SHOULD BE AT X PIPS FROM THE HIGH OF THE SIGNAL CANDLE. IF X=0, THE STOPLOSS SHOULD BE AT THE HIGH OF THE SIGNAL CANDLE.
EA WILL HAVE OPTION TO ADJUST INDICATOR VARIABLES
EA WILL HAVE A MARTINGALE MULTIPLIER
EA SHOULD HAVE TRADING TIME, DAYS OF THE WEEK TO TRADE, CLOSE ON OPPOSITE ORDER, MAX LOT SIZE.
EA should have trailing stop and breakeven features, close on opposite order, , option to adjust indicator variables, max lot size, max spread, max drawdown to close all trades, number of retries if an order is not filled.
Input variables:
MAIN SETTINGS
Size_of_the_first_order - Volume for opening the first order
Enable_Autolot_calculation - Use automatic lot calculation.
Autolot_deposit_per_0.01_lots - Deposit volume for every 0.01 when using auto lot
PROTECTION SETTINGS
Maximum_slippage_in_points - The maximum allowable slippage in points for opening and closing orders
Maximum_spread_in_points - The maximum allowable spread for opening orders
Maximum_size_of_orders - The maximum volume for one order.
ADVISOR SETTINGS
Orders_Magic_number - MagicNumber of orders advisor
Comments_of_the_EA's_orders - Comments for the EA's orders