♥ 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
|
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
|
|
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
|
|
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
|
Please log in to post questions.
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/