TC2000.com• Download software • Tutorial videos • Subscription & data-feed pricing • Class schedule
TC2000Brokerage.com• New account application • Trading resources • Margin rates • Stock & option commissions
Worden Discussion Forum
Customer Training & Support
PCFs, EasyScan and Custom Indicators
PCF - Calculate average of a calculated value.
I'm deriving MACD for a class presentation.
I calculated EMA12 (XAVGC12) and EMA26 (XAVGC26), and
EMA12 - EMA26 (XAVGC12 - XAVGC26)
I now want to create an indicator that is the XAVG of (EMA12 - EMA26) for a period of 9 bars.
I'm having trouble with this last calculation; I get error messages.
Can you please help with this PCF.
You can't put an operator (- + * /) inside of an XAVG ( ).
The formula you're looking for is:
XAVG(XAVGC12,9) - XAVG(XAVGC26,9)
Thank you, StockGuy.
Happy New Year.