Hi...I was wondering if one of you guys who use Tradestation could help a lowly Supercharts user. I want to see the formula Tradestation uses for their MACD indicator. I can't see it because I don't have Powereditor. I have this...MACD(PRICE,FASTMA,SLOWMA),but the canned MACD also has an MACDMA which is what I want to know how to express for a custom indicator. Thanks
inputs: FastLength( 12 ), SlowLength( 26 ), MACDLength( 9 ) ; Plot1( MACD( Close, FastLength, SlowLength ), "MACD" ) ; Plot2( XAverage( Plot1, MACDLength ), "MACDAvg" ) ; Plot3( Plot1 - Plot2, "MACDDiff" ) ; Plot4( 0, "ZeroLine" ) ; { Alert criteria } if Plot3 crosses over 0 then Alert( "Bullish alert" ) else if Plot3 crosses under 0 then Alert( "Bearish alert" ) ;