Consulting | Custom Trading Systems
Built-In Indicators | Custom Indicators

May 2016 Stocks and Commodities Traders Tips

Zero In On The MACD

AIQ Version:

Original article by Barbara Star
AIQ Code by Richard Denning

Figure 1 shows the MACD histogram on a chart of Viacom (VIAB) with the color bars and the 34 and 55 bar exponential moving averages (EMA). Note that I did not code the weighted moving average (WMA) but substituted the EMA for the WMA. I chose to view the chart of VIAB by running the EDS, “Zero MACD.eds” on 3/14/16 and examining the alert messages on the report “List”. VIAB is the only one on that date that showed a cross up on the MACDhist (see Figure 2 for a look at part of this report for 3/14/16).


Figure 1 – chart of VIAB with MACDhist, color bars, with the 34 and 55 bar EMAs.

Figure 2 – part of the EDS custom report “List” that shows the MACDhist values on 3/14/16, the color status, and any alerts that were generated for that day.

(right click, choose "Save As")


Traders Studio Version :

Original article by Barbara Star
Traders Studio Code by Richard Denning

The following code files are contained in the download from the websites:

  • Indicator: ZERO_MACD_IND – an indicator plot to show the zero MACD and the color bar study
Figure 1 shows the MACD on a chart of Apple Inc. (AAPL) with the color bars that are based on whether the zero MACD is above zero (blue bars) or below zero (red bars).


Figure 1 – chart of AAPL with zero MACD, color bars.

Traders Studio Code:
(right click, choose "Save As")













Disclaimer | Privacy Policy | Contact Us | Spam Blocker | ©2013 Traders Edge Systems