Create Sell PO after Buy PO trigger
-
Hi fxDreema and Friends,
i am new here, hope to have a guide from you guys.

By the way, i would like to do something like below picture.

The difficulty i am facing right now is, i want to create "Sell Pending Order" if or after "Buy Pending Order" is trigger. The things happen right now is, it will position Sell + Buy PO + Sell PO all together.
I want to create Sell PO if or after Buy PO is trigger, as long its not trigger, it will not create anything.
It really appreciate with your help.
Thanks,
-
@sobrishariff Fisrtly, disconnect block 8 from block 7. Then you will need to use the 'on trade' tab. Theer you need to use a 'Trade created' block on top and select 'buy' inside it. Below that block you can connect the sell pending order.
-
@l-andorrà hi, sorry for late reply, i just can tested your suggestion today :D. and its works!! Thanks for that, but i am facing the same problem when i want to continue to create BUY PO. I already follow as you suggest, but it didn't work. Here are the details that i do,

After Sell from SELL PO is created, it should create BUY PO as well, but in this case, its only create SELL and didn't create BUY PO. Below is the photo from backtest.
In the block 7, i already select Select SELL inside it.

On order number 3 SELL STOP trigger, it should create SELL with BUY PO. But it didn't happen. Maybe i am not doing the correct way.
Really appreciated with you advice :D.
Thanks,
Sobri -
@sobrishariff Firstly disconnect blocks 6 and 7. Then create a group number for blocks 5 and 6. Then block 7 should be looking for that same group number.
-
Hi @l-andorrà , thank you for your advice and really appreciate it, by the way i am thinking that i am doing wrong again, because i am not really understand about the Group that you mention. below are the setup that i do. Hope you can advice me if i am doing the wrong setup.

Here is the shared link if you want to see it. https://fxdreema.com/shared/RFjx8gumc
Hope to hear from you soon.
Thank you again for your help and advice, i really appreciate it!.
-
@sobrishariff Not a single group has been defined on the 'on tick' blocks, man!

-
Hi @l-andorrà , i am really sorry to disturb you again, but i am not understand how the Group works and to create it. Can you help to explain how the group works?
I tried to create group, it is correct like this?

here is the link the example. https://fxdreema.com/shared/yaexXBv1e
Thanks,
-
@sobrishariff You need to specify the group numbers on block ID 1, not only in both sell/pending blocks. Additionaly, I recommend you to create 2 group numbers, not just one.
-
@l-andorrà , thank you for your reply, but i am not understand about the concept of group, i mean how it works between group by group. By the way, do you have any link that i can learn or study about it? Currently i am going through your video in youtube.
Really appreciate if you can share any link or related tutorial that i can refer and learn on fxDreema.
Thanks.