Hi,
I use the OnTick event to manage the position. When I want to have the current Profit requesting the position with PositionGetDouble(POSITION_PROFIT), I have only the previous tick Profit.
How can I have the very current datas using OnTick, or another event...
Christian
Quite easy :
Look at the order console : the profit is always ahead of the datas from PositionGetDouble(POSITION_PROFIT).
Christian
Quite easy :
Look at the order console : the profit is always ahead of the datas from PositionGetDouble(POSITION_PROFIT).
Christian
Does that mean that if I use another server (from my broker in my case), the prices are not "true" ?
Does that mean that if I use another server (from my broker in my case), the prices are not "true" ?
Thanks.
Would you have a hint for me to go ahead to solve this problem ?
Christian
Thanks.
Would you have a hint for me to go ahead to solve this problem ?
Christian
SOLVED :
Need to refresh the graph to have very last datas shown.
SOLVED :
Need to refresh the graph to have very last datas shown.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I use the OnTick event to manage the position. When I want to have the current Profit requesting the position with PositionGetDouble(POSITION_PROFIT), I have only the previous tick Profit.
How can I have the very current datas using OnTick, or another event...
Christian