Hello All,
I paid for a script that doesnt quite do what i was after. Im guessing I didnt explain it correctly to the coder.
what i was hopeing for is to place multiple pending buy or sell stop orders simultaniously. based around the 20/50/100 etc atr
heres a list of the variables. i attached a shot of the input box i have and the script.
Direction none/buy/sell
no of orders eg 1/2/5 etc
price open
lot size - % of account equity eg .5/1/2/5 etc
atr period eg 10/20/50 etc
distance apart eg .5/1/2/5 atr
SL eg .5/1/2multiple of atr
trail Stop also eg .5/1/2/ multiple of atr
so is it possible for someone to write a script for mt4 that will allow me to place multiple buy/sell stop orders equally spaced, simultaneously for a breakout system please. my idea is to click on the script in navigator, which opens a box where i can select the following.
order type. eg. buy or sell stop.
input the price at which 1st order executes.
distance between orders eg .5 or 1 or 2 etc of eg(20)period atr.
no of stacked orders eg 2, 3, 5 etc.
period of atr eg 10, 20 etc SL = .5 or 1 or 2 atr.
automatically calculate lot size as a % of equity. eg .5% or 1% or 2% etc, using a multiple of the above atr. eg .5% of equity with .5 atr SL. Trailing stop for all open orders, again multiples of .5 or 1 or 2 of the same atr.
to be used on the current selected open chart and time frame that im looking at.
i normally use the autochartist risk calculator (great tool by the way) to get SL and lotsize.
so in a nutshell i would be able to open, eg 4 equally spaced buy stop orders for a lot size of .5% of equity using a stop loss of .5 (20 period atr) with a .5 (20 period atr) trailing stop loss.
hope i explained it correctly
Many thanks in advance if this can be done.
Cheers Al.
I paid for a script that doesnt quite do what i was after. Im guessing I didnt explain it correctly to the coder.
what i was hopeing for is to place multiple pending buy or sell stop orders simultaniously. based around the 20/50/100 etc atr
heres a list of the variables. i attached a shot of the input box i have and the script.
Direction none/buy/sell
no of orders eg 1/2/5 etc
price open
lot size - % of account equity eg .5/1/2/5 etc
atr period eg 10/20/50 etc
distance apart eg .5/1/2/5 atr
SL eg .5/1/2multiple of atr
trail Stop also eg .5/1/2/ multiple of atr
so is it possible for someone to write a script for mt4 that will allow me to place multiple buy/sell stop orders equally spaced, simultaneously for a breakout system please. my idea is to click on the script in navigator, which opens a box where i can select the following.
order type. eg. buy or sell stop.
input the price at which 1st order executes.
distance between orders eg .5 or 1 or 2 etc of eg(20)period atr.
no of stacked orders eg 2, 3, 5 etc.
period of atr eg 10, 20 etc SL = .5 or 1 or 2 atr.
automatically calculate lot size as a % of equity. eg .5% or 1% or 2% etc, using a multiple of the above atr. eg .5% of equity with .5 atr SL. Trailing stop for all open orders, again multiples of .5 or 1 or 2 of the same atr.
to be used on the current selected open chart and time frame that im looking at.
i normally use the autochartist risk calculator (great tool by the way) to get SL and lotsize.
so in a nutshell i would be able to open, eg 4 equally spaced buy stop orders for a lot size of .5% of equity using a stop loss of .5 (20 period atr) with a .5 (20 period atr) trailing stop loss.
hope i explained it correctly
Many thanks in advance if this can be done.
Cheers Al.
Attached Image
Attached File(s)
103119f1.mq4
20 KB
|
499 downloads
1