Force CamarillaPoints study to use extended hours data


Category:
0
0

Hi Pete, I am trying to make the Pivot Points study in thinkorswim to include the extended hours prices. As defined in TOS, it only considers regular trading hours. Could you please help me with this? What changes should I make to the original code? It’s driving me crazy! Thanks in advance!

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on June 19, 2021 3:48 pm
59 views
0
Private answer

I had to updated the title of your question because the one you entered was far to vague to be useful for the rest of our viewers. You entered a title of: "Camarilla Pivot Points Thinkorswim"

That title did not include a description of what you were trying to achieve. This is very important that we get the question titles correct so that this post shows up in searches when viewers are trying to solve this same issue.

Unfortunately, there is no simple way to force the CamarillaPoints study to included extended hours data. The chart study computes it's values by reading from the daily, weekly or monthly time frames. Those time frames do not include any extended hours data and they cannot be configured to do so.

The only solution possible would be to re-write the entire code to read data directly from the intraday time frame and use recursion to capture the data points used to compute each level. This is certainly possible but the complexity and scope of such a solution is light-years beyond the scope of solutions I can provide free of charge in the Q&A Forum.

 

Marked as spam
Posted by (Questions: 37, Answers: 4087)
Answered on June 19, 2021 4:13 pm
0
Thanks Pete. Is that something you could do? I would be interested in contracting your services for this.
( at June 20, 2021 5:44 pm)
0
It is possible but there will be some limitations. If you submit a custom project request we can discuss the details and I can advise you as to how much of your specifications can be achieved in Thinkorswim.
( at June 20, 2021 6:46 pm)