Simple script of stop loss trail depending on MA

MQL4 Sripts

Trabajo finalizado

Plazo de ejecución 1 día

Tarea técnica

Hi, I need a stop loss trail script.

When I do a buy order, if both of open price and close price of the first candle under MA, for example, MA100, then close the order; When I do a sell order, if both of open price and close price of the first candle above MA100, then close the order.



Ps: the property of MA can be input and changeable, it can be 100 or any other number.






Archivos adjuntos:

PNG
exaple_2.png
14.6 Kb

Han respondido

1
Desarrollador 1
Evaluación
(878)
Proyectos
1391
67%
Arbitraje
117
32% / 42%
Caducado
215
15%
Trabaja
2
Desarrollador 2
Evaluación
(586)
Proyectos
918
46%
Arbitraje
31
39% / 29%
Caducado
93
10%
Trabaja
3
Desarrollador 3
Evaluación
(2077)
Proyectos
2636
61%
Arbitraje
113
45% / 26%
Caducado
418
16%
Trabaja
4
Desarrollador 4
Evaluación
(439)
Proyectos
545
25%
Arbitraje
21
38% / 38%
Caducado
83
15%
Libre
5
Desarrollador 5
Evaluación
(548)
Proyectos
1330
59%
Arbitraje
28
82% / 0%
Caducado
10
1%
Libre
6
Desarrollador 6
Evaluación
(2422)
Proyectos
3042
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Trabaja
7
Desarrollador 7
Evaluación
(257)
Proyectos
341
58%
Arbitraje
7
14% / 71%
Caducado
9
3%
Libre
8
Desarrollador 8
Evaluación
(7)
Proyectos
25
44%
Arbitraje
4
25% / 50%
Caducado
18
72%
Libre
9
Desarrollador 9
Evaluación
(339)
Proyectos
809
73%
Arbitraje
30
33% / 37%
Caducado
194
24%
Libre
10
Desarrollador 10
Evaluación
(10)
Proyectos
17
53%
Arbitraje
11
27% / 55%
Caducado
4
24%
Libre
Solicitudes similares
Dear Freelancers, I'm seeking a skilled MT4/MT5 developer to collaborate on a valuable trading indicator. Project Description: I'm looking to develop a powerful Elliott Wave indicator compatible with the MT4 and MT5 trading platforms. This indicator will be based on the highly successful [LuxAlgo] indicator currently available on TradingView. Key Features: In-indicator Alerts: The ability to receive pop-up
Profit EA 50+ USD
//+------------------------------------------------------------------+ //| SimpleEA.mq4 | //| Generated by MetaEditor | //| https://www.mql5.com/en/docs&nbsp ; | //+------------------------------------------------------------------+ #property strict // Input parameters input double LotSize = 0.1; // Lot size input int MovingAveragePeriod = 50; // MA
1. **Timeframe and Liquidity:** Focus on the 5-minute timeframe for liquidity analysis.(timeframe for liquidity should be editble) 2. **Candlestick MSS:** Monitor 1-minute candlestick patterns for entry signals.(should be editble) 3. **Swing Points:** Identify swing points using the high and low of the last three candles.(ict swimg high and low) 4. **Sell Setup:** - Wait for a 5-minute candle to take out the swing
i am looking for experienced programmer to create indicator for me. i am willing to pay for the service. and if it works amazingly like i expected. i will tip more money
High Low intraday ticker to display the most recent high low of up to 40 stock symbols. As a stock makes an intraday high low it will populate at the top and so on. Regardless of chart that's display it will continue to track high lows of the 40 stocks inputed. The 40 stocks can by manually changed. A high will display as green with the time (hour:minute:second), symbol, and last price. A low will be displayed as red
Modify an existing Python bot to trade bollinger bands, with iqoption api Currently the bot strategy is wrong, I am limited in my knowledge here and hope to fix this Hope to work with more experience people out there in relation to iqoption api and python
I need an EA to automate Tradingview alerts on MT4 using webhook alerts. The bridge/connector should be python based GUI. Required features at a minimum Mapping Tradingview alert formats to MT4 Automating market, limit and stop orders with entry price, stop loss, multiple TPs and trailing stop Lot sizing - fixed/% of balance/fixed amount breakeven, partial close and trailing stop Mapping pair name prefixes/suffixes
hi guys, I have a script, that I have been struggling to work. most of the work is done, just final touch of an expert is needed. The script Is using Fibonacci and Pivot standard in its base. look forward to hear from an expert! Best regards Sina
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service. I have read the Rules of using the Freelance service and accept them. I agree

Información sobre el proyecto

Presupuesto
20 - 30 USD
Para el ejecutor
18 - 27 USD
Plazo límite de ejecución
de 1 a 3 día(s)