Momentum Ranking Scan Including Negative Results

Hi.

I have the the following momentum ranking scan to only include scores above 10.

//Set Momentum Periods
M1=MOMENTUM(Month(PERIODAMOUNT=1), TYPE=Percentage, TOOLCALCTYPE=Percentage, BARS=1);
M2=MOMENTUM(Month(PERIODAMOUNT=1), TYPE=Percentage, TOOLCALCTYPE=Percentage, BARS=3);
M3=MOMENTUM(Month(PERIODAMOUNT=1), TYPE=Percentage, TOOLCALCTYPE=Percentage, BARS=6);
M4=MOMENTUM(Month(PERIODAMOUNT=1), TYPE=Percentage, TOOLCALCTYPE=Percentage, BARS=12); 

//Calculate Momentum Score 
M5=(M1+M2+M3+M4)/4; 
//Momentum Score greater than 10 
M5>10

However it is also including negative scores below zero.
Please see attached.

Tim

Hi,

I’ve run the script in a scan over the ASX and the results appear to be correct when checked on the Watchlist. Can you try the same settings i am using here and let me know if the issue continues or not:

Ex3

Hi Matthew,

I had the scan Date Range set to Last Year (which I thought was need because M4 is for 12 months) and Data Timeframe set to 1 Month (M1 is for 1 month).

Changing to Last Month/1 Day worked.

Is there any further information/videos about these scan variables?

Thanks

Tim