Login Page - Create Account

Support Board


Date/Time: Sat, 15 Mar 2025 07:35:11 +0000



Post From: s_SCPositionData Variable .OpenProfitLoss Does Not Return Correct Value On Sim Mode

[2022-07-08 11:11:15]
User36703 - Posts: 29
I think you do not understand correctly, I am getting positionData.OpenProfitLoss in Points from a symbol for a position different than the symbol of the chart the trading study is on which is making the call. I can work with that, e.g. using Currency Value Per Tick and Tick Size stored in Symbol Settings.

But I got this unclear value if I making call from the same symbol where is an opened position.