Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 16:50:38 +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: 109
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.