Login Page - Create Account

Support Board


Date/Time: Mon, 16 Sep 2024 19:47:49 +0000



Post From: SCDateTime vs SCDateTimeMS in Persistent Variables

[2015-09-25 04:05:42]
CustomIndicators - Posts: 126
Heya SC Engineers, I've got a quick question for ya. I record pivot point SCDateTimes for later reference, in Persistent Variables. As I now realize that I actually need to have millisecond data in there as well, I tried to see if I could use SCDateTimeMS as a persistent variable. It was giving me errors when I tried to do that.

If I pull the SCDateTimeMS, will it be possible for me to stuff that into the SCDateTime persistent variables, to make sure I'm getting the correct candle in later calculations? Is there a way to easily pull the candle's index from a SCDateTimeMS?

Hopefully I am describing my question well enough. I hope to hear from you soon!