A Few changes in actual EA

MQL4 专家

指定

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



反馈

1
开发者 1
等级
(53)
项目
74
26%
仲裁
30
10% / 63%
逾期
22
30%
空闲
2
开发者 2
等级
(2)
项目
2
0%
仲裁
0
逾期
1
50%
空闲
3
开发者 3
等级
(219)
项目
370
42%
仲裁
145
17% / 41%
逾期
124
34%
空闲
发布者: 38 代码
相似订单
look at attachment! i dont know if it is a expert or indi what it needs to do is for whatever par you are on the timeframe must adjust to the slider realtime on chart as you slide the slider and the chart and loaded indicators chnag eto the trimeframe you slide to time frame range M1 to D1
I want an experienced developer to create an EA that works with a grid system. I have a video on how the EA works. I want an experienced developer who will use the video to create the same bot
Ninja Trader 8 - **** https://www.youtube.com/watch?v=iDXAA6hUt2M - Orderflows Trader vs NinjaTrader Volumetric Charts What Are The Differences Only watch this video as a reference point, this is the standard setting for Volumetric https://www.youtube.com/watch?v=YrI8byj9_mg - How to Setup Volumetric Footprint Charts in NinjaTrader 8 | Futures Day Trading Tutorial - by Bull Barbie -----------------------------------
I’m looking for a skilled MQL5 developer to help build and manage an automated trading system that bridges TradingView custom indicator alerts to an Exness MT5 account . This role involves capturing Buy/Sell signals and lot sizes from TradingView webhooks , processing them with a Python listener , and executing orders on MT5 hosted on a 24/7 VPS . The ideal candidate will ensure accurate trades, reliable execution
I need a trading signals indicator. So I can learn how to upgrade my trading skills and mentality. I will be very glad if I can upgrade my trading mentality
I want to add. to my ea pay back I want to have a Max on the grid step. Because sometimes the market is ranging and the same grid steps 5 times or more It's getting close and open, close and open. To many times. So I want to add. Maximum Payback for this grid step 1.2.3. So if I set it for 0. It will delete. The stop loss. As long as ranging in this grid step. After it went out of the grid step. Replace the stop
Hi, I am looking for a good Forex programmer that could build a EA robot , It will have to be built base on fibonachi retracement, 0 , 0.236, 0.382 , 0,5 , 0.618 , 0.786, 1, 1.618 , 2.618, and 3.618, the robot should be able to make me input the fibo numbers myself. stop Loss, T.P
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

项目信息

预算
20 USD
截止日期
1 天