Fixed-PSAR-Martinglae EA

MQL4 Uzmanlar

İş tamamlandı

Tamamlanma süresi: 4 gün
Müşteri tarafından geri bildirim
Always satisfied working with him, good programmer and delivers on time. Thank you Il
Geliştirici tarafından geri bildirim
Great client!

Şartname

New EA similarities to previous build

  1. EA trades based on upcoming Economics Events (as already built)
  2. EA open trades based on dots of PSAR (as already built)
  3. Logic of trade is based on martingale (as already built)

NEW Logic of Trading:

a.    EA waits for upcoming news, and based on time and news filter will open trade based on action of price on PSAR (as already built)

 

b.    EA opens long or short position based on direction of PSAR (as already built)

 

Major Difference between Old and New Logic

c.    If EA opens a long position (position A) as shown in diagram below (red-dot), it will place TP (TP-A) at the position equal to the distance of new PSAR dot (as already built),

but instead of placing SL (SL-A) at the new position of PSAR dot, it will rather place a SellStop Pending order (trade-B) with Martingale multiplier.

Therefore, SL for trade-A will be x2 of what initially should have been; and TP for trade-B will be at same price SL-A (see diagram)

 

Entry point is marked in big-dot-red (point where psar-dot switched)

d.    So if trade-B is triggered, immediately a 3rd pending order (buy-stop) position will be placed at same point were trade-A started. Therefore, if trade-B did not reach TP, and price reverses to trigger Trade-C, a 4th pending-order (sell-stop) position will be placed at same position were trade-B was triggered, and so on, and so on, using martingale multiplier.

e.    So martingale logic will play out, and keep multiplying trades, until either TP or SL of any of the opened positions is reached.

f.     PLEASE NOTE that, if price touches any of TP or SL of any of the opened positions, EA should FORCE-CLOSE ALL OPENED TRADES IMMEDIATELY (very important please)

g.    Last trade should try and achieve breakeven (or minimal loss). What this means is that if for example, user sets EA parameter = Maximum open trades/cycle = 5

And at 4th trade, price did not reach TP of the 4th trade but goes on to trigger this 5th trade, the value of lot size for 5th trade should be such that it equalizes total long position and short position (like a hedged)

or please you can share your idea on how best to achieve minimal loss when this scenario is reached).

 

 

 

 

Thank you.

 

 



Dosyalar:

ZIP
EA_grid.zip
81.1 Kb

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(394)
Projeler
555
41%
Arabuluculuk
30
57% / 3%
Süresi dolmuş
57
10%
Çalışıyor
Yayınlandı: 11 kod
Benzer siparişler
Hello All, can someone help me to make an EA base on MACD, https://www.mql5.com/en/code/14669 and RSI. If you are able to make this than please get me in touch, i will appreciated Thanks and best Regards Kodj007
EA 45 - 205 USD
If EMA20 > EMA50 AND RSI > 55 AND No Open Position THEN Buy SL = 50 pips TP = 100 pips If Profit > 30 pips Move SL to Break Even If Profit > 50 pips Enable Trailing Stop
I am looking for an experienced MQL5 developer to modify an existing Expert Advisor by adding an automated hedging module. The existing EA is fully functional and already manages trade entries and exits. The objective of this enhancement is to introduce a risk management feature that automatically opens a hedge position when an existing trade reaches a predefined unrealized loss in USD. The hedge should remain active
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
am an auto trader that for Sierra chart that works but needs some cleaning up. I need some features added to it like two parent studies with different take profit, stops, quantities and also a parent study to add to the position with its own take profit, stops, quantities
We are seeking an experienced MQL4/MQL5 programmer to develop a high-performance, fully automated Expert Advisor (EA). The bot must execute a sophisticated multi-currency hedging strategy across correlated forex pairs. Key Responsibilities Develop Multi-Currency Logic : Build an EA capable of scanning and trading multiple currency pairs simultaneously from a single chart or setup. Implement Hedging Strategy : Code
I am seeking an elite, top-tier quantitative programmer to engineer a professional multi-strategy software suite for XAU/USD (Gold). This project will be executed under a single contract workspace, cleanly structured across sequential development milestones: Milestone 1: (M30/H1/H4 Swing Architecture) 2: (M1/M5/M15 High-Frequency Velocity Architecture) 3: (Integration Phase):(Unified All-In-One Parent Class Execution
Hi I want a trade copier for my ninja Trader 1. It should support at least 50 followers accounts. 2. Each follower should have its own configurable quantity/risk. 3. Copier should replicate entries, stops, and take profit, order medications, and order cancellations, ect. 4. It should copy both manual and strategy trades. (As long as the follower accounts are selected to follow, it should do the exact same as the
Infinity 30+ USD
Gold Guardian EA (MT5) Entry Strategy Trade only XAUUSD. Default timeframe: M5. Buy when: 20 EMA crosses above 50 EMA. RSI (14) is above 55. ADX (14) is above 25 (strong trend). Sell when: 20 EMA crosses below 50 EMA. RSI (14) is below 45. ADX (14) is above 25. Only one open trade at a time. Risk Management Risk 1% of account balance per trade (adjustable). Automatic lot size based on stop-loss distance. Daily loss

Proje bilgisi

Bütçe
70+ USD
Son teslim tarihi
from 1 to 2 gün