TradingView
ceyhun
May 26, 2019 12:32 PM

PullBack Dave Landry  

SPDR S&P 500 ETF TRUSTArca

Description

PullBack Dave Landry

Release Notes

v4 fix
Comments
Guimers
Hello, is the moving average using by Dave Landry Exponential or Simple?
ceyhun
@Guimers, yes, I added it because it is used in the formula

// Moving Average proper order
BullishMAs = iff(sma(close,10) >=ema(close,20) and ema(close,20) >= ema(close,30),1,0)
BearishMAs = iff(sma(close,10) <= ema(close,20) and ema(close,20) <= ema(close,30),1,0)
More