# TTM Scalper Indicator v2.0

16654瀏覽
16654
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.
```////////////////////////////////////////////////////////////
//  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)
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)```
DONATE/TIP

BTC: 3FKWwtaYrf5NHZzaCi1fyAfQj7XSgtyCqe

## 評論

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!!

someone please share code for TTM trend Indicator....its awesome to predict anything using TTM trend indicator and TTM queeze ..

sameer_patel18in
@sameer_patel18in, UCS_Trend

Thanks for sharing - can I presume the green dots are buy signals, the red, sell?

geometricThinking
I think they are the opposite?

geometricThinking
Theoreticaly - yes )

Change color to green to red and red to green.

Can you give us more info on how to use the dots please ?