How can I incorporate the TTM scalper signal into a custom scan?


Category:
0
0

A viewer asks: For the scalper I see very little code in the thinkscript itself. How would I go about conditioning my scan so that it checks if the previous bar had a scalper alert. So adding one more condition like “and Salper[1] == yes?” if you know what I mean. Sorry I have limited scripting knowledge and I learned 100% of thinkscript from your videos.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Asked on November 9, 2016 12:09 am
3269 views
1
Private answer

I can tell you from experience you are not likely to get the results you seek. The scalper alert is programmed to look 2-3 bars forward, only changing the color of the bar once the signal is confirmed 2-3 bars later. So you can never check if the scalper alert triggered in the previous bar. Now, perhaps you can check if scalper alert triggered 4 bars back. But by then the price has moved and you loose the advantage of an early entry you are seeking. The Scalper alert looks like it gives perfect signals that make lots of profit. But because of the 2-3 bar delay in confirming the signal, it can never be traded on a live chart.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on November 9, 2016 12:10 am
0
Private answer

I would like to experiment with the scalper alert in a scan even though its 4 cars back. Would you mind showing me the code for that? Thank you

Marked as spam
Posted by (Questions: 0, Answers: 2)
Answered on February 15, 2018 2:06 pm
0

Not possible. I’ve tried to get it to work. The scalper alert is written in such a way to make it impossible.

Get all the ugly details here: https://www.hahn-tech.com/ans/assignbackgroundcolor-not-working-as-expected/
( at February 15, 2018 2:24 pm)
0
Private answer

It seems that some time after this post was published some changes were made to the TTM_Scalper alert. It is possible to get an alert two bars after the swing highs and lows appear on the chart.

Details here:

https://www.hahn-tech.com/ans/how-to-add-audible-alertnotification-to-ttm-scalper-alert/

 

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on February 12, 2021 8:51 am

About Pete Hahn

For those trying to contact me about our professional services you will find all those details here: https://www.hahn-tech.com/about/ Any questions not related to our professional services or premium indicators should be directed to the comment section of the applicable video or you may post a question in our Q&A Forum: https://www.hahn-tech.com/thinkorswim-forum-topics/