Expert Advisor- Resistance and Support/ Trend Follow

Job finished

Execution time 63 days

Specification

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. 


Responded

1
Developer 1
Rating
(278)
Projects
373
72%
Arbitration
19
32% / 47%
Overdue
14
4%
Free
Published: 14 codes
2
Developer 2
Rating
(4)
Projects
6
17%
Arbitration
2
0% / 100%
Overdue
3
50%
Free
3
Developer 3
Rating
(16)
Projects
19
11%
Arbitration
8
38% / 38%
Overdue
2
11%
Loaded
4
Developer 4
Rating
(45)
Projects
46
24%
Arbitration
34
9% / 85%
Overdue
10
22%
Free
5
Developer 5
Rating
(77)
Projects
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
6
Developer 6
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
7
Developer 7
Rating
(50)
Projects
64
20%
Arbitration
11
27% / 55%
Overdue
5
8%
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(308)
Projects
553
35%
Arbitration
79
32% / 42%
Overdue
200
36%
Loaded
12
Developer 12
Rating
(253)
Projects
259
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
13
Developer 13
Rating
(181)
Projects
234
20%
Arbitration
21
43% / 19%
Overdue
0
Working
14
Developer 14
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
15
Developer 15
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
16
Developer 16
Rating
(1)
Projects
0
0%
Arbitration
5
0% / 80%
Overdue
0
Free
17
Developer 17
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
Similar orders
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I am looking for a highly experienced Pine Script v5 developer to build a professional, non repaint price action indicator for TradingView. or a ready made one so i can purchase. This is a structured two phase project. The goal is to create a clean, intelligent price action tool that works for both fast intraday trading and swing trading. Only apply if you have strong Pine experience and understand liquidity
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for
I am looking someone to create an EA based on my MACD Histo indicator / strategy from Pinescript. I will send it to you for you to replicate. The EA shall have: - Divergence length in bars, min and max values. - Pivot Logic - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry, separate values for long and short. - Time, day and
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at
simple automated trading system with adaptive risk management and trend-based execution. The EA manages trades with dynamic position handling and built-in stability filters. Designed for single-position trading and disciplined execution 30 usd budget

Project information

Budget
35+ USD
Deadline
from 2 to 7 day(s)