Jump to content
Medved Trader Forums

Paintbar having issues printing on chart with specific symbols


Recommended Posts

Hi Jerry and Mike,

So, I am having an issue where the paintbar i use is kind of having some serious issues printing on only a very small fraction of stocks that I have. Normally, it looks like this:image.thumb.png.8fec3bab74e3c2897619dc3f593876ae.png

 

That is the image for a stock called "ROKU". It works very well for the majority of stocks on my watchlists, however, when I run this paintbar on the stock MTCH the result is this:

image.thumb.png.688a5c2045e0d1d6fa7954b7c2174fea.png\

Note that this screenshot occurs at the beginning of the data for "MTCH". These are the only markings that get printed on the chart - there is no later data for more recent candlesticks. 

On another note, if I clear the data for the historical chart, and choose a different source to backfill "MTCH" with, the end result of the paintbar changes dramatically. Here's an example using Webull as a backfill source instead for the same stock (MTCH):

image.thumb.png.72875f43f7addc31ff9e204f27e4aa5d.png

Another thing I notice as im pasting these chart in, is that the final result of the paintbar (Orange P --> Green Circle) seems to be consistent no matter which source I use to backfill. So probably something wrong with the paintbar itself. I'll look into that I guess.

Link to comment
Share on other sites

That's really weird. All I did was comment out the Piercing function (Orange P) and then saved the paintbar and it was fixed. But, I then proceeded to uncomment the piercing function and... it still worked.

I suspect this error has something to do with the weird candlestick data at the beginning of the historical data. Once I cleared the data, and changed the backfill source, and then saved the program over again the error disappeared. I didn't change anything with the code. So at least I know now.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...