Summation function – limit?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #224575 quote
    OllieB
    Participant
    Junior

    Hi,

    Can any one help with the following line in a screener please?

    c4 = summation[100](ma200 > ma200[1]) = 100

     

    It is part of a larger screener which returns a load of stocks but when this line is added the return set goes to zero.  To make it interesting, if i convert the same logic from the screener to an indicator, it works fine!

    So my question is, is there a limit to total value I can sum in a screener?  Is it limited somehow:

    • By the number of items to sum, or
    • The running total that the summation must calculate as part of the function?
    • Or is it somehow linked to a limit elsewhere, such as an amount of pre-loaded data for a screener?
    • Do i have preload 100 data items for example to screen against?

    Thanks.

    #224579 quote
    robertogozzi
    Moderator
    Master

    IG’s complete version has a 255-lookback period limit (while PRT’s premium version raised that limit to 1024 periods).

    So you can only either decrease the lookback period from 100 to 55 or the MA’s periods from 200 to 155.

    Should you use EMAs, instead, you couldn’t use all those 255 periods, as they require more than twice the periods in brackets to make the calcultions.

    If you are using a Daily chart, you can only resort to a weekly chart that will use 5 times less periods (results won’t be exactly the same as on the daily chart, though).

    OllieB thanked this post
    #224588 quote
    OllieB
    Participant
    Junior

    Thanks Roberto.  I change the MA to the 150 and used the 100D lookback and it worked great!!!

    You are very kind to share your knowledge and so quickly!  My thanks to you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Summation function – limit?


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
OllieB @ollieb Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by OllieB
2 years, 3 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 11/29/2023
Status: Active
Attachments: No files
Logo Logo
Loading...