- This topic has 2 replies, 2 voices, and was last updated 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Optuma Forums › Optuma Scripting › Momentum Ranking Scan Including Negative Results
Hi.
I have the the following momentum ranking scan to only include scores above 10.
1 2 3 4 5 6 7 8 9 10 11 12 |
//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:
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
Cookie | Duration | Description |
---|---|---|
cname | 14 days | This cookie is set by Optuma. The cookies is used to store the users campaign selection for selecting the correct version of Optuma to trial and is "Necessary". |
cookielawinfo-checbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |