False Screener Results

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12775 quote
    azeA
    Participant
    New
    Hi,
    I recently made an indicator which returns 1 in case it detects what i want, 0 if not.
    It’s working fine as an indicator.
    I made a simple screener from this :
    indicator1 = CALL “Commun SSNV”[0]
    c1 = (indicator1 = 1)
    SCREENER[c1]
    It gives me a list of stock where my indicator is  sometimes at 1 (success) but too many times at 0.
    I tried many things but nothing works so far. (Trying on [1] etc, but same issues)
    If any of you have an idea..
    thanks
    Edit : I have a Premium account with Live stocks.
    #12776 quote
    Nicolas
    Keymaster
    Master
    translate language

    Your topic was moved to english forum by administrator.

    If you want to speak english, please use the english forums instead. Thank you.


    Hi, a bit difficult to see what it may cause this issue. Maybe a screenshot of the indicator and screener result? Code of the indicator would be greatly appreciated. Thank you.
    #12779 quote
    azeA
    Participant
    New
    I didn’t see the english forum earlier, while reading others topics, I’m pretty sure I found what may be the issue. My indicator has Rounded value, which could not be rounded the same way by the screener as in the indicator. You answered in this topic http://www.prorealcode.com/topic/proscreener-different-decimal-precision-for-the-very-same-return-value/ that “the results you get are rounding differently because each instruments digits differ.” What do you mean exactly? Also is there a way to Force Check my indicator return instead of screener calculating by itself what the indicator is already doing? Thank you for your answer
    #12782 quote
    azeA
    Participant
    New
    As an example :
    elsif close[r] >= 10 and close[r] < 200 then
    nivbas = close[r] - (close[r] - (round((close[r]/10)-0.5))*10)
    if close[r] > nivbas + 5 then
    nivhaut = nivbas + 10
    nivbas = nivbas+5
    else
    nivhaut = nivbas + 5
    endif
    I did this to Floor and Ceil the quote. (no Floor nor ceil function in PRT i think?) Solvay (SOLB) currently around 101,5 in 15Min should give me 1 if it cross 100 or 105 (none of both happens) my indicator is still at 0. Proscreener shows it in my list.
    #12798 quote
    Nicolas
    Keymaster
    Master
    In this earlier topic I were meaning that rounding don’t round digits the same way if you have 2 or 3 of them. You are right, there are no floor/ceil function in PRT, but you have MIN/MAX which you can play with. What is ‘r’ referring to?
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

False Screener Results


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
azeA @azea Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by Nicolas
9 years, 5 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 09/07/2016
Status: Active
Attachments: No files
Logo Logo
Loading...