Scan using 2, 3, and 4 Day Aggregation Periods


Category:
0
0

The 2, 3, and 4 Day Aggregation Periods are not available in the scanner.

Is it possible to add code to a scan to emulate 2, 3, and 4 day agg. periods ?

Thank you.

Marked as spam
Posted by (Questions: 2, Answers: 0)
Asked on November 6, 2019 2:25 pm
89 views
0
Private answer

"is it possible". Perhaps. Certainly not for free. This would require some very complex code. One of the main issues to address right from the start.

  1. How do you decide which days to pair up?
  2. If you do a 2 day aggregation period, do you combine Monday and Tuesday? Or Tuesday and Wednesday?
  3. How do these days get combined when you select a 2 Day aggregation period on a chart?
  4. Does it vary based on the current day of the week or the first day of the week on the chart?

Each week we have an odd number of trading days. You can't evenly combine them to create a 2 day, 3 day or 4 day aggregation period.

It would take enormous amounts of complexity just to compute the basics, Open, High , Low, Close, Volume. Then you would need to build a custom version of any indicator you would want to apply. Many of which would be far too complex to accomplish in a simple scripting language like Thinkorswim.

In summary. Just move to another platform that supports this sort of thing natively.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on November 6, 2019 6:56 pm