Jump to content
Medved Trader Forums

Bollinger bands


makincash

Recommended Posts

Hi Jerry,

I am not sure if this is a bug or just the way the bollinger bands are implemented in Medved. I attached a couple of pics of the same symbol across two other platforms Questrade and Tradingview. In Medved the bollinger bands don't continue to flow but drop off when there is low/no volume.

On other thing I noticed was that the RSI in Medved was quite far off what the other two had.  Eg. at 1:00pm today MT 77 with wilder checked,, 81 without it checked,  Questrade 53, Tradingview 53.

 

Cheers,

Jeff

5a835c9b0e677_2018-02-1313_39_45-.thumb.png.61401446ec1a031c8df7b4db501a4620.png5a835c9fbda2a_2018-02-1313_41_09-NNO_VNRawData.thumb.png.8cc68b8db9c4c8880bd46569f56ef939.png

 

5a8363587c812_2018-02-1314_13_32-NNO_2_443.39UnnamedTradingView.thumb.png.06dc48e932412262e30ce7cb21bf76dd.pngtradingv

Link to comment
Share on other sites

MT was basically counting 0 vol periods as candles at the close of previous with-volume candles, for the purpose of calculating the standard deviation (as well as for the purpose of calculating the central MA).

 

The central-MA calculation is fine for that. But apparently your other sources do not do that for the StDev calculation. I guess that's another way to look at it although I can see merit in our method as well.

 

I changed it in the calc. Email jerry to get the new ver that has that.

Link to comment
Share on other sites

Hi  Mike,

Something else I noticed was the Medved 20 SMA (center line) in the charts seems to be much more variable (not as smooth) as the one in the Questrade and Tradingview charts. A good example is the hump of the very left of the MedVed chart in the 1st post at 9:52 on the 12th.   This I assume translates back to the bollinger bands upper and lower line flow.  From an visual perspective it makes the chart more distracting to read.  Not sure if MedVed is just more accurate in its representation then the other charting tools or if they use some kind of smoothing algorithm.  I have attached a pic after the change you made already for the bollinger bands to this post.  

 

Cheers,

Jeff

2018-02-13 22_55_10-NNO_VN Level II.png

Link to comment
Share on other sites

The hump is there not because of SMA but, I presume, because the StDev jumped.

SMA in MT, as I pointed out above, takes no-volume gaps to have the same value as the previous candle for the purpose of calculating the period's average.

So if you have (with - being the no-volume candle)

10 10 12 - - 10 12  - the SMA(5) would be (12+10+12+12+12)/5 = 11.6

while if the -s were skipped, it would be (12+10+12+10+10)/5 = 10.8

 

I think not skipping the empties presents a more representative picture of the average for the time period.

 

 

6 hours ago, makincash said:

Hi  Mike,

Something else I noticed was the Medved 20 SMA (center line) in the charts seems to be much more variable (not as smooth) as the one in the Questrade and Tradingview charts. A good example is the hump of the very left of the MedVed chart in the 1st post at 9:52 on the 12th.   This I assume translates back to the bollinger bands upper and lower line flow.  From an visual perspective it makes the chart more distracting to read.  Not sure if MedVed is just more accurate in its representation then the other charting tools or if they use some kind of smoothing algorithm.  I have attached a pic after the change you made already for the bollinger bands to this post.  

 

Cheers,

Jeff

 

 

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...