Support Board
Date/Time: Mon, 13 Jan 2025 02:38:02 +0000
Post From: TTM Scalper Alert
[2017-03-17 16:14:48] |
User26753 - Posts: 43 |
I have tried to send you an email, but it must be wrong because I can't send you any mail The indicator I want for sierra charts is the John Carter's TTM Scalper Aler. I have found in internet that its code is somethong like this: 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) If you can help me please send me time to develop it and price to may email consultor@clapuente.com |