Convert my trading strategy with custom indicators into an Expert Advisor

MQL5 전문가 전환

명시

I have a trading strategy using two custom indicators that I would like be converted into an EA.

There are technically two trading strategies that can be used or a combination of entry and exit conditions.

Each trading strategy has its own entry and exit conditions, and I would like the user to be able to select which entry and exit conditions they want to use (confluence open, confluence close, reversal open, reversal close)
______________________________________________________________________________________________________

Definitions:

Red bands on top are the 'Sell' "Reversal Zone", Green bands on bottom are the 'Buy' "Reversal Zone"
Reversal Zones are simply an ATR multiple of the middle TMA Band.
The 'Sell' "Reversal Zone" is between the 5x ATR multiple and the 2x ATR multiple of the TMA
The 'Buy' "Reversal Zone" is between the -5x ATR multiple and the -2x ATR multiple of the TMA
The Middle band is the TMA (Triangular Moving Average)

______________________________________________________________________________________________________

Trading Strategies:


First Trading Strategy with visual representation of confluence open and close.

Strategy Notes: The confluence strategy is best for swing trading on larger timeframes like H1 - D1 but can be used on timeframes down to M15




Confluence Long Entry Conditions:
1. Price enters "Reversal Zone"
2. AND Price is below middle TMA line
3. AND middle TMA line is trending 'UP' (lime-green)
4. AND Smoothed ATR Trend Envelopes changes from 'down' to 'up'
5. If all conditions are true, enter a long position on the following candle open

Confluence Long Exit Conditions:
1. Price enters "Reversal Zone"
2. AND Price is above middle TMA line
3. AND middle TMA line is trending 'DOWN' (magenta)
4. AND Smoothed ATR Trend Envelopes changes from 'up' to 'down'
5. If all conditions are true, exit long position on following candle open

Taking short positions with the confluence strategy follows the same logic, just reversed.

Confluence Short Entry Conditions:
1. Price enters "Reversal Zone"
2. AND Price is above middle TMA line
3. AND middle TMA line is trending 'DOWN' (magenta)
4. AND Smoothed ATR Trend Envelopes changes from 'up' to 'down'
5. If all conditions are true, enter a short position on the following candle open

Confluence Short Exit Conditions:
1. Price enters "Reversal Zone"
2. AND Price is below middle TMA line
3. AND middle TMA line is trending 'up' (lime-green)
4. AND Smoothed ATR Trend Envelopes changes from 'down' to 'up'
5. If all conditions are true, exit short position on following candle open



Second Trading Strategy with visual representation of reversal open and close:

Strategy Notes: With this particular strategy, every candle that closes inside the "Reversal Zone" is a buy or sell opportunity. I would like to have a "Maximum Orders Limit" input for the user to choose how many orders the EA can enter based on the entry conditions. Default will be 5.
Smoothed ATR Trend Envelopes are not used as part of this strategy.

Note: MACD can be used for reversal confirmation but is optional to the strategy and is usually lagging the reversal trade.



Reversal Short Entry Conditions:
1. If there are no open short positions
2. AND price closes in 'Sell' "Reversal Zone"
3. AND TMA is 'DOWN'
4. Enter a short position on the open of the next candle.

Reversal Short Exit Conditions:
1. When price closes in 'Buy' "Reversal Zone", close all open short positions on the open of the next candle.

Reversal Long Entry Conditions:
1. If there are no open long positions
2. AND price closes in 'Buy' "Reversal Zone"
3. AND TMA is 'UP'
4. Enter a long position on the open of the next candle.

Reversal Long Exit Conditions:
1. When price closes in 'Sell' "Reversal Zone", close all open long positions on the open of the next candle.
_______________________________________________________________________________________________

Additional Requirements:


I would like an information panel to be visible to the user similar to this one:

I would like these particular properties listed:

EA state: (running/not running) is the EA active and running
Algo Trading: (true/false) is algo trading turned on
Magic ID: (integer)
TMA Trend Direction: (Up/Down) determined by the middle TMA trend direction
SATRTE Trend Direction: (Up/Down) determined by the Smoothed ATR Trend Envelopes of Averages trend direction
Price in Reversal Zone: (true/false) is the price in a reversal zone?
Reversal Zone: (Buy, Sell, None) which reversal zone is the price in
Reversal Zone Band: (2, -2, 2.6, -2.6, 3, -3, 3.4, -3.4, 3.8, -3.8, 4.2, -4.2, 4.6, -4.6, 5, -5) Reversal band last touched by price
Sentiment: (Buy, Sell) this depends on the entry condition selected by the user. See entry conditions.




Inputs:

I would like the user to have all the neccessary inputs to properly backtest the strategy.

Magic ID: (int)
TMA Period: (int)
ATR Period: (int)
ATR Multiplier: (double) the current "reversal zone" bands are statically calculated but i would like them to be calculated based off this multiplier so as this multiplier value changes, so do the multiples of the "reversal zone" bands. If you have questions regarding this, please ask.
Trend Threshold: (double) see indicator code for more context
Entry Condition: (string) enum: [indicator confluence, reversal zone]
Exit Condition: (string) enum: [indicator confluence, reversal zone]
Maximum Orders Limit: (int) default 5
Show Indicators: (boolean) plot indicators to chart
Use trading windows: (boolean)
Trading time start: (datetime)
Trading time end: (datetime)
Lot Calculation Method: (string) enum: [min lot size .01, custom lot size, percentage of balance]
Custom Lot Size: (double) only relevant if "custom lot size" is selected from above
Percentage of Balance per trade: (double) i.e. "1.00" = 1%,  only relevant if "percentage of balance" is selected from above
Maximum Drawdown (%): (double) i.e. "30.0" = 30%
Maximum Daily Drawdown (%): (double)

Colors: (only relevant if user selects true on "Show Indicators")
TMA: (3 colors - TMA Up, TMA Down, TMA Neutral)
Sell Reversal Zone: (3 colors - Upper Band, Lower Band, Middle Bands)
Buy Reversal Zone: (3 colors - Upper Band, Lower Band, Middle Bands)
SATR Trend Envelopes: (2 colors - SATRTE up, SATRTE down)
SATR Trend Envelopes Start: (2 colors - SATRTE up start, SATRTE down start)


Any other inputs that you think might be helpful to the user, please let me know
______________________________________________________________________________________________________

The custom TMA indicator I use is adapted from a few sources but you can reference  to get a good understanding of way the strategy works.




응답함

1
개발자 1
등급
(56)
프로젝트
65
6%
중재
26
19% / 35%
기한 초과
4
6%
로드됨
2
개발자 2
등급
(17)
프로젝트
19
26%
중재
3
67% / 33%
기한 초과
2
11%
작업중
3
개발자 3
등급
(8)
프로젝트
11
36%
중재
4
25% / 25%
기한 초과
1
9%
작업중
4
개발자 4
등급
(3)
프로젝트
5
0%
중재
0
기한 초과
1
20%
작업중
5
개발자 5
등급
(34)
프로젝트
44
57%
중재
3
0% / 33%
기한 초과
2
5%
작업중
6
개발자 6
등급
(10)
프로젝트
25
28%
중재
2
0% / 0%
기한 초과
1
4%
로드됨
7
개발자 7
등급
(66)
프로젝트
71
63%
중재
4
75% / 0%
기한 초과
7
10%
작업중
8
개발자 8
등급
(42)
프로젝트
88
14%
중재
30
30% / 57%
기한 초과
36
41%
작업중
9
개발자 9
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
10
개발자 10
등급
프로젝트
0
0%
중재
0
기한 초과
0
작업중
11
개발자 11
등급
프로젝트
0
0%
중재
0
기한 초과
0
작업중
12
개발자 12
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
13
개발자 13
등급
프로젝트
1
0%
중재
1
100% / 0%
기한 초과
0
무료
14
개발자 14
등급
(378)
프로젝트
401
31%
중재
62
19% / 69%
기한 초과
51
13%
작업중
15
개발자 15
등급
(19)
프로젝트
22
27%
중재
0
기한 초과
2
9%
작업중
16
개발자 16
등급
(563)
프로젝트
932
47%
중재
302
59% / 25%
기한 초과
124
13%
바쁜
17
개발자 17
등급
(298)
프로젝트
444
64%
중재
5
40% / 0%
기한 초과
4
1%
무료
비슷한 주문
Need to convert Thinkorswim strategies, indicators, or custom scripts to NinjaTrader. Offering seamless migration and functionality optimization to ensure your trading systems perform effectively on NinjaTrader. Fast delivery and reliable service
I'm looking for a quote from a developer who can compile this source code as DLL file so that it works on Forex Tester 5 They are all open source trading view indicators. Forextester 5 have advised that custom indicators in C++ or Delphi programme language are compatible with them
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy
I am writing to inquire about the possibility of porting a simple project from MQL5 to Quantower using C#. The project in question includes a panel with a button that draws a rectangle on the chart. This rectangle can be freely dragged around the chart area. Additionally, the panel contains two editable fields, X and Y, which display the position of the rectangle. As the rectangle is dragged across the chart, the X
I need a TradingView script (not mine) converted to an Mt5 EA. There is some specifications for the robots on when to be able to take a trade. Attached bellow is the file of the script I want translated and converted to MT5 then EA
hi. I hv a strategy on tradingview need to convert to mt4/mt5 expert advisor for algo trading. would like to add some tradingview strategy setting to the mt4/mt5 EA(not included in my tradingview source code): recalculate after order is filled, order size: xx% of equity
Hi There" I have a simply Tradingview strat in Pinescript, that I'd need you to convert into a mt5 ea. Below is the details of my Pine Script strategy It uses CCI with a length of 60, Bollinger Bands with a length of 60, the source is hlc3 and a macd indicator which gets its data from the 1m timeframe //@version=5 strategy("CCI, Bollinger Bands, MACD Trading Bot", overlay=true) length = input(60, title="Bollinger
Hi, I have a Compiled JForex strategy (.jfx file) I would like someone to convert it in to readable source code. Please let me know if you can do this task. Thank you
I need smart, professional, and fast programmer for doing this project quickly, that have experience in EA with minimum 20 projects finish, and have good review and reputation from their client Share your link review, if you not qualified, dont apply
Hi everyone I have a question, is there anyone who can rewrite the code from tradinvivew pineditor to mql5 meta trader? It is about 150 line. My strategy has 50% success rate with RR 2,6. Tested for last one year, strategy works only in bull market. This is trading on gold, unfortunately I am not in the best financial position, in return I would send you the code, if you don't like it I understand that you will stop

프로젝트 정보

예산
30 - 200 USD
기한
에서 1  10 일

고객

넣은 주문2
중재 수0