♥ 0 |
Hi Pete, Your TOS snippet below is to scan TTM Squeeze for the 2nd yellow bar after 2 or more red bars. Can you help me edit it to scan 2nd blue bar after 2 or more cyan bars? Thanks for any help! input price = CLOSE; RESOLVED
Marked as spam
|
Private answer
First order of business is to provide a link to that previous post you referenced: https://www.hahn-tech.com/ans/ttm-squeeze-scan-for-second-yellow-bar-after-2-or-more-red-bars/ Please realize that if you mention a previous post without providing a link to you will be frustrating a very large segment of our audience. Seems I have created a monster. How many different combinations of different colored bars do you suppose folks will think of? And each one requires a custom solution. If I thought it was popular enough, I might consider building a premium scan for this that allows a full range of flexibility for selecting various combinations of different colored bars by adjusting some simple user inputs at the top if the code. But I don't see a need yet. Bars on the TTM Squeeze histogram are colored according the to the following very simple rules:
So we take the code you copied from the previous post and substitute the rules for blue and cyan. I have retained the previous lines of code so that this solution contains all four colors. There are two scan signals. One for the original that was provided in the previous. The new one has been added for this current request.
Marked as spam
|
Please log in to post questions.
Please use the search tool of this forum to find solutions before requesting assistance. The Cyan colored histogram bars of the TTM_Squeeze has already been posed on multiple occasions in various forms.
https://www.hahn-tech.com/ans/scan-base-off-of-ttm-squeeze-color-of-histogram/
https://www.hahn-tech.com/ans/ttm_squeeze-first-cyan-bar-after-three-bars-of-any-other-color/
https://www.hahn-tech.com/ans/ttm-squeeze-scan-2nd-blue-bar-after-2-or-more-cyan/