Support Board
Date/Time: Sun, 02 Nov 2025 13:21:27 +0000
Post From: Live equity peak & valley calculation : add Low While Open & High While Open datetime
| [2022-07-09 16:39:56] |
| Trader & Sierra++ developer - Posts: 110 |
|
Thanks for your updates and final answer. I give up, even if I really don't understand why it is so complicated to update a member each time another member is updated, like : if ((currTrade.isOpen) && (currPrice > currTrade.highWhileOpen)) { currTrade.highWhileOpen = currPrice; currTrade.highWhileOpenDateTime = now(); // <---- } As a senior dev/architect/CTO myself, I've always thought SC was a great, powerful but strange piece of software. Not being able to add such a small feature is very surprising and uncommon. Thanks anyway. |
