Develop an MT4 expert advisor that triggers trades and adjusts loss making trades using the profitable trades

Auftrag beendet

Ausführungszeit 11 Tage
Bewertung des Kunden
Exceptional work. Many developers tried to make this EA work for me but failed. Eric managed to get it done correctly. I am impressed. Thank you Eric.

Spezifikation

Developers from Africa should not apply for this job.


Green candle means - Closing price is greater than Opening price.
Red candle means - Closing price is less than Opening price.

Timing Of Triggering Trades:

1 trade is triggered every time a candle closes, except on the candle that ends are rollover time. The candle that closes at 0:00 will also trigger a trade but it should be 300seconds before so it would trigger at 23:55:00

If the chart timeframe if H1 then 23 trades will be triggered when the candle closes and 1 trade will be triggered at 23:55:00
If the chart timeframe if H4 then 5 trades will be triggered when the candle closes and 1 trade will be triggered at 23:55:00
If the chart timeframe if D1 then there is only 1 trade per day and it will be triggered at 23:55:00


The conditions & direction of trades:

If a candle is green and it is time to trigger a trade EA will trigger a Buy trade
If a candle is red and it is time to trigger a trade EA will trigger a Sell trade


Types of trades & workings of EA

Settings – Input Section
Main Trade Size = 0.10 lots
Main Trade Profit = 0.00100
The EA first triggers a Main Trade let’s say it is a 0.10 lot buy order @ 1.17200 and feeds in take profit level of 1.17300
Price goes up and hits take profit. Trade closes. Next time conditions are met since there are no active trades, EA again triggers a Main Trade.


Settings – Input Section
Counter Trade Size = 0.70 lots
Counter Trade Profit = 0.00100

IF however, price does not reach 1.17300, but instead moves down. When the conditions are met EA triggers a Counter Trade and let’s say it is a 0.70 lot sell order @ 1.16850 and feeds in take profit level of 1.6750

Price moves down further, and hits take profit. A profit of 100 points x 0.70 lots = $70 – commission charges = $65 net profit

Now the EA automatically adjusts the loss of the Main trade. The Main Trade is currently making a loss of 1.17200 – 1.16750 = 450 points x 0.10 lots = $45 + commission charges = lets say this is $48

The EA just closes the entire 0.10 Main trade since the loss of the Main Trade is less than the profit of the Counter Trade.

If however, the active loss was something like $95 and the Counter Trade profit was $65 then the EA would only close part of the Main Trade. ($65/$95)x100 = It would close less than 68.42% of the Main Trade so 0.06842 lots but rounded down so it would close 0.06 lots

0.04 lots of the main trade would remain active. Now conditions for a new trade are met again and a new trade is triggered. It will be a Counter Trade again since there is an active Main Trade that is in a loss.

*Note* The gross profit must be taken from the terminal since the above calculation will not always be accurate. If we are trading the EURAUD chart and funds are in USD then there will be a conversion rate due to which the profit might be 35% or 30% lower. Therefore, we take the profit from the terminal – commission – swap charges to land the net profit.

Similarly, the loss on the loss making trade should also be calculated from the terminal.

In this way the Counter Trades will be placed again and again until all the Trades are closed. Counter Trades will also be placed to reduce losses on other loss-making counter trades. It is not only restricted to reducing the losses on Main Trades.

Counter Trades will be restricted when trades are in profit.

In some cases, I need the EA to restrict placing a trade. This is when another active trade is in profit. So, if there is a buy order at 1.12530 with take profit 1.12630 (whether it is a Main Trade or a Counter Trade). If price rises to 1.12670 and the time comes to trigger another buy order, the EA will not place this trade since there is an active buy order in profit. However, if the price was 1.12620 then it would trigger the trade.

Therefore by this logic if there is an active trade at 1.12630 then the EA will only place another buy order if the price is lower than 1.12630

The same rule applies for sell orders. If there is an active sell order at 1.10450 then it can place another sell order only at prices above 1.10450

Bewerbungen

1
Entwickler 1
Bewertung
(75)
Projekte
124
44%
Schlichtung
14
29% / 50%
Frist nicht eingehalten
17
14%
Frei
2
Entwickler 2
Bewertung
(574)
Projekte
945
47%
Schlichtung
309
58% / 27%
Frist nicht eingehalten
125
13%
Frei
3
Entwickler 3
Bewertung
(273)
Projekte
396
63%
Schlichtung
70
53% / 26%
Frist nicht eingehalten
198
50%
Frei
4
Entwickler 4
Bewertung
(21)
Projekte
28
36%
Schlichtung
7
14% / 71%
Frist nicht eingehalten
2
7%
Frei
Ähnliche Aufträge
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
Xcopcash 30 - 400 USD
It the most grate trading robot vacuum forex cleaner it's best helper in the whole south Africa it profitable and helps lots of people in Africa it's high quality standard are maintained ina official website this I created byAkhan I siyo
أنا أبحث عن مبرمج محترف لإنشاء روبوت تداول (Expert Advisor) يعمل على منصة MetaTrader 4 أو MetaTrader 5. مواصفات الروبوت: يعمل على زوج XAUUSD (الذهب) يفتح صفقة شراء أو بيع حسب الإشارة يعتمد على مؤشرين: Moving Average RSI عندما يتقاطع الموفينغ أفريج مع الاتجاه ويؤكد مؤشر RSI يتم فتح الصفقة. إدارة المخاطر: تحديد Stop Loss تحديد Take Profit عدم فتح أكثر من صفقة في نفس الوقت إمكانية تغيير الإعدادات بسهولة. مطلوب: كود نظيف
I need an experienced MQL5 developer to modify my existing MT5 EA by replacing the current entry logic with a new breakout strategy and implementing strict prop-firm safety protections. The EA must behave exactly as specified below. If the final EA does not match the logic described, I will request revisions until it does. SYMBOL AND TIMEFRAME Symbol: USDJPY Timeframe: M15 only TRADING SESSION Trades may only open
I am looking to purchase an existing and profitable Expert Advisor (EA) designed for Gold (XAUUSD) scalping. This is not a request to develop a new EA . I am only interested in a ready system that is already trading profitably on a live account . Requirements • Designed for Gold / XAUUSD • Compatible with MetaTrader 5 (MT5) • Scalping strategy (preferably M1 or M5) • Verified live trading performance (preferably 6
Pinescript 100+ USD
I’m looking for a Pine Script developer who can reverse engineer the “Swing Only” logic of the Polytrends indicator on TradingView. The goal is to recreate how the swing trends are detected and plotted so it can be used as a custom indicator. If you have experience with TradingView Pine Script and reverse-engineering indicator logic , please reach out
Combine the two indicators into one indicator. I want it to have both Dark and Light mode depending on MT5 theme. I want to be able to configure colours of each Lines and rectangles plotted. I will provide the codes for both separate indicators
2 FX pairs M15 execution with higher timeframe bias Session-based trading (UK time) Fixed % risk per trade Controlled pyramiding (add to winners only) Strict daily loss limits (FTMO-style) Proper order handling (SL always set) Basic logging (CSV) Strategy logic will be provided in detail after NDA / agreement. Must deliver: Source code (.mq5) Compiled file (.ex5) Clean, well-commented code Short support window for
Hi, are you able to create a script/indicator on tradingview that displays a chart screener and it allows me to input multiple tickers on the rows. then the colums with be like "premarket high, premarket low, previous day high, previous day low" . When each or both of the levels break, there will pop up a circle on the chart screener, signaling to me what names are above both PM high and previous day high or maybe

Projektdetails

Budget
50+ USD
Ausführungsfristen
von 1 bis 4 Tag(e)