Login Page - Create Account

Support Board


Date/Time: Sat, 01 Mar 2025 16:52:57 +0000



Post From: Problem with PositionData.PriceHighDuringPosition

[2021-10-07 21:07:44]
User890876 - Posts: 3
I'm using PositionData.PriceHighDuringPosition in my trade strategy and despite I have a position that is already filled, this attribute PriceHighDuringPosition return the following value when i print them on the consol:
179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368

any idea what the problem could be ?

code:
if (TradeEntry1.TradeType > 0 ) {
          NewPrice = PositionData.PriceHighDuringPosition - bandwidth;
        }
br