• Get $30 off VIP with code SUMMER30. Ends July 27. Happy trading!

Scan Timeframe question

Vorlauf

New member
Here is the code I have so far;
input aggregationPeriod = AggregationPeriod.Min;
The question is how to change this to allow for all timeframes 1 minute to 1 day
 

BenTen

Administrative
Staff
VIP
Change MIN to DAY if you want to pull data from the daily timeframe instead of minute.

Note: ToS scanner does not allow multiple aggregation, so it probably will not work if your intention was to use this to scan for stocks.
 

Similar threads

Top