Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537
|
Try printing the value and see what it starts and ends with every day.
If I recall correctly (haven't used NT in about 18 months...), you need to store and reset this value into a private var daily.
At beginning of day, take yesterdays value from Performance.* from the if session.begin() or whatever it is (can't remember), and then after each new trade you simply take the result of that trade and add it to your private value.
Mike
|