♥ 0 |
Could you please advise what I need to modify in this script so it will show a count in the red cells ( to know how many counts the stock has been in the squeeze ) input price = CLOSE; def squeezeDots = TTM_Squeeze(price, length, nK, nBB, alertLine).SqueezeAlert; plot data = alertCount;
Marked as spam
|
Private answer
First thing we need to provide here is a link to the video showing where the viewers can get a full explanation of that code you posted. Please be sure to always include a link to the original source so the rest of our viewers are able to get the full context of the questions you post. https://www.hahn-tech.com/thinkorswim-watchlist-ttm-squeeze/ The original code counts the number of green dots. The reason for this is explained in the video linked above. According the author of the TTM Squeeze, the number of red dots has absolutely no bearing on making a trade. However I understand that some folks will prefer to work out their own methods of using this indicator. So I will provide a version of this code that counts red dots instead of green.
Marked as spam
|
Please log in to post questions.