EQUIDISTANT PENDING ORDERS
-
Hello friends, please help me out.
I would like my robot to place for example a buy trade and a sell stop order at the same time. Sell stop should be 10pips below the buy trade. And when the sell stop order is triggered, a buy stop order should be placed 10pips above the sell stop. Appreciate your help. -
This should work (haven't tried it): https://fxdreema.com/shared/LsGwrcCnb
You create a buy order with its 10 pips stop. Should the buy order get stopped out, you detect it in "OnTrade" and place a pending buy order with an offset of +10 pips (this should make it a pending buy stop). -
@catequil Thanx but I wouldnt want the buy order to be stopped out and I would like the buy and sell stop orders to be placed at the same time.
Link below shows how it should be.
https://fxdreema.com/shared/SHToP6sN
Buy stop should be placed instantly as sell stop is triggered. -
@agitins This cover the fist part of what you want:

Now you can create the following part in which a buy pending is created the sell is activated. And don't forget to reinitialize the variable.
-
@l-andorrà Thanx a lot sir, I have not seen any rules of this forum, am not sure if they allow exchange of contacts, I would get your contacts and get a way of working with you if you don't mind.
-
@agitins Technically there are no written rules in this forums, you're right. I simply try to decrease the number of duplicated threads every time I find them. You can always contact any fxDreema user by sending private messages.
-
@l-andorrà Sir can you please send the link of this screenshot if u have it im struggling to find modify variables. Blook
-
@balonginkosi-buthelezi I erased the project, sorry. However, you can replicate it on your own from my screenshot. All blocka are using the defailt setting except for those fields shown above.
-
@l-andorrà thanks the problem somethings are confusing please if the is another way u can help 'leease do
-
@l-andorrài tried I couldn't do it
-
@balonginkosi-buthelezi C'mon, man!
You just need to use those four blocks. Create the variable you see there and then embed it on the same places. Are you really tryimg me to do it for you? 
-
@l-andorrà . This variable thingies is really difficult...
-
@l-andorrà I'm new in fx dreema l dont even know how variables work I have been struggling when. It. Comes to them please. Help , I will. Also do research
-
@balonginkosi-buthelezi I recommend you to create a new thread with a specific question instead of taking this one for it, please.