Bliss

I am looking for a code for when the volume goes up 500%. Could someone give me some advice

Answers

  • markd
    markd mod
    edited March 2019
    I'll assume 500% means 5 times as much volume. And, you probably want 5 times average volume, rather than five times yesterday's volume - if yesterday's volume is very low, 5 times it could be just normal.

    So,

    and [volume > sma(21, volume) * 5]

    But if you want five times the previous day's volume, it would be:

    and [volume > 1 day ago volume * 5]