Expert Advisor- Resistance and Support/ Trend Follow

Trabajo finalizado

Plazo de ejecución 63 días

Tarea técnica

I need a very simple EA which: 

Works on the latest levels of top/ bottoms. Support and resistance are the latest bottom and tops on the chart and they keep changing upon the formation of new top/ bottoms. Whenever a new top/ bottom forms, these resistance/ support levels change accordingly. Support and resistance horizontal lines should be drawn by the EA in the red colour. EA should draw the horizontal lines on the latest resistance and support levels considering the high and low of the respective candles and remove the previous ones. These levels are used as reference points for entry/ exit of the trades. 

There should be three options for Trade type named as ‘Price touch’ & ‘Candle close’ & ‘Both functions’. Of course, that way EA is asking as to whether trigger the trade as if the price crosses x number of pips above/ below the latest Res/ Sup level by touching (x to be determined by the trader) or wait for the candle close to avoid whipsaws. In case, ‘both functions’ is selected by the trader, the EA should work in both ways, that means placing two trades, each separately for ‘Price touch’ and ‘Candle close’ with its own stop loss and take profit behaviours determined below.

Buy: 

1- Buy when the price candle touches x number of pips above the latest Resistance (If Price touch selected) or closes above it on the current timeframe (If candle close selected) or do both (If ‘both functions’ selected)

Or

2- Buy when an already selling trade has been triggered due to price cutting a recent support below but moves back up from the support before a new top is formed. This ensures that bearish trap is avoided. This should close the sell trade and trigger a buy trade. Please note that this type of trade will only be triggered at the candle close even if the trader has selected ‘Price touch’ option here.

Or

3- Buy when price moved below the recent support but fails to close below it. This will obviously also be triggered at the close of candle only.

Buy close: 

1- Close buy when the price crosses x number of pips below the latest support (If Price touch) or closes below it (If Candle close selected). If trader has selected ‘Both functions’ then each of two trade should be closed accordingly according to its trade type (Price touch/ Candle close). For ease of identification, EA can put remarks in front of each trade as ‘Price touch’ or ‘Candle close’ accordingly.

2- Close buy if price crosses x number of pips above the recent top but fails to close above it. Even if price touch option has triggered a buy trade, it should be closed if it fails to close above it. 

Stop loss: 

The field ‘Stop loss’ should be of two types:

      ii-          Fixed

      ii-          Top bottom

The fixed stop loss is just fixed number of pips away from the opening price of the trade as mentioned by the trader.

Top bottom’ stop loss is the stop loss ‘x’ number of pips above or below the latest top/ bottom. The number of pips ‘x’ will be mentioned by the trader. For example, If the trader inputs ‘5’ for a buy stop, the stop loss of this trade will be 5 pips below the last bottom. S/L type ‘Fixed’ and stop loss distance=0 would mean no stop loss for the trades.

Take Profit:

The ‘Take profit’ should be of three types

      ii-          Fixed

      ii-          Top bottom

      ii-          Trailing

The fixed take profit is just fixed number of pips away from the opening price of the trade as mentioned by the trader.

‘Top bottom’ take profit is ‘x’ number of pips above or below the latest top/ bottom. The number of pips ‘x’ will be mentioned by the trader. For example, If the trader inputs ‘5’ for a buy stop, the take profit of this trade will be 5 pips above the last top. If the trader inputs ‘-5’ for a buy stop, the take profit of this trade will be 5 pips below the last top. Hence, the take profit of buy orders will be x pips above/ below the latest top and the take profit of sell orders will be x pips below/ above the latest bottom. Please note that unlike stop loss, top bottom take profit can have a negative value as it will imply the price hit x pips before the latest top/ bottom.

     iii-          ‘Trailing’ take profit is simply trailing and should work like a common trailing take profit with number of pips inputted by the trader in EA settings.

Sell: 

1- When the price candle touches x number of pips below the latest Support (If Price touch selected) or closes below it(If candle close selected) or do both (if ‘both functions’ selected)

Or

2- Sell when an already buying trade has been triggered due to price cutting a recent resistance above but moves back below the resistance before a new top is formed. This ensures that bullish trap is avoided.

Or

3- Sell when price moved above the recent resistance but fails to close above it. 

Sell close: 

1- Close sell when the price crosses x number of pips above the latest resistance (If Price touch) or closes above it (If Candle close selected)

2- Close sell if price crosses x number of pips below the recent bottom but fails to close below it. Even if price touch option has triggered a sell trade, it should be closed if it fails to close below it. 

Lot size calculation: 

There should be two field named as: 

1- Capital risk amount/ trade 

2- Capital percentage/ trade 

These values allow the trader to determine value of capital to be risked per trade.

Only one field could be considered correct and should be inputted by the trader, the other value should be selected as N/A by the trader.

Lot Size:

10- There should be a field named as ‘Lot Type’ with the option to choose as ‘fixed’ and ‘Variable’. If the traders selects ‘Fixed’, the next field named as ‘Fixed Lot Size’ should take input of standard lot size from the trader and place each trade of that lot size. In case the Lot type is selected as ‘Variable’, then EA should refer to the fields named as ‘Capital risk amount per trade’ or Capital risk percentage per trade’ the EA where the trader will write an amount or percentage of capital to be risked in a single trade and hence the EA should calculate the lot size accordingly. For example, opening price of a long trade in US30Cash is 33930 after the formation of bottom at 33900. This is difference of 33930 – 33900 = 30 pips. Suppose, the trader has written an amount of 100$ in the ‘Capital risk amount per trade’ field. Hence the lot size should be calculated as 100/30 = 3.33$/ pip. If the trader selects ‘N/A’ in this field, the EA should look on the next field ‘Capital risk Percentage per trade’ which is being explained here now.

11- Another field named as ‘Capital risk Percentage per trade’, as depicted from the name is simply the percentage of the capital which should be risked per trade. For example, If the trader writes 1 here and my current capital is 10,000$, the maximum loss should automatically be considered 1% x 10,000 = 100$ and the lot size should be calculated accordingly. The max value of this field should be 10. If the trader selects ‘N/A’ then the above field ‘Capital risk amount per trade’ should be considered in this case.

14- The last two fields named as ‘Profit stopper’ and ‘Loss stopper’ are used to protect the profits/ avoids the losses of running trades and work simple. I.e; if the trader mentions 200 in the ‘Profit Stopper’ the EA should close all running trades (instead of whether they are in profit or loss) when the total of running profit reaches 200 dollars (or the account currency). Similarly, if the trader inputs -200 in ‘Loss Stopper’, EA should close all running trades if the total loss of all running trades becomes -200 or lower. When these fields are zero, it shouldn’t work. 


Han respondido

1
Desarrollador 1
Evaluación
(279)
Proyectos
377
72%
Arbitraje
19
32% / 47%
Caducado
15
4%
Libre
Ha publicado: 15 ejemplos
2
Desarrollador 2
Evaluación
(4)
Proyectos
6
17%
Arbitraje
2
0% / 100%
Caducado
3
50%
Libre
3
Desarrollador 3
Evaluación
(17)
Proyectos
21
14%
Arbitraje
8
38% / 38%
Caducado
3
14%
Trabajando
4
Desarrollador 4
Evaluación
(45)
Proyectos
46
24%
Arbitraje
34
9% / 85%
Caducado
10
22%
Libre
5
Desarrollador 5
Evaluación
(77)
Proyectos
244
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
6
Desarrollador 6
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(50)
Proyectos
64
20%
Arbitraje
11
27% / 55%
Caducado
5
8%
Libre
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(317)
Proyectos
564
35%
Arbitraje
81
31% / 44%
Caducado
204
36%
Libre
12
Desarrollador 12
Evaluación
(258)
Proyectos
265
29%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
13
Desarrollador 13
Evaluación
(200)
Proyectos
257
21%
Arbitraje
22
50% / 18%
Caducado
0
Trabajando
14
Desarrollador 14
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
15
Desarrollador 15
Evaluación
(4)
Proyectos
3
33%
Arbitraje
2
0% / 100%
Caducado
0
Libre
16
Desarrollador 16
Evaluación
(1)
Proyectos
0
0%
Arbitraje
5
0% / 80%
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(10)
Proyectos
14
43%
Arbitraje
0
Caducado
3
21%
Libre
Solicitudes similares
I own the premium Forex/trading domain SignalsForex.com and I am looking for a person who can help find a serious buyer. The domain is suitable for: Forex signals services Trading education projects Broker affiliate websites Forex lead generation Trading communities Telegram/Discord signal brands Financial marketing projects Target sale price: $7,500+ Commission: 10% of the final sale price after the deal is
I need a simple bot for opening range. Simple Entry / Exit rules, to be able to customize the timeframe, time zone (entry candle) and other normal settings like size, etc
Nyctrad1 30+ USD
Free link free land free land free land free land free free land free land free things free land free land free land free land free land free land free land free Finch I will do it
Platform: MT5 (MQL5) OVERVIEW: I need a custom MT5 indicator that generates only high-probability A+ buy and sell signals. The indicator should combine market structure, support/resistance, liquidity sweeps, candlestick confirmations, session filtering, and Fibonacci retracement logic. FEATURES REQUIRED: SUPPORT & RESISTANCE Automatically detect and draw support and resistance levels. Levels should update
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
i want a developer to build me a robot according to mt style i want an engine which is going to trade gold with small accounts, i want it to be perfect or any developer who has that existing robot we can negoiate the price
Hi, I am looking for an experienced MQL5 developer to modify an existing, fully functional MetaTrader 5 Expert Advisor (Source code .mq5 Version 2.62 will be provided). Brief Overview of the EA: It executes trades based on 4 custom Supply/Demand levels (R1, R2, S1, S2) which are inputted manually . It uses two custom indicators for confirmation: SPA (Price Action filter) and AMG (Volume/Momentum filter). The code
Description: I am looking for an experienced MQL5 developer to build a fully automated Expert Advisor (EA) for MT5 tailored for Prop Firm challenges and funded accounts. I need a robust, plug-and-play solution with rigorous risk controls. Key Requirements: Platform: MT5 Trading Logic: I am looking for a reliable strategy based either on a Breakout Strategy (e.g., London session breakout) or a Mean Reversion Strategy
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
//+------------------------------------------------------------------+ //| Simple XAUUSD EA | //+------------------------------------------------------------------+ input double LotSize = 0.01; input int StopLoss = 500; // in points input int TakeProfit = 1000; // in points input int MAPeriod = 20; int maHandle; int OnInit() { maHandle = iMA(_Symbol, PERIOD_H1, MAPeriod, 0, MODE_SMA

Información sobre el proyecto

Presupuesto
35+ USD
Plazo límite de ejecución
de 2 a 7 día(s)