IntradayBarIndex always zero
Forums › ProRealTime English forum › ProScreener support › IntradayBarIndex always zero
- This topic has 22 replies, 3 voices, and was last updated 5 years ago by Nicolas.
-
-
09/06/2018 at 10:51 PM #79911
Thank you for letting me know Nicolas.
10/15/2018 at 11:26 AM #8277403/14/2019 at 2:26 AM #93577I 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.
03/14/2019 at 9:48 AM #9359103/15/2019 at 1:03 AM #93718No, 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.
03/15/2019 at 9:57 AM #9374203/18/2019 at 1:36 AM #93913Yes 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.
03/18/2019 at 9:03 AM #93921 -
AuthorPosts
Find exclusive trading pro-tools on