♥ 0 |
Hi, Need help in thinkscript. I suppose ‘def hh = highest(high[10], 10)’, will give me the highest high of 10 bars starting from 10 bars back. Now how to get the stochastic FullK value of this highest high. Thanks in advance. RESOLVED
Marked as spam
|
Private answer
This has already been done, mostly: https://www.hahn-tech.com/ans/get-close-and-low-of-highest-high/ You may look at that solution and wonder how to tweak it so that is reports the Stochastic FullK at the highest high instead of the close and low. But it’s really the same exact thing. First, just like algebra, we need to factor out the index value at the start and apply it at the end. Did I loose you? Ok so in place of this:
We do this:
This permits us to apply the solution from the previous post I linked at the start of this answer.
Notice, because we factored out the 10 bar shift from the beginning, this enables us to use Marked as spam
|
Please log in to post questions.
Thanks much appreciated.