Support Board
Date/Time: Mon, 25 Nov 2024 07:31:58 +0000
Post From: Position Quantity during replay is always zero?
[2024-03-27 02:53:01] |
ertrader - Posts: 672 |
Something to try: Instead of: double PositionQuantity = PositionData.PositionQuantity; try: int PositionQuantity = PositionData.PositionQuantity; It's conceivable that a double may not be EXACTLY 0 but an int will make sure it is. Glad restarting worked. Also, you probably already do this but just to be sure.... before you compile, release the dll (release single dll and deny load) . After compiling, click allow load dlls. These options are in the Analysis/build custom studies/build menu. Date Time Of Last Edit: 2024-03-27 02:57:26
|