Jump to content
Medved Trader Forums
stock777

New Volume % feature needs tweaking

Recommended Posts

 Getting a slew of INFINITY triggers.  Some div by zero issue ?

 Also , triggering on indexes.  Know I can filter those, but maybe you want to do that by default .

 

Share this post


Link to post
Share on other sites

  pretty simple, a minimum volume amount,example (1000)  so a 600 share bar doesnt trigger on an average volume of 200 when set to 200%

 

  Were you able to see those bogus INFINITY alerts I mentioned ?

 

 

Edited by stock777

Share this post


Link to post
Share on other sites

 Houston we have a ....

This scan is not saving the parms ,  zeros on reload of MT

Noticed the scan description  text does not update to show the current % used when you enter a value.

Also , APPLY button not activating when I enter new values

 

 

 

Edited by stock777

Share this post


Link to post
Share on other sites

  Still not working .   You cant enter a decent value for % increase,  like 50%,  it reverts back to  a much lower value.   5% max!

Share this post


Link to post
Share on other sites

Ok I checked the code and traced some things and it seems to work as it should.

Note: the one-min volume as used in the alert is not what you see in the volume indicator. That volume is divided on 1 min (if that is the frequency) boundaries.

The alert machinery just keeps a queue of all ticks in the last 60 seconds. Then it totals the volumes in those ticks and divides it by the number of seconds between the last tick in the queue and the first tick. Then it multiplies that # by 60 to get the running one-minute-volume.

That would skew things a bit for very thinly traded stocks...

I did it that way so that if you have a sudden uptick in volume in a stock that may not trade every second, the reaction would be faster. Maybe I could just take the total in the last 60 seconds and NOT scale it by the actual time between the last and first tick...

Share this post


Link to post
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...