Summation function – limit?
Forums › ProRealTime English forum › ProScreener support › Summation function – limit?
- This topic has 2 replies, 2 voices, and was last updated 11 months ago by OllieB.
-
-
11/29/2023 at 5:38 PM #224575
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.
11/29/2023 at 6:06 PM #224579IG’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).
1 user thanked author for this post.
11/29/2023 at 6:33 PM #224588 -
AuthorPosts