Modification to Sure Fire Hedge Strategy EA _ No Strategy Changes Needed

Lavoro terminato

Tempo di esecuzione 5 giorni
Feedback del cliente
I see why Oleksandr is the Top Developer. I have worked with at least 15 programmers through the years, and he is honestly the best. Very fast communication and very fast work.

Specifiche

The requirements below are related to money management and adding a hedging feature (plus one error to fix that could affect future MM rules).

Though the requirements have many words, the concepts are very simple. I tend to type a lot of explanation just to limit miscommunication.  

Addition information of EA itself will be provided to potential developers. 





Money Management Update:

Note: Please keep in mind that this EA will be placed on multiple pairs in the same terminals. Therefore, multiple cycles will be drawing from the same balances. The EA only needs to calculate the balance of its pair prior to trading.

 

Error with Equity Priority

Though the last programmer could not find this error (or acknowledge that it existed), there is a priority glitch when attempting to exit trades based on equity. The glitch might need to be fixed because it could conflict with other money management rules below.

Overview –The ATR SL and TP functions of my EA were to override all other SL and TP function. The last programmer was supposed to remove any priority. Therefore, whichever option is hit first will exit the trade.  However, the error is that Take Profit $ seems to be taking priority over Take Profit in %. Also, the SL version of this error is also true where “Stop Loss in $” is taking priority over “Stop Loss in %”.All other combinations seem to work correctly.

Example of Error Outcome: Balance = $1,000

-          Exit with no TP (no exit rules… backtesting start and stop date range only) = 98.83

-          (individual) Take Profit $ 60 = 56.38

-          (individual) Take Profit % 2 = 19.30

-          Take Profit in $ set at 60 + Take Profit in % set a 2 = 56.38 

o   The above should = 19.30 because that was the profit first. When you then remove the number from “Take Profit $”, then the EA will exit at 19.30. This tells me that when something I placed in “$”, then the EA is ignoring “%”.

I can provide a set file for easy testing if you need it.

 

Trailing TP in $ and %

This option will work just like the current trailing stoploss option.  

(Behavior) With the current trailing option, there is no “Step”. When trade is at “profit before Trailing SL in Pips”, A Trailing Stop loss will be entered at “Entry Trailing SL in Pips”. As the Market moves up, the trailing stop moves up. Whatever the distance between “Profit Before” and “Entry” is, the EA will look to maintain that distance as a continuous “Step”.

What will be needed is a $ and % version of that Idea.

They can both be placed under “Entry Trailing SL in Pips” and called

“Profit before Trailing SL in $”

“Entry Trailing SL in Pips in $”

“Profit before Trailing SL in %”

“Entry Trailing SL in Pips in %”

The will no “priority” between profit parameters. Whichever is triggered 1st, will have priority.

 

“Last Cycle” Button

This can be placed on the chart. When this button is pressed, it will signal the EA “do not start new cycle”. The “only” option that will start another cycle will be to press the “Start Cycle” button, or simply if removed and readded (with no current cycle in motion) Note: Removing and re-Adding the EA will not start a new cycle if trades are currently opened. The EA is currently programmed to “resume” cycle if the terminal is closed or EA is removed and readded, and this may pose a conflict. The files that hold this info is in the directory of  MQL4\Files.  They are named (SYMBOL_MAGICNUMBER.bin).

 

Calculations of risk amount:

Currently, “Lot per 1000$ Balance” trades a certain amount of risk per $10,000. I would like to make this more specified as I have issue with adjusting upword on an even scale.

Change Text of “Lot Per 1000$ balance” to “Balance Amount” – This is the balance the parameters below will use.

Add Parameter below the above named “Starting Lot of Balance” – This is lot size of balance

Add Parameter below this named “% of Balance” – This is percentage of Balance Amount

                Note: Scale will increase amount like Example: If 0.01 at $5000, then .02 at $5001.

 

Hedging Options:

Place “Hedge Options” category under Stop Loss Category

General Default Behavior  

The general behavior of the hedge order will be triggered based on 2 combinations of option being true.

1st Parameter will be “Use Hedge Settings” = True/False. No head setting will work unless option is True.

2nd – Triggered when EA hits its “Swing Limit” parameter.

When the above are true, the EA will always hedge the trade with the “last” highest amount traded. Example, if the last trade made is .32 (at swing limit) then every hedge trade after his will be .32

Hedge orders can be placed multiples times in an endless loop each time the EA crosses the entry of the swing order location. No EA exit rules mean it is possible for Example. .01, .02, .04, .08, .16, .16, .16, .16…..

Add: On Each hedge order, in the comment field it should display the last “Order Number” of the trade in the cycle before the hedging started. The format should be “Hedge ########” Note: Even if there are multiple hedge orders, they will “all” reference the order number of the last swing trade.

Add: Alerts will sound each time a hedge has been entered. Does not matter if hedge is closed and then opened again, the alert should sound each time.

 

Alternative Hedging Options

Hedge Stop Loss in Pips – Hedge will close when this amount is triggered in loss. Note: When a stop loss is triggered, another Hedge can reopen at entry point going the same direction of the previously closed order if triggered.

Hedge Break Even (True/False) – Hedge will exit once it breaks even on the trade + commission + swap. It is to “attempt” to exit the trade at the cost of entry. Note: When breakeven is triggered, another Hedge can reopen at entry point going the same direction of the previously closed order if triggered.

 

Minimum Active Hedge time in Minutes   Note: This only applies to override (“Hedge Stop Loss in Pips” and “Hedge Break Even”). The hedge trade can still be closed manually or by ending the trade cycle”.

·         The hedge order must stay open this number of minutes before being forced to close. This takes priority over “Break Even” and “Stop Loss”. If hedge is past the exit point after minutes have expired, then hedge will Exit trade after “Time in Minutes” has expired.  For Example, if set at 5, then hedge cannot be closed by the above options until 5 minutes has passed. This is the filter to prevent hedge orders being entered and exited when there is fast movement in the market.

 

Important Notes:

1.       Hedge Trades are to be “included” with all equity calculations for Overall Cycle SL and TP. Example, if Take Profit in $ = 20, then EA will close entire cycle when Equity = $20 including price of hedge orders.

2.       Hedge Trades are considered part of the “Cycle”. So, if the cycle closes (manually or automatically), the hedge order will close with it).

3.       Programmed into the new features of the EA is for the EA to remember its last trades if the EA is mistaken removed and readded(or if the terminal has to be started back again). Please just ensure this also includes hedge trades: The files that hold this info is in the directory of  MQL4\Files.  They are named (SYMBOL_MAGICNUMBER.bin).

4.       Programmed into the new features is for the “Spread Filter” option that will pause any further trades of the EA by removing the next pending order. It will also resume trading the EA when the “Resume” button is pressed. The hedge orders need to follow the same line of trading. Note: The “Pause” button on the terminal simulates the exact same method. Might be easier to use this for testing.



Con risposta

1
Sviluppatore 1
Valutazioni
(298)
Progetti
427
26%
Arbitraggio
18
61% / 33%
In ritardo
26
6%
Gratuito
Pubblicati: 8 codici
2
Sviluppatore 2
Valutazioni
(130)
Progetti
210
40%
Arbitraggio
90
20% / 43%
In ritardo
85
40%
Gratuito
3
Sviluppatore 3
Valutazioni
(16)
Progetti
17
24%
Arbitraggio
1
0% / 0%
In ritardo
2
12%
Gratuito
4
Sviluppatore 4
Valutazioni
(32)
Progetti
41
68%
Arbitraggio
5
0% / 60%
In ritardo
14
34%
Gratuito
Pubblicati: 1 codice
5
Sviluppatore 5
Valutazioni
(1929)
Progetti
3550
88%
Arbitraggio
73
40% / 15%
In ritardo
268
8%
Gratuito
6
Sviluppatore 6
Valutazioni
(270)
Progetti
552
49%
Arbitraggio
57
40% / 37%
In ritardo
227
41%
In elaborazione
7
Sviluppatore 7
Valutazioni
(564)
Progetti
844
73%
Arbitraggio
15
53% / 13%
In ritardo
193
23%
Gratuito
Ordini simili
Title: Design and Development of an Automated Forex Trading Robot Using MQL5 and Machine Learning Techniques Abstract: This project focuses on the design and development of an automated Forex trading robot that integrates MQL5 programming and machine learning techniques. The system aims to predict market movements and execute trades automatically, minimizing human error and emotional trading. By leveraging historical
I’ve been following your profile and I'm interested in your expertise with the ATAS API and C# development. I have a clear technical scope for a high-performance M1 indicator focused on Binary Options and Scalping. ​The core logic is based on institutional Order Flow convergence: ​Stacked Imbalances: 300% ratio with a minimum of 3 consecutive levels. ​Delta/Price Divergence: Filtering for market exhaustion (New Highs
I'm looking to have a tradingview strategy translated to work on ninjatrader. Right now I'm using webhooks together with the platform Crosstrade to automate the strategy and have the trades take place on Tradingview. Let me know if that's something you can help me out with
Hello, Please read the full specification before applying. This project is NOT about building an EA from scratch. I already have a fully working MT5 Expert Advisor. The EA already includes a dashboard, risk management, and some protection systems, but it needs a few more features . So I need an experienced MQL5 developer to modify my existing MT5 EA by replacing the current entry logic with a new breakout strategy
can you help me with editing the existing ATR Trailing Stop Indicator to include a logic to include additional script, where my ninZaRenko bars when it closes above OR below the dynamic stop line, I will be out of trade. Please remember, in this Indicator, now when the price touches the stop line, I am stopped out .. . I want to edit the script, in lieu of the price touch, I like to update this logic to when the bar
TORUNZ 😎 30+ USD
The robot should use different indicators for a example smart money indicator and market structure structure and break indicators in order for it to enter the market, it should also be able to tell false breakouts is the Bollinger indicator, and if the market is confirmed to be profitable,the robot should rebuy or resell the market according to the predictions made, it should execute the trades if the market reverses
APARTE DE PASAR EL CÓDIGO A MT5 QUIERO QUE CONTENGA TODOS LOS DATOS NECESARIOS PARA QUE ESTE NUEVO CÓDIGO SE PUEDA USAR EN LA FÁBRICACIÓN DE UN ROBOT, NO SE MUCHO DE ESTO PERO INVESTIGUE QUE DEBE LEER BUFFERS Y OTRAS COSAS
Busco un robot para trading de scalping en oro o forex, el robot debe ser rentable en esos mercados, podemos automatizar mi estrategia basada en medias móviles con estrategia de scalping o bien si él desarollador tiene uno que funcione así y sea rentable podemos ver la opción de un demo o cuenta de lectura para estar seguros de la rentabilidad en el robot
MT4 EA TO TAKE TRADES FROM (A) HYDRA TREND RIDER AND (B) IQ GOLD GANN LEVELS ON MQL5.COM The MT4 version of these two indicators can be found on the mql5.com website with the following links: Hydra Trend Rider: https://www.mql5.com/en/market/product/111010?source=Site +Profile+Seller IQ Gold Gann Levels: https://www.mql5.com/en/market/product/134335?source=Site +Profile+Seller (1) ENTRY (a) Hydra Trend Rider
أنا أبحث عن مبرمج محترف لإنشاء روبوت تداول (Expert Advisor) يعمل على منصة MetaTrader 4 أو MetaTrader 5. مواصفات الروبوت: يعمل على زوج XAUUSD (الذهب) يفتح صفقة شراء أو بيع حسب الإشارة يعتمد على مؤشرين: Moving Average RSI عندما يتقاطع الموفينغ أفريج مع الاتجاه ويؤكد مؤشر RSI يتم فتح الصفقة. إدارة المخاطر: تحديد Stop Loss تحديد Take Profit عدم فتح أكثر من صفقة في نفس الوقت إمكانية تغيير الإعدادات بسهولة. مطلوب: كود نظيف

Informazioni sul progetto

Budget
50 - 300 USD
Scadenze
da 10 a 15 giorno(i)