EA using 2 Super Trends

Specification

1.  General idea - I'd like an EA that is capable of using values of two Super Trends to open trades (super trend equation is High+Low/2) + or - (Multiplier * ATR)) .  You can call one Super Trend long, and the Super Trend short, long being the Super Trend that is farther from the current price, and the short one being closer to the current price.  The buy or sell order would be placed once both super trends are on the same side on the current candle.

2.  Trade trigger - The previous bar close must be > both the long and the short Super Trend for a buy.  For a sell, the previous close must be < both the long and short. No more than 1 order placed per bar.

3.  Inputs - I will need inputs for the ATR periods (2) and multipliers (2), number of maximum open orders, take profit in points, order size in lots, and magic number for multiple pairs.  

4.  Trade management - Open orders at market only, no stop or limit orders.  Stop loss/trailing stop tied to "Long" (farther away) super trend and trail as it increase/decreases.  No time limit on closing trade, GTC.

5.  Other comments - I already have an indicator that I can put on my chart, so the hatching is not necessary, I just need something that will place the trade and minor money management.  If it helps, I can send you the mq5 code for what I currently have for an indicator, this should cover the basic coding for the swapping from buy/sell, ATR, and main equation for the current bar.  You'd have to copy it of course and change the variable names I'm guessing for the long and short super trends.         


Example

Responded

1
Developer 1
Rating
(5)
Projects
9
11%
Arbitration
5
40% / 60%
Overdue
1
11%
Free
2
Developer 2
Rating
(71)
Projects
103
20%
Arbitration
6
0% / 83%
Overdue
3
3%
Free
3
Developer 3
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
4
Developer 4
Rating
(2641)
Projects
3356
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Working
Published: 1 code
5
Developer 5
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
6
Developer 6
Rating
(467)
Projects
486
75%
Arbitration
6
67% / 17%
Overdue
0
Working
7
Developer 7
Rating
(162)
Projects
218
30%
Arbitration
4
50% / 25%
Overdue
5
2%
Free
Published: 1 code
8
Developer 8
Rating
(2306)
Projects
2903
63%
Arbitration
122
44% / 25%
Overdue
429
15%
Loaded
9
Developer 9
Rating
(511)
Projects
549
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
10
Developer 10
Rating
(252)
Projects
258
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
11
Developer 11
Rating
(116)
Projects
137
36%
Arbitration
16
13% / 69%
Overdue
9
7%
Free
12
Developer 12
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
13
Developer 13
Rating
(270)
Projects
552
49%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
14
Developer 14
Rating
(100)
Projects
125
23%
Arbitration
12
0% / 75%
Overdue
22
18%
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
16
Developer 16
Rating
(79)
Projects
136
51%
Arbitration
5
80% / 0%
Overdue
6
4%
Free
17
Developer 17
Rating
(187)
Projects
262
69%
Arbitration
12
33% / 67%
Overdue
16
6%
Free
Published: 993 codes
18
Developer 18
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
19
Developer 19
Rating
(87)
Projects
114
26%
Arbitration
7
29% / 57%
Overdue
5
4%
Free
20
Developer 20
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
21
Developer 21
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
I have a working MT5 Expert Advisor. I am NOT looking to change the strategy logic. I only need professional optimization and performance improvement. Requirements: • Parameter optimization • Risk adjustment • Max drawdown reduction • Forward testing report • Optimization for Gold (XAUUSD) Please provide previous optimization reports
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
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
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
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
Subject: Development of Ultra-High Precision Confluence Indicator - M1 Binary Options (Non-Repaint) ​ Hello, I am looking for a Senior MQL5 Developer to create a custom "Surgical Precision" indicator for MetaTrader 5, specifically optimized for 1-minute (M1) Binary Options trading. The system must integrate three distinct layers of algorithmic analysis. ​ 1. Core Logic: Triple-Layer Confluence ​The signal (Call/Put)
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
Freeallfree 400 - 800 USD
Professional MT5 EA – XAUUSD I need a professional Expert Advisor for MT5 (MQL5) to trade XAUUSD only. This is not a random scalping bot. The EA must trade only high-probability liquidity breakouts during active sessions and avoid ranging or low-volatility markets. Symbol: XAUUSD Timeframe: M15 (optional H1 confirmation) Session filter (Dubai GMT+4): Trade only London and New York sessions Adjustable session times No
An Expert KBFX 30+ USD
Fill orders first execution and real time trading, my strategy is that wait for clean confirmation before entering the market and fill orders for a snappier entrance,then execute trade after making profit on the position

Project information

Budget
100 - 200 USD
Deadline
from 1 to 4 day(s)