How do I write and alert for example when i am looking at my 1 min graph, I see the volume bars at the bottom and would like an alert when the last 5 bars bars total is less than 500?
I have pieced parts of others code together but I am not sure if I did it right.
I have pieced parts of others code together but I am not sure if I did it right.
Code:
def dailyvol=volume(period="5");
def conditionTrue = dailyvol / 5 < 100;
plot alert = conditionTrue;