EA using 2 Super Trends

指定

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

反馈

1
开发者 1
等级
(5)
项目
9
11%
仲裁
5
40% / 60%
逾期
1
11%
空闲
2
开发者 2
等级
(71)
项目
103
20%
仲裁
6
0% / 83%
逾期
3
3%
空闲
3
开发者 3
等级
(43)
项目
66
12%
仲裁
12
58% / 42%
逾期
1
2%
空闲
4
开发者 4
等级
(2641)
项目
3356
67%
仲裁
77
48% / 14%
逾期
342
10%
工作中
发布者: 1 代码
5
开发者 5
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
6
开发者 6
等级
(467)
项目
486
75%
仲裁
6
67% / 17%
逾期
0
工作中
7
开发者 7
等级
(162)
项目
218
30%
仲裁
4
50% / 25%
逾期
5
2%
空闲
发布者: 1 代码
8
开发者 8
等级
(2306)
项目
2903
63%
仲裁
122
44% / 25%
逾期
429
15%
已载入
9
开发者 9
等级
(511)
项目
549
53%
仲裁
13
69% / 15%
逾期
3
1%
空闲
10
开发者 10
等级
(252)
项目
258
30%
仲裁
0
逾期
3
1%
空闲
发布者: 2 代码
11
开发者 11
等级
(116)
项目
137
36%
仲裁
16
13% / 69%
逾期
9
7%
空闲
12
开发者 12
等级
(772)
项目
1039
44%
仲裁
50
8% / 50%
逾期
116
11%
空闲
13
开发者 13
等级
(270)
项目
552
49%
仲裁
57
40% / 37%
逾期
227
41%
工作中
14
开发者 14
等级
(100)
项目
125
23%
仲裁
12
0% / 75%
逾期
22
18%
空闲
15
开发者 15
等级
项目
0
0%
仲裁
1
0% / 100%
逾期
0
空闲
16
开发者 16
等级
(79)
项目
136
51%
仲裁
5
80% / 0%
逾期
6
4%
空闲
17
开发者 17
等级
(187)
项目
262
69%
仲裁
12
33% / 67%
逾期
16
6%
空闲
发布者: 993 代码
18
开发者 18
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
19
开发者 19
等级
(87)
项目
114
26%
仲裁
7
29% / 57%
逾期
5
4%
空闲
20
开发者 20
等级
(45)
项目
91
13%
仲裁
34
26% / 59%
逾期
37
41%
空闲
21
开发者 21
等级
(69)
项目
146
34%
仲裁
13
8% / 62%
逾期
26
18%
空闲
发布者: 6 代码
相似订单
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

项目信息

预算
100 - 200 USD
截止日期
 1  4 天