Watchlist-wrestling (need more data !)

Spin

Well-known member
Joined
May 22, 2019
Posts
480
Likes
192
Recently I have been fiddling around with the 'watchlist'-functionality again.
Through some Java-kungfu, I learned that the watchlist only takes the last 137 bars into account, regardless of the timeframe.
By that I mean that if I create a watchlist-column with a BarSize of '1 min', and I add that column to the watchlist, only 137 bars will be taken into account:
1702030792164.png
Watchlist_indexes.png

Sadly, that is not good enough. I have several Studies where important events are rare, happened over 137 bars ago in the past, but the results are still of major importance right now.

Let's take the example of 'OrderBlocks':
on a 'regular chart, they are drawn waaaaay back into the past:

1702031362822.png
But my watchlist-column will stay 'empty' for this particular instrument, because the watchlist only 'looks back' 137 bars and does not 'see' that OB.This means I / we have no way of knowing price is flirting with that OB at the moment.

I also noticed that adding this in the code only has an effect on 'regular' charts, not on the watchlist (stays stubbornly at 137):
1702031519217.png


So here's my question:
Can we increase the number of 'lookback'-bars in the watchlist ? Preferably only for one column, and not the entire watchlist (CPU lives matter too ;) )

(I think it is hard-coded somewhere, so no. Will mail MW-support as well with the friendly request to look into this, add perhaps it as a 'feature request')
 

Attachments

  • 1702031198321.png
    1702031198321.png
    101.2 KB · Views: 4
Last edited:

igor.s

Well-known member
Joined
May 22, 2019
Posts
287
Likes
153
have you tried to test your theory (137) for another instrument, preferably a different data provider, to rule out some hard coded value enforced by MW?

cheers.
 

Spin

Well-known member
Joined
May 22, 2019
Posts
480
Likes
192
Great thinking, @igor.s ! (y):)

Did a test with a different provider now (CQG) on ENQH and look:
Watchlist_indexes_futures.png
 
Top