to get real price
to get real price
12 Jul 2020, 17:21
Hi
How to get the real price of an open position? I tried several options available such as the highest or closing price but the value obtained is always equal to the opening price of the position.
Could someone help?
Thank you
Replies
eliezer_barros
13 Jul 2020, 16:23
RE:
PanagiotisCharalampous said:
Hi Eliezer,
What do you mean when you say "real price of an open position"? What is a real price of an open position?
Best Regards,
Panagiotis
Hi Panagiotis
I am trying to get the price during the open market and I think the example is better to show what I need.
ie...If I wish to open the position when the price to reach more than 15 pips after Open Price of the current candle, I need to know the current price to compare, but in all library I don't found a function to do this.
Please, can you send me a information?
tks
Eliézer
@eliezer_barros
PanagiotisCharalampous
13 Jul 2020, 16:25
Hi Eliezer,
You can get the current spot prices using Symbol.Bid and Symbol.Ask properties.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Jul 2020, 09:37
Hi Eliezer,
What do you mean when you say "real price of an open position"? What is a real price of an open position?
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous