New EA similarities to
previous build
- EA
trades based on upcoming Economics Events (as already built)
- EA
open trades based on dots of PSAR (as already built)
- 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.
Benzer siparişler
Hi, I hope you doing Greate, Let me share details , so the original EA already working but you can check and verify everything fine.First you verify that all original EA features are working correctly then add a user dashboard showing the number of detected zones, buy sell both none status, and an on off button. also ensure mitigated zones disappear properly and that trades follow the zone rules, and integrate the
I need a high-speed Expert Advisor (EA) for MT5 designed specifically for XAUUSD (Gold) scalping. The bot should focus on fast entries and quick profits with high efficiency. Main requirements: 1. Symbol: XAUUSD (Gold only). 2. Platform: MetaTrader 5. 3. Strategy type: Scalping (fast trades, quick profit). 4. The bot should open trades frequently based on fast market movements. 5. Small Take Profit (quick profit
import MetaTrader5 as mt5 import pandas as pd import time from datetime import datetime # ================== CONFIG ================== SYMBOL = "XAUUSD" TIMEFRAME = mt5.TIMEFRAME_M1 LOT = 0.01 MAX_OBS = 12 # keeps signals frequent ATR_PERIOD = 14 IMPULSE_FACTOR = 1.5 # strong candle = impulse SESSION_START = 8 # GMT (London open) SESSION_END = 20 # GMT (NY close) MAX_SPREAD = 30 #
I have existing compiled indicator and script files (EX4) and would like to have them recreated in both MQL4. ⚠️ Important: This project is NOT for decompiling or reverse engineering. Instead, the goal is to: Analyze the behavior and output of the provided files Recreate equivalent functionality from scratch Deliverables: 1 MQL4 indicator source code (.mq4) 1 MQL4 script source code (.mq4) Requirements: The recreated
I need a good programmer to help convert an existing indicator to a trading EA that can work on both MT4 and MT5. The expected features on the EA is as follows: Max Spread: Magic Number: Take Profit: Stop Loss: Trailing Stop: Fixed Lot Size: Money Management: false/true Min Lot Size: Max Lot Size: Risk to Trade %: Daily Profit Target %: Add news filter. Get my jobs with source code
Merge nearby zones yes/no Alert on/off Label on/off Show only current relevant zones near price yes/no Distance filter from current price Zone transparency Colors Preferred Output on Chart: I want the indicator to show only: the strongest nearby support zones under price the strongest nearby resistance zones above price major higher timeframe zones clean chart view I do not want excessive clutter. Entry Assistance
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot