Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 14:21:02 +0000



[Programming Help] - VWAP Changing start date (In the code)

View Count: 460

[2020-04-02 19:38:52]
User807787 - Posts: 41
I am looking at SCSFExport scsf_VolumeWeightedAveragePrice(SCStudyInterfaceRef sc) in Studies3.cpp

I want to be able to either:

1. Have the option to set the date portion of the input to be (current date) instead of eg.2020-04-02.
Or
2. Not take an input for date, and have the code fill in the current date.

Where in the code would I make this change? I assume for option 2, I would just replace the input call to sc.GetCurrentDateTime()?

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account