Reply

HOW TO SET PENDING ORDER IN EA

8 replies

msophe

Subscriber, bbp_participant, community, 124 replies.

Visit profile

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

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

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?

0

msophe

Subscriber, bbp_participant, community, 124 replies.

Visit profile

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 ?

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

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?

0

msophe

Subscriber, bbp_participant, community, 124 replies.

Visit profile

7 years ago #139194

yaahh , your correct sir .

 

Thanks.

0

msophe

Subscriber, bbp_participant, community, 124 replies.

Visit profile

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.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

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)

0

msophe

Subscriber, bbp_participant, community, 124 replies.

Visit profile

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.

 

 

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #139303

Hello,

 

there was an error that needed to be fixed. Try the EA attached

0

Viewing 8 replies - 1 through 8 (of 8 total)