Squeeze Momentum


Category:
0
0

I am using TOS TTM Squeeze indicator. I saw a Squeeze Momentum indicator from Lazy Bear and is also on Pastebin. I can’t get it to work on TOS platform. Could this be done? Thanks, Dennis M

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on January 12, 2017 11:49 pm
1850 views
0
Private answer

Well since the TTM Squeeze comes with it’s own momentum component I am guessing that you are wanting to substitute something else? I did a Google search for this and seems to me the author is providing source code from some other platform.

We will avoid posting that source code in this discussion to ensure we avoid any potential copyright issues. 

So what you need here is someone to port the code over to Thinkorswim, yes?

If that is the case then we can work out a price to complete this. Fill out the contact form at the bottom of this page to initiate your request: https://www.hahn-tech.com/about/

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on January 13, 2017 9:20 am
0
Private answer

The momentum in the ttm_squeeze has filtering and smooth. The trend histogram is meant to be used

as a trend continuation for planned exit. Light blue changes to dark blue shows a decrease in momwntum.

If you want the momentum portion of the squeeze it part of the indicator package on TOS.

The way to get this into a script ;

Plot M = ttm_squeeze();

Hope this helps. Kevin

 

 

Marked as spam
Posted by (Questions: 2, Answers: 7)
Answered on January 13, 2017 7:35 pm
0

Thanks Kevin. The way I reference the histogram of the TTM Squeeze is like this:

input price = CLOSE;
input length = 20;
input nK = 1.5;
input nBB = 2.0;
input alertLine = 1.0;

def squeezeHistogram = TTM_Squeeze(price, length, nK, nBB, alertLine).Histogram;

( at January 13, 2017 8:12 pm)
0
Private answer

Hey Squeeze Fan,

Please copy and paste this into your watch list column;

def fired = TTM_Squeeze().SqueezeAlert;
def bars = sum(fired, 6);
def result = if bars > 0 and bars < 6 then 1 else 0;
addLabel(yes, if result then “FIRED (” + bars + “) ” else if bars == 0 then “SQZ” else “——“, if result then color.white else if bars ==0 then color.white else color.white);
assignbackgroundcolor(if result then Color.dark_green else if bars ==0 then color.red
else color.black);

You can set the time aggregation to your trading time frame to help your trading.

Kevin

 

Marked as spam
Posted by (Questions: 2, Answers: 7)
Answered on January 13, 2017 7:46 pm
0

Great post Kevin. I will also add that we have full coverage of this demonstrated here: https://www.hahn-tech.com/thinkorswim-watchlist-ttm-squeeze/

( at January 13, 2017 8:14 pm)
0
Private answer

I like your code better as your work is more polished. Thanks for letting me know about it. Each day I like to learn a new instruction and make that instruction work in a script. My goal as an inspiring trader is to develop the skills to do this for a living. Motivation “Survival”, I have chronic pain in the feet and I don’t know how much longer I can take. I am very selective about
where I spend my time learning and I look forward to more engagement
and learning in your “Business” of education and scripting for profit.

I wish you the best, if you do good that is great for me.

Kind Regards Kevin

Marked as spam
Posted by (Questions: 2, Answers: 7)
Answered on January 14, 2017 5:58 am