IntradayBarIndex always zero

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #79911 quote
    RubberSeoul
    Participant
    New

    Thank you for letting me know Nicolas.

    #82774 quote
    Nicolas
    Keymaster
    Master

    It should now be fixed, FYI.

    #93577 quote
    RubberSeoul
    Participant
    New

    I am sorry it has taken me so long to verify this fix, but I am afraid to say that the results are unchanged:

    IntradayBarIndex only returns a value if the screener begins in an intraday time frame (although I have only tested it for 2 minutes)

    If the screener begins in a Daily timeframe, but is changed to an intraday timeframe using the function – timeframe(2 minutes), then IntradayBarIndex returns zero.

    #93591 quote
    Nicolas
    Keymaster
    Master

    If you are testing the “intradaybarindex” right below the TIMEFRAME(daily) instruction, it is normal that it returns 0, there is only 1 intraday bar on a daily timeframe.

    #93718 quote
    RubberSeoul
    Participant
    New

    No, I am using it in the 2 minute section and results are exactly as before.

    Sample code:

    timeframe(2 minutes)

    LookbackBars = IntradayBarIndex

    Filter = 1

    Screener [Filter](LookbackBars)

     

    Results attached.

    Capture-3.jpg Capture-3.jpg
    #93742 quote
    Nicolas
    Keymaster
    Master

    It works correctly (see attached picture). Are you sure you launch the screener on a shares list you have intraday data subscription? (not only end-of-day).

    intradaybar-index-proscreener.png intradaybar-index-proscreener.png intradaybarindex-screener.png intradaybarindex-screener.png
    #93913 quote
    RubberSeoul
    Participant
    New

    Yes I am trading intraday with IG in Australia.

    I have attached screen shots of the results using your code.

    The important point is that the “Selection of Period” is Daily and that the use of the function “timeframe” is having no affect. This is an issue when using code that mixes time frames – the same scenario as reported at the start of this thread.

    I have also attached a result set when the “Selection of Period” is 5 Minutes, which includes some items with a returned value.

    Capture2-1.jpg Capture2-1.jpg Capture-4.jpg Capture-4.jpg Capture3.jpg Capture3.jpg
    #93921 quote
    Nicolas
    Keymaster
    Master

    I tried different combination and you are right, the code is using the higher timeframe used intradaybarindex, not the one included below the TIMEFRAME instruction. I made a new report for this. Please be patient 🙂

Viewing 8 posts - 16 through 23 (of 23 total)
  • You must be logged in to reply to this topic.

IntradayBarIndex always zero


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 22 replies,
has 3 voices, and was last updated by Nicolas
7 years ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 08/23/2018
Status: Active
Attachments: 11 files
Logo Logo
Loading...