HOW TO SET PENDING ORDER IN EA
8 replies
msophe
7 years ago #115503
HI
I want to create e.a in pending order and instructions is as follow :
BUY
Enter buy stop at price x
and close profits at price y
and stop loss at price z
SELL
Enter sell stop at price x
and close profits at price y
and stop loss at price z
Thanks
tomas262
7 years ago #139122
Hello,
when is the order placed? Is there any rule?
So you want to set prices X, Y, Z manually as EA parameters?
msophe
7 years ago #139126
HI
I will set price manually ,
If buy at stop , I will set price at 1.12800 and close profit at 1.12990 and stop loss at 1.12569
I will do the same in sell stop , Once I set in parameter the E.A should wait , once target reach should activate the trading ?
tomas262
7 years ago #139189
Hello,
so let’s say market is trading at 1.11. You set the price for a buy order to 1.128 and TP 1.1299 and SL to 1.12569. Once market reaches 1.128 it will open a trade and places TP + SL? Am I correct?
msophe
7 years ago #139194
msophe
7 years ago #139225
HI
Can you show how to create this E.A in strategy quant E.A , by using this pending order as explained above .
Thanks.
tomas262
7 years ago #139244
Hello,
find the sample attached. It opens a stop order with prices set manually. You can also set order lifetime (# of bars)
msophe
7 years ago #139302
HI
I have attach in MT4 chart , but when order come to the right position e.a was not open order , i don’t know why , and i have o ready set pending order before
I have attach screen shot here , but when I create E.A in SQ i have added 15 of trailing stop.
tomas262
7 years ago #139303
Viewing 8 replies - 1 through 8 (of 8 total)