Trabajo finalizado
Tarea técnica
Please see indicator to base the Expert on attached.
Entry:
1. Enter a market buy order if the next candle breaks above the trigger candle
2. Enter a market sell order if the next candle breaks below trigger candle
Only one entry for each trigger candle (i.e. if a buy is triggered, do not enter sell / if sell is triggered, do not enter buy)
3. Stop loss is the lowest price (for buys) or highest price (for sells) of the trigger candle
4. TP is a multiplier of the SL size (e.g. if '1' then the TP is same size as the SL, if 0.5 TP is half size of SL)
-Important: if there is an entry or SL buffer (see below) please add these to the TP size
5. Multiple trades can run at the same time
Include options for:
1. Lot size per trade by two options:
a) Lot size (allow 2 decimal places)
b) Risk % (Risk % of equity based on the initial SL size (i.e. size of trigger candle) Allowing for 1 decimal place (X.X%)
2. SL buffer (extra room to add SL)
a) in points (default 0)
b) as a percentage size of the trigger candle (default 0)
3. Entry buffer (extra room to add entry before buy or sell trade)
a) in points (default 0)
b) as a percentage size of the trigger candle (default 0)
4. Move SL to break-even option
a) After 'x' pips
b) After 'X' ratio of SL size (e.g. 0.5 means after position moves by half trigger candle length- move SL to BE)
5. Trailing stop (activated as soon as trade is entered)
a) Turn TP on/off
b) Trail by 'x' pips step
c) Trail by 'X' ratio of SL size
6. Max spread settings (default 50 points) - only allow entry to be taken if spread is lower than this
7. Time period (00:00 to 00:00) for no trading