Fixed-PSAR-Martinglae EA

MQL4 전문가

작업 종료됨

실행 시간 4 일
고객의 피드백
Always satisfied working with him, good programmer and delivers on time. Thank you Il
피고용인의 피드백
Great client!

명시

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.

 

 



파일:

ZIP
EA_grid.zip
81.1 Kb

응답함

1
개발자 1
등급
(393)
프로젝트
549
40%
중재
30
57% / 3%
기한 초과
57
10%
무료
게재됨: 11 코드
비슷한 주문
Strategy:Identify Supply and demand zones and generate buy and sell signals based on the price action within these zones. Confirmation:Use MA filter to confirm trading directions. Risk - Reward Ratio: 1:5. Risk Management: Limit risk to a predefined percentage of account balance . Additional features: include alerts for signal generation, SL and TP
Prakash 30 - 200 USD
i want to make trading bot for my xauusd trading. who can provide me code for good algo for auto trading? which logic is safe for trading?i want expert who can made code for me. thanks
Smc 30 - 200 USD
#property copyright "Amanda V" #property version "1.01" #property indicator_chart_window #property indicator_buffers 0 #property indicator_plots 0 input int InpSwingLookback = 30 ; // Swing Lookback Period input double InpMinWickPct = 30.0 ; // Min Rejection Wick % input color InpBullColor = clrAqua ; // Bullish Sweep Color input color InpBearColor =
Description: I need an MT5 Expert Advisor built to exactly replicate a TradingView Pine Script strategy. This is a range mean reversion system . All logic must be followed precisely. No optimisation, no interpretation. The EA must behave identically to the logic below. Market & Timeframe Primary: NAS100 (but must work on any symbol) Timeframe: 5-minute Must work regardless of broker (handle symbol digits properly)
I am looking for an experienced MQL5 developer to improve an existing forex EA, not build a completely new robot from zero. Important note: I use GPT to help me write because my English is limited. The wording may be assisted by GPT, but the trading issues, testing observations, and improvement goals are real from my side. I need a developer who is patient, understands strategy logic well, and can explain the
Fair Value Gap Expert , Optimize the core logic for live chart . [Filters are working] Lets ace the trailing stop . Change points to pip . Project will start from next week
I am looking to develop a highly optimized and fully modular script in MQL5 specifically for detecting RSI Divergences. This script will serve as a foundational building block to be integrated into a larger, comprehensive Expert Advisor (EA) later. Therefore, execution speed, strict logic, and a clean codebase are my absolute top priorities. Here are the core technical requirements for this project: 1. MQL5
My requirement i have mention in the video. I explain it from a screen record will be more clear https://www.youtube.com/watch?v=oTCWx7tfckM Mainly RSI martingale TP/SL lot size will auto base on the profit/loss i wish to risk
We have an existing Expert Advisor (EA) for MetaTrader 4. We need to restrict the EA so it only works on specific MetaTrader account ID(s). Key Requirements: Add account ID locking functionality to the EA. EA should run only on authorized account number(s). If used on any unauthorized account, the EA should: Stop trading, and/or Display an error message (e.g., “Unauthorized Account”). Ability to easily update or add
I hope to acquire a profitable and existing expert advisor (EA) from the gold market, with complete source code, to add to our client portfolio. you can WECHAT: Faca7898 Please note EA when adding friends. It should be clarified that this does not require you to formulate or design new strategies. If you already have a verified, consistent, and production-ready EA, I am willing to purchase it immediately and engage

프로젝트 정보

예산
70+ USD
기한
에서 1  2 일