Creation of a trailing stop function that trails different trades with different types of stops

Trabajo finalizado

Plazo de ejecución 11 días

Tarea técnica


Hello there,

I have I am using an indicator to set the initial stop loss value. This varies depending on the value of the indicator.


as below the upArrow and upArrow represent values of the market used to set up the stop loss. Every time there is a signal the difference  MathAbs(OrderStopLoss()-OrderOpenPrice()) will be different for each function.


I need the trailing function to update the Stop loss as soon as the market goes 1 point in favour. So for instance if I am trading the german dax30 and the open price is 10000 and the market goes up by 1, hence 10001, and the stop loss was (uparrow = 9970, ie, 30 pts), then the new stop loss is 997. In other words the function will keep the orginal distance of 30 pts.

I want to be clear that this will vary on the values fed to the EA by the indicator, therefore it is paramount to understand that the trail stop will change at every single signal trigger, whilst the step will always be the least possible increase that can be changed on a particular market,that is Point().


This should be possible in non stealth mode (by sending the SL to the server) but also locally in stealth mode.


Any clarification please send message privately.

 

  double upArrow =  iCustom(NULL, PERIOD_CURRENT, "Indicator", "",Range, Filter,Bar_History,"",false,false,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato,"",true,false, Blue,Red,false,4,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato, 20, "","SIGNAL ALERT", false,false,false,false, 0, 1);

                

                        

                

    double upArrow =  iCustom(NULL, PERIOD_CURRENT, "Indicator", "",Range, Filter,Bar_History,"",false,false,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato,"",true,false, Blue,Red,false,4,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato, 20, "","SIGNAL ALERT", false,false,false,false, 1, 1);

                

                           

    double lossArrow =  iCustom(NULL, PERIOD_CURRENT, "Indicator
", "",Range, Filter,Bar_History,"",false,false,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato,"",true,false, Blue,Red,false,4,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato, 20, "","SIGNAL ALERT", false,false,false,false, 2, 1);




v

Han respondido

1
Desarrollador 1
Evaluación
(137)
Proyectos
167
35%
Arbitraje
11
91% / 0%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(236)
Proyectos
440
26%
Arbitraje
125
21% / 57%
Caducado
96
22%
Trabaja
3
Desarrollador 3
Evaluación
(38)
Proyectos
61
30%
Arbitraje
5
20% / 40%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(253)
Proyectos
407
38%
Arbitraje
85
42% / 19%
Caducado
70
17%
Trabajando
5
Desarrollador 5
Evaluación
(87)
Proyectos
114
26%
Arbitraje
7
29% / 57%
Caducado
5
4%
Libre
Solicitudes similares
The basic indicator and the only indicator to be used is PRICE PERCENT RANGE and the indicator files are attached. A picture to visualize what is required is also attached. Job: Indicator : 1. Add Buy alert and Buy arrow function,if the price%R value touches or goes below value 9.5 or the user specified,after candle close. 2. Add Sell alert and Sell arrow function,if the price%R value touches or goes below value 90.5

Información sobre el proyecto

Presupuesto
30 - 40 USD
Para el ejecutor
27 - 36 USD
Plazo límite de ejecución
de 1 a 10 día(s)