SL removal / reinstatement

MQL4 专家 脚本

工作已完成

执行时间6 天
客户反馈
Good developer. Thought I would give him a go. He definitely delivered and was patient throughout the whole process. Will use again. Thanks Reza.

指定

Problem: Spread jumps at role over hitting stops due to massive spreads.

I need a script or EA to:

* runs at a particular time: say hour (23) and Minute (57)

* records current stop losses of all trades (if any) and writes to buffer/file
* removes all stop losses from trades

*script stays active until input time of Hour (00) and minute (05) reads buffer/file and reinstates stop loss values onto the orders previously recorded (if any).
*if SL reinstatement fails, then retries X minutes later.

*Sleeps until activation time above.

 Variables:

Start hour

Start minute

Finish Hour

Finish Minute

SL distance change 

Remove SL: true/false 

Notifications: true/false (sends notifications to MQID device to inform that the SLs have been removed, and then again for when the SLs have been replaced.) 

 

and anything else you can think of?

 ************************

I have realised that you don't need to REMOVE the SL, you can make it very big instead. i.e. It might be easier, to:

if order = sell then, read current SL, add 200 pips to CURRENT SL to obtain the new SL... at finish time, remove 200pips from the new SL to get back to the original distance.

If order = buy then, read current SL, remove 200pips to current SL  to obtain the new SL... at finish time, add back on the 200pips from the new SL to get back to the original distance.

************************ 

The EA/script MUST NOT interfere with the magic numbers associated with the orders that are being modified. 

Thanks 

 



反馈

1
开发者 1
等级
(599)
项目
932
46%
仲裁
31
39% / 29%
逾期
93
10%
空闲
2
开发者 2
等级
(117)
项目
138
41%
仲裁
30
7% / 77%
逾期
17
12%
空闲
3
开发者 3
等级
(11)
项目
12
0%
仲裁
2
0% / 50%
逾期
1
8%
空闲
4
开发者 4
等级
(34)
项目
80
34%
仲裁
13
31% / 54%
逾期
19
24%
空闲
5
开发者 5
等级
(97)
项目
121
25%
仲裁
5
20% / 60%
逾期
17
14%
空闲
相似订单
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a
I currently have a license code that connects to my web server, and I add the account number, client name, and expiration date. I’d like something more automated. Currently I allow clients 10 licenses, but adding for them on my side can get exhausting. I’d like a better solution for myself and clients

项目信息

预算
10+ USD
开发人员
9 USD
截止日期
 1  5 天