HPotter

TTM Scalper Indicator v2.0

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.
Remove from Favorite Scripts Add to Favorite Scripts
////////////////////////////////////////////////////////////
//  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)
Thanks for sharing - can I presume the green dots are buy signals, the red, sell?
Reply
I think they are the opposite?
Reply
Theoreticaly - yes )
Reply
Can you give us more info on how to use the dots please ?
Reply
HPotter PRO sigmadict
Sorry, I have not this information.
Reply
sigmadict HPotter
i found it on TTM site, thank anyway! are the colors correct ?
Reply
HPotter PRO sigmadict
For scalpint - yes, for extraday - no ))
Reply
This is a bullshit indicator. I downloaded the TTM scalper for Ninjatrader and the output is totally wrong. This lazy bastard couldnt program proper plot (red for buy and green for sell), I wasted time reversing this shitty program to NT. Friends dont use this. I wish I could post some screenshot of how it looks NT. Spend sometime reading Carter's book and you will figure out. Dont rely on this crap!!
Reply
Change color to green to red and red to green.
Reply
someone please share code for TTM trend Indicator....its awesome to predict anything using TTM trend indicator and TTM queeze ..
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out