I have a few changes in existing EA:
Point 1 - An function in EA does not work Reactivation of an order - should be fixed.
Point 2 actuall lot calculation should be changed and add two other posibilies to calculate lots.
thats it
Point 1
if there is
an Order by other EA or manual opend - this order will be managed by Hedge EA.
If you want
to test – just use following sets
UseOriginal=false
CloseBasis=false
OpenPending=true
UseReact=true
If first Pending
is closed in Profit – then should opens
a Reactivation, if Price goes Xpips better than entry of first Pending and than
place again an Pending on original Price of first pending - The new
pending with does just have new TP and same Lots
After this
second Pending is closed in Profit – EA should also close the refered basis
order.
If Basis is
closed bevor second pending – with basis should be closed second pending. Right
now it is also working like this with first pending – same should be happend
with second pending.
This function should work but does
not work – this is to fix
Parameters of function Reactivation
right are
input int
ReactEnter=10;//Reactivation Enter in pips
input
int
ReactTP=5;//Reactivation TP in pips
Reactivation of pending does not working. If pending is executed in profit- and
goes xpips better than place second Pending, pending should be Placed again.
Same lots as pending before only NEW TP.
If the reactivation Pending is closed – than reffered Basis has also to be to
close.
But If
original basis will close also Reactivation Pending must be deleted. As also do
normal Pending. If Basis is closing refferd Pendings must be deleted.
Point two -
I want to change actuall Pending lots calculation - and add two other
possibilities to definate lots for the Pendings.
Right now lots are calculated on
basis of loss of basis order from entry price till hiddenSL . now if basis order
goes xpips in minus, the minus till hiddenSL ist the calculation for Lots for
pending order right now. There should be changed nothing only the amount should be encreast. Loss should hiddenSL pips and TP pips inclouded + an amount which I will be definating in new Paramters in %
Now I just want
'That loss calculation goes till Pips TP includ and also having
an Plus as overtop – percent of this calulated loss on TOP.
New paramter is – Top on loss definated with percent 0.5 Perdent or 5.0
perdent
In actual version of Hedge EA - Basis order with loss was closed at
hiddenSL - So calculation of loss of basis goes further and should go TP of Pending
- Plus from this sum Xpercent.
So from entry Basis till hidden SL – amount - Plus
Loss from HidenSL to TP – amount - Plus
An Overtop - percent of this amount 1% of hidden SL + Loss hidden till TP
------------------------------------
Loss Resoult must be covered from entry Basis till Pips TP – This clculation
is done right now till hiddenSL
So definate Loss is – Loss of Basis – till hidden SL – from hiddenSL to
PipsTP and of this result overtop definated part as percent. Example 0.5%
If Amont of loss is definated – lots must be calculated that if pending is
opend at hiddenSL till pipsTP must loss covered. This is EA doing right
now only with los still hiddenSL –
2a- I want just to definaet the lots for the opening pending wiht an
multipler. So if basis is 0.01 lots and multipler is 2 EA does Open 0.02
lots. Second possibility
2b. Dividation - If basis is 2 lots and I have a dvidation of 2 - thant on
pending is opend 1 lot - Third possibility
thats it
Benzer siparişler
PROJECT DESCRIPTION I am using a Telegram → MetaTrader trade copier (currently TWP Copier 1.08) which receives trade signals correctly but does NOT consistently execute trades on MT4, despite: Signals being received and logged AutoTrading enabled Live trading allowed Correct symbol names (no suffix/prefix issues) Manual trades working perfectly No trade conflicts or filters blocking execution CURRENT ISSUE Telegram
An EA that can pass multiple prop firms that has drawdown limits no counts blown or violated An EA that is unique With the E A bagtest for MT5 Screen share over discord assistance with back test EA that passes the prop firm in less than two months Be able to solve solve issues with back test
hello Hello, I have a project I want done for a NinjaTrader Script that would involve 2 phases. Phase 1. I simply want a ninja trader strategy that will take whatever custom user defined high/low range defines in the settings than executes a breakout trade either once a candle closes above / below the range or simply crosses the high/low of the range by placing stop orders. The way it takes the breakout will be
As in tittle, I need EA to pass FTMO challange fast, you know rules, max 5% daily drawdown, max 10% total drawdown. Passing in maximum +/- 1 month, it's around 20/22 working days 10/20=0.5% average per day profit. of course can be faster
Hello, I’m reaching out because I’m interested in hiring you to develop a custom trading bot for me. The bot should trade only XAUUSD (Gold) and be designed for long-term account growth using my own trading account size. Here are the core requirements: - Account size: $300 - Asset: XAUUSD only - Risk management: Strict and properly controlled - Risk-to-reward ratio: Clearly defined and consistently applied -
I am looking for an experienced MQL5 developer to help build and support an automated trade execution system that connects TradingView custom indicator alerts to an Exness MT5 account. The role involves receiving TradingView webhook signals containing Buy/Sell direction and dynamically calculated lot size, processing them via a Python-based webhook listener, and executing market orders on MT5 running on a 24/7
I am looking for an EA for scalping XAUUSD, with short TP and SL in the range of 30-50 pips (equivalent to 3-5 gold price units). No DCA Martingale, no holding/averaging down positions, no grid trading, and no simultaneous buy and sell orders. The strategy and methodology will be yours, and I also require the full source code upon completion. I will paper test it first before making the purchase
Hi, I have four trading strategy's that work on tradingview. But these scripts i have are having problems being translated into ACSIL for Sierra Charts. I have being using AI to translate the scripts, but keep hitting a road block. The scripts load on the charts, but without any data being logged. I hope you can help, I just want to confirm the positive results on tradingview are no fluke and are correct on Sierra
HELLO EVERYONE , I NEED AAN INDICATORE AND EA ON STOCHESTIC OSSILATOR, WHICH CAN GIVE ME ALERT WHEN SIGNAL APEARS, INDICAOTRE I CAN SHOW ON TRADING VIEW , EXACTLTY THAT INDICATORE I NEEDED.INDICATORE NAME ON TRADING VIEW( JL STOCHESTIC DIVERGENCE ALERT).. THANK YOU
//+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ #property strict // Inputs input int EMA_Fast = 9; input int EMA_Slow = 21; input int RSI_Period = 14; input double Lots = 0.1; input int StopLoss = 20; // وقف خسارة (بـ نقاط) input int TakeProfit = 40; // هدف (بـ نقاط)