 # Indicators: Time and Money Chart Channel & Demark Pressure Ratio Time and Money Chart Channel
------------------------------------------------------

TAM channels, introduced by Stuart Belknap, is part of his TAM charts setup.

These bands use SMA as the basis. 3 lines above and below paralleling the centerline (basis) represent one, two and three sigmas of the actual data points from the mean centerline.

Stuart prefers display of volatility sigma and SMI ( Stoch Momentum) along with the price grid. I will post his entire setup in a followup post,

Tom Demark Pressure Ratio
-----------------------------------------------------

As explained by Tom Demark:
>>
>> TD Pressure is an indicator, shown as an oscillator, with more precision and consistency than
>> Money Flow and On-Balance Volume . It allows you to determine the critical buying and selling
>> levels so that you can enhance profitability with better trade location
>>

75 and 25 are the usual overbough/oversold levels.

ftp:// ftp .aspenres.com/documentation/ DeMark . pdf

List of my free indicators: http://bit.ly/1LQaPK8
List of my indicators at Appstore: http://blog.tradingview.com/?p=970

```//
// @author LazyBear
//
// If you use this code in its original/modified form, do drop me a note.
//
study("Time and Money Chart Channel [LazyBear]", shorttitle="TAMC_LB",overlay=true)
length = input(41)
showPriceTracker=input(false, type=bool)
prev(s, x) =>
y=abs(round(x))
s[y]

halfLength = floor( length /2 )
basis = sma( close, length )
plot( basis, title="Minor term avg", color=maroon, style=3 )
yom = 100 * ( close - prev( basis, halfLength ))/prev( basis, halfLength )
avyom = sma( yom, 2 * length )
varyom = sma( yom * yom, 2 * length ) - avyom * avyom
som = prev( sqrt( varyom ), halfLength )
sigom = sma( som, length )

plot( basis * ( 1 + 0.01 * sigom ), title="Ch+1", color=red, trackprice=showPriceTracker )
plot( basis * ( 1 - 0.01 * sigom ), title="Ch-1", color=green, trackprice=showPriceTracker )
plot( basis * ( 1 + 0.02 * sigom ), title="Ch+2", color=red, trackprice=showPriceTracker )
plot( basis * ( 1 - 0.02 * sigom ), title="Ch-2", color=green, trackprice=showPriceTracker )
plot( basis * ( 1 + 0.03 * sigom ), title="Ch+3", color=red, trackprice=showPriceTracker )
plot( basis * ( 1 - 0.03 * sigom ), title="Ch-3", color=green, trackprice=showPriceTracker )
```