Monthly Pivots screener

Forums ProRealTime English forum ProScreener support Monthly Pivots screener

Viewing 5 posts - 1 through 5 (of 5 total)
  • #23143

    Hi there,

    I tried to design a simple screener to test for thresholds to be met, in this instance: Monthly pivot points (eg R2M or S2M) and I’m at loss why it doesn’t work.

    I’m using the following piece of code (that works) for the MPP (since the built-in coding assistant seems to only propose daily ones when pointing at a graph, notwithstanding the choice I make):

     

     

    With this in mind I have the following screener:

     

    And strangely enough no items are returned – which does not fly with what I have in front of me (for instance Platinum is currently trading above its R2M, and it was included in my list of targeted commodities).

     

    Have you ever encountered such a strange behavior?

    I’m at a loss as to why my code is not working.

    Any help appreciated,

     

    Best,

    B

    #65291

    A bit of thread digging, but after more than one year I guess my problem won’t solve itself without a little outside help.

    Nothing more to add to the above, except that I tried again this time with PRT 10.3 (I think it was 10.2 before) and nothing has changed.

    Same troubling issue, as if PRT doesn’t want to have anything to do with monthly pivots !

     

    Many thanks for your help,

    B

    #65329

    We add the same issue in another topic, can’t find its link, but it could be resolve with the code below:

    The problem is that highest high and lowest low are calculated with a null period at the first month and it results of an internal error of proscreener. With this code, we force these periods to be at least equal to 1.

    #65474

    Thank you Nicolas !

    #68340

    Hello Nicolas,

    None of the screeners proposed here is working: either no stock returned or false stocks.

    The indicator works fine, but when used in a screener in daily for ex., it returns both stocks with close higher then the pivot and stocks with close lower than the pivot…

    monthlypivot = CALL “Pivot mensuel”
    C1=(close>monthlyPivot)
    SCREENER[C1]

    It’s just crazy !

    Thanks for your help

     

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login