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
(393)
Projeler
549
40%
Arabuluculuk
30
57% / 3%
Süresi dolmuş
57
10%
Çalışıyor
Yayınlandı: 11 kod
Benzer siparişler
AI Trading Bot 30 - 80 USD
Essential Components for Indicator Specification Objective & Overview: Briefly describe what the indicator calculates (e.g., trend, momentum, volatility) and its main purpose. Input Parameters (Variables): List all user-definable inputs (e.g., Moving Average periods, ATR multiplier) to avoid hardcoding values. Detailed Logic/Calculation Rules: Explain the formula or logic to calculate indicator values. Define
Hi, I hope you’re doing great. I’d like to share the project details. The original EA is already working, but I need you to first review and verify that all existing features are functioning correctly. After confirming everything works properly, the next task is to add a simple user dashboard that shows the number of detected zones, buy/sell/none status, and includes an ON/OFF button. Also, please make sure that
looking for Expert to create or ready made solution for bonus hedge auto set cross trading of opposite trading strategy. the expert may guide what max and best he can do to make the EA perfect
Set specific time to run this function(order). The time can be hard-coded or inputted by user. Time format: HH:MM:SS:ss Example: 17:58:48:59 -> This means an order will be triggered at 5 pm 58min 48sec 59 today. Set “Stop loss” and order a Sell stop. “At price” triggered automatically: current(specific time set above 1) Gold price - 2$ Stop loss: current Gold price + 2$ Volume: 0.1 (It can be hard-coded or inputted
Simplebot 30+ USD
#include <Trade/Trade.mqh> CTrade trade; input double LotSize = 0.1; input int FastMA = 10; input int SlowMA = 20; int fastHandle, slowHandle; // Initialize indicators int OnInit() { fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE); slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE); return(INIT_SUCCEEDED); } void OnTick() { double fastMA[2]; double
I need an Expert Advisor (EA) for MetaTrader (MT4 or MT5) based on the following scalping strategy. Platform: MT4 or MT5 Symbol: EURUSD (should work on other pairs as well) Timeframe: M1 or M5 Indicators: - EMA 9 - EMA 21 - RSI (14) Buy Conditions: - EMA 9 crosses above EMA 21 - RSI > 55 - Spread < 1.5 pips - Only one trade at a time Sell Conditions: - EMA 9 crosses below EMA 21 - RSI < 45 - Spread < 1.5 pips -
In need of an automated bot that strongly detect support and resistance zones where price has a high probability of reacting ,rejecting or reversing. The zones should be built on combibation of of : (a)swing high and swing low.(b)repeated price reaction c)rejection strength (d)break and retest behaviour (e) consolidation origin before implusive move (f) strong displacement candles
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be
I need a clean, bug-free MT5 Expert Advisor (MQL5) based on this exact mechanical scalping strategy on M5 timeframe for EURUSD. Indicators (built-in): - EMA 9 and EMA 21 on M5 - RSI 14 - ADX 14 (>25 for strong trend) - H1 EMA 21 above/below H1 EMA 9 for trend alignment Entry Rules (ALL must be true): BUY: EMA9 crosses above EMA21 (on closed bar) + RSI > 50 + ADX > 25 + H1 EMA21 > H1 EMA9 SELL: Mirror (cross below
I will like to purchase tradingview strategy with high winning rate, i mean already made, tested and trusted and powerful strategy, i have tried to code my own strategy with lot of freelancers but nothing to me i am just wasting money, i have wasted lot of money already, so i need a high winning rate tradingview strategy, we can discuss price in chat, I will need to see some test result as well

Proje bilgisi

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