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
There is a Pine Script with closed source code that I want to use on TradingView. I would like to have an exact replica of it created. I have the link and can share it with you if you're interested. Is this something you can do
I need a fully automated Expert Advisor (EA) for MetaTrader 4 or MetaTrader 5. Strategy Overview: Trading Instrument: User adjustable (input parameter). Default can be EUR/USD. Trade Time: Every day at exactly 11:00 AM (broker server time) . Position Size: Fixed lot size (NOT percentage-based). Default = 0.01 lot. This must be an adjustable input parameter . Trading Rules (Step by Step): Day 1 (Initial Trade)
Trading Strategy Specification 🟢 Buy Setup Conditions: Trend Identification: The overall trend must be Bullish (Upward). (Note for the programmer: Define the bullish trend using higher highs/higher lows structure or a specific Moving Average). Fibonacci Retracement: The price must correct downwards to touch or test the 61.8% Fibonacci level , drawn from the most recent swing low to the swing high. Entry
Hey I need help with the development of my ea. I am using a built in indicator and a custom indicator. It shouldn't take too long. I will tell you the conditions and then I just need some help with the coding but I have some experience. Thanks we can chat on whatsap or telegram
I need an experienced MQL5 developer to build a semi automated trading signal system for Gold (XAUUSD) on MT5. The system is NOT a martingale or grid EA. The goal is to build a clean rule based signal engine that detects high probability setups based on predefined strategy rules and sends trading alerts with optional pending order logic. Main Requirements: 1. Signal Generation - Buy and Sell signals - Buy Limit - Buy
I need a bot that can trade weltrade synthetic indices that can be consistently making profits if you have one for deriv its also fine a bot that executes and closes trades automat Will be ideal
I want a professional MT5 trading robot for XAUUSD (Gold). Requirements: - Safe and stable strategy - Focus on long-term profit and low risk - Smart entry and exit signals - Trend confirmation with indicators - Automatic Stop Loss and Take Profit - Risk management system included - Maximum daily loss protection - Trailing Stop feature - News filter to avoid high-impact news - Works automatically on MT5 - Optimized
MT5 Expert Advisor Specification: Asian Liquidity Sweep & M5 FVG Entry Project Overview Automated Expert Advisor for EUR/USD on MT5. The strategy maps structural liquidity (Fractal Swings) for entry triggers but targets absolute session extremes for Take Profit. It enters on the first opposite M5 Fair Value Gap (FVG) and features a dynamic, user-controlled risk engine. 1. Timezone & News Filter Requirements The
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source
I want to provide you with the source code of the indicator I am interested in, which gives buy and sell signals in the trading view, and you can turn this indicator into a robot that gives buy and sell signals in MetaTrader 5 and trades automatically