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%
類似した注文
I have a really very, very simple professional, proven, profitable forex strategy that works on a higher time frame with over 85% winning rate. I am searching a professional programmer to create expert advisor based on this stategy, in general I am searching a developer for a longer co-operation. I am a forex trader with over 12 years experience. telegram: fxMiguel It's a 15minute work job, 30min max, My budget is 10
Testing 30 - 200 USD
// กำหนดค่าตัวแปรเริ่มต้น input double DailyProfitTarget = 200; // กำไรที่ต้องการในแต่ละวัน (2% ของทุน) input double LotSize = 0.1; // ขนาด Lot input double TakeProfit = 10; // กำไรต่อการเทรดใน pip input double StopLoss = 5; // การหยุดขาดทุนต่อการเทรดใน pip double dailyProfit = 0; // กำไรที่ทำได้ในวันนี้ // ฟังก์ชันเริ่มต้น int OnInit() { dailyProfit = 0; return(INIT_SUCCEEDED); } //
I need to compile my mt4 EA but there are some errors and warning if you can fix and compile send me your application I will select you upon Demo
i need someone to help me take 6 pieces of code from this script and simplify it into a new code .. . note this project is needed urgently in 2 to 5
Man on mayhem 30 - 100 USD
1. The idea of the trading system is as follows: market entries are performed when MACD's main and signal lines intersect in the current trend direction. 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is below
We need an Expert Advisor for MetaTrader 5 that will be simply based on Rsi, chart patterns and price levels (e.g 2366,250)… Basically when the robot notices a chart pattern, for example “double top/M pattern” it enters a trade based on confirmation from Rsi & price level and the stop loss is moved to the entry price…That is all. The expert advisor is only for Xauusd/Gold…The expert advisor should target 10 pips
Hi, Expert should be Brazilian. I need the scalping ea for xauusd, usdjpy, AUDUSD, eurusd, gbpusd, nzdusd, uascad and usdchf with any strategy. But don't use buy limit in down trend and sell limit in sell trend. I need the profit with 0.5 usd minimum per trade
Hello, I am looking for an experience MQL5 coder who can help me automate my trading strategy. Since this is an advanced coding so I would appreciate if only an experienced coder reaches out. I have attached a word doc of strategy, if you think you can build it then do let me know. Thanks, Sadaquat
Grid hedging ea 30+ USD
I Need A Hedging Ea With Daily 2% of returns. I might think that ea work consistently. hedging Is The only Way To Make A Profit. That ea work in 1:200 Leverage and lot size is starting from 0.01
Project Description: I am looking for an experienced MQL5 developer to program an advanced trading robot for MetaTrader 5. This robot should integrate multiple modules for trend management, entry optimization, and risk management. It must also include an interactive dashboard and an automatic order suspension system based on volatility and economic news releases. The project requires expertise with ATR, ADX

プロジェクト情報

予算
20 USD
VAT(付加価値税) (19%): 3.8 - 3.8 USD
合計: 23.8 - 23.8 USD
開発者用
18 - 18 USD
締め切り
1 日