Get trade entry price
-
Hi everyone,
I am trying to set a stop loss based on the trade entry price, would any one be able to suggest how to get the trade entry price? https://fxdreema.com/shared/9JEmBljHc
Thanks
-
if you will work with open price, you can play with blocks:
For each Trade + modify stops (here can you directly modify stops relative to open price) ....
For each Trade + Modify Variables (select "in loop Trade order in loop")
dont forged select parameters in For each Trade to define what trade you will get, it is loop - sometimes it is better to work inside this loop like outside
there even exist better solution, but sometimes I am lazy to think
-
__if you will work with open price, you can play with blocks:
For each Trade + modify stops (here can you directly modify stops relative to open price) ....
For each Trade + Modify Variables (select "in loop Trade order in loop")
dont forged select parameters in For each Trade to define what trade you will get, it is loop - sometimes it is better to work inside this loop like outside
there even exist better solution, but sometimes I am lazy to think :D[/quote:kt4yum9j]Thanks

-
____if you will work with open price, you can play with blocks:
For each Trade + modify stops (here can you directly modify stops relative to open price) ....
For each Trade + Modify Variables (select "in loop Trade order in loop")
dont forged select parameters in For each Trade to define what trade you will get, it is loop - sometimes it is better to work inside this loop like outside
there even exist better solution, but sometimes I am lazy to think :D[/quote:2t8j34cv]Thanks :D[/quote:2t8j34cv]
Hey miro1360, I have tried what you suggested, but I think that "open price" refers to the open price of each candle... I would like to base the stop loss on the entry price of the trade, because otherwise I get the stop loss on the wrong candle (see attachment).
Do you think this can be done?
This is what I have so far... https://fxdreema.com/shared/9aemECuBd
......
Screen Shot 2016-07-18 at 21.49.38.png
Screen Shot 2016-07-18 at 21.51.54.png -
teobusetti, how many variations of the same EA do you have?

In pink blocks, if you see Open Price, this is the price where the trade/position/order is opened. No candles here
-
__teobusetti, how many variations of the same EA do you have?

In pink blocks, if you see Open Price, this is the price where the trade/position/order is opened. No candles here[/quote:1ox4y3ky]
ahahah...I was just trying different things to see if I got it right

Thanks for the help, it seems to be working as I expected now