Default Scripts

Hi,

I was looking at one of your default scripts. It is called “MACD Cross Above Signal 1.” I ran a scan of the Russell 300 with it. The script is:

MD1 = MACD(TYPE=COMBO, BAR1=12, BAR2=26, OSC=9); 
MD1.OSCILLATOR CROSSESABOVE MD1.AVERAGE

This looks like it says, return securities where the MACD oscillator line (the 12ema - 26ema) crosses above the average line (the smoothed oscillator line).
I was surprised to see it return securities that look like the following:

Screenshot 2021-08-07 014154

Please let me know how to read this default script please. Thank you.

Hi,

What time frame did you run the scan on? In your screen shot it is a Weekly chart, and when i apply the script to a Show Bar, there are no recent hits. If however i swap to a Daily chart, there are results found, and they are correct.