TTM Scalper Alert
Forums › ProRealTime English forum › ProBuilder support › TTM Scalper Alert
- This topic has 6 replies, 4 voices, and was last updated 2 years ago by GraHal.
-
-
01/23/2022 at 9:25 PM #186392
Would it be possible to code the TTM Scalper Alert indicator for PRT?
Attached is a picture of how this looks on a chart. I don’t have the original code but below are a couple of links explaining how it works.
Thanks in advance for anyone that can help 🙂
https://tlc.thinkorswim.com/center/reference/Tech-Indicators/studies-library/T-U/TTM-ScalperAlert
https://intercom.help/simpler-trading/en/articles/3291791-about-scalper-alert
TTM Scalper Indicator – A Few Key Points:
The TTM Scalper Indicator is a visual way to help determine whether to buy or sell against a pivot level.
The TTM Scalper Indicator white Paint bar marks a “pivot high” or “pivot low.” This is done after 3 higher closes or 3 lower closes. The
faster the time frame, the faster the confirmation.What is The Scalper?
The Scalper indicator identifies probable highs and lows for a charted symbol. The link below shows how the scalper alert works.
The indicator determines pivot highs and lows by using a “trigger bar”. The trigger bar is the first bar that has a higher low (or lower high) than the previous bar.
The next bar that closes above the high of the trigger bar (or low for down signals) paints the previous bar which now becomes the swing low (or high) bar and the beginning of a new swing.
01/24/2022 at 1:57 AM #186412If you search this forum for TTM you may finf some links that may be of some help.
01/24/2022 at 2:05 PM #186448Thanks Roberto
I did try a search first but looking for TTM only shows threads about TTM Squeeze or TTM Waves, not anything similar to the TTM Scalper Alert I mentioned above.
Scalper alert seems different to the other TTM indicators already discussed.
01/24/2022 at 2:26 PM #18645101/24/2022 at 3:57 PM #186465TTM scalper indicator12345678910111213141516////////////////////////////////////////////////////////////// Copyright by HPotter v2.0 29/09/2014// TTM scalper indicator of John Carter’s Scalper Buys and Sells. The methodology// is a close approximation of the one described in his book Mastering the Trade.// The book is highly recommended. Note the squares are not real-time but will// show up once the third bar has confirmed a reversal.////////////////////////////////////////////////////////////study(title="TTM scalper indicator", overlay = true)width = input(2, minval=1)triggerSell = iff(iff(close[1] < close,1,0) and (close[2] < close[1] or close[3] <close[1]),1,0)triggerBuy = iff(iff(close[1] > close,1,0) and (close[2] > close[1] or close[3] > close[1]),1,0)buySellSwitch = iff(triggerSell, 1, iff(triggerBuy, 0, nz(buySellSwitch[1])))SBS = iff(triggerSell and buySellSwitch[1] == false, high, iff(triggerBuy and buySellSwitch[1], low, nz(SBS[1])))clr_s = iff(triggerSell and buySellSwitch[1] == false, 1, iff(triggerBuy and buySellSwitch[1], 0, nz(clr_s[1])))clr = iff(clr_s == 0 , green , red)plot(SBS, color=clr, title="TTM", style = circles, linewidth = width)1 user thanked author for this post.
01/24/2022 at 10:27 PM #186513I’m not sure what TTM stands for, but there seem to be a few indicators that use this abbreviation and maybe are all related to the book that’s mentioned in the start of the code above?
Thanks for posting some code for this, @supertiti. Is anyone able to convert this to PRT? Thanks in advance if someone with the skills has the time.
01/25/2022 at 9:03 PM #186622 -
AuthorPosts