TTM Squeez bug

https://tickertape.tdameritrade.com/tools/fearless-technician-ttm-squeeze-indicator-15072#:~:text=The%20TTM%20Squeeze%20indicator%20looks,and%20below%20a%20horizontal%20axis.



Looks like TTM Squeeze has a zero baseline and is dual directional so this:


LongEntrySignal = ((SQ_TTMSqueeze(TTMSqzMmnIsFllBBPrd1,TTMSqzMmnIsFllKCPrd1, TTMSqzMmnIsFllLinRegPrd1,TTMSqzMmnIsFllMomPrd1,0.6,4.2, )[2] is falling
   and (Bar Hour[0] > Bhour))
   and (Bar Hour[0] < Ehour));


ShortEntrySignal = ((SQ_TTMSqueeze(TTMSqzMmnIsFllBBPrd1,TTMSqzMmnIsFllKCPrd1, TTMSqzMmnIsFllLinRegPrd1,TTMSqzMmnIsFllMomPrd1,0.6,4.2, )[2] is falling
   and (Bar Hour[0] > Bhour))
   and (Bar Hour[0] < Ehour));


Should be this:


LongEntrySignal = ((SQ_TTMSqueeze(TTMSqzMmnIsFllBBPrd1,TTMSqzMmnIsFllKCPrd1, TTMSqzMmnIsFllLinRegPrd1,TTMSqzMmnIsFllMomPrd1,0.6,4.2, )[2] is falling
   and (Bar Hour[0] > Bhour))
   and (Bar Hour[0] < Ehour));


ShortEntrySignal = ((SQ_TTMSqueeze(TTMSqzMmnIsFllBBPrd1,TTMSqzMmnIsFllKCPrd1, TTMSqzMmnIsFllLinRegPrd1,TTMSqzMmnIsFllMomPrd1,0.6,4.2, )[2] is rising
   and (Bar Hour[0] > Bhour))
   and (Bar Hour[0] < Ehour));




You may want to double check the set levels are also reversing properly.

Attachments
No attachments
  • Votes +1
  • Project Extending SQ
  • Type Bug
  • Status Fixed
  • Priority Normal

History

b
#1

bentra

19.09.2022 17:06

Task created

CG
#2

Chris G

19.09.2022 17:36
Voted for this task.
IH
#3

clonex / Ivan Hudec

19.09.2022 17:44

Status changed from New to Fixed


Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please