Price Up but Volume Down?
Author: gonzo1
Creation Date: 7/21/2016 7:28 AM
profile picture

gonzo1

#1
I would like to write a command to Sell if:

the price (close) comes up for a number of days and the volume comes down for the same number of days.
There is a command in the wizard that allows me to add the price come up command, but not the volume come down, see below an example of the command from the wizard.

CODE:
Please log in to see this code.


I have attempted to add a line using "cum down volume" but without success

I had this command written in WL3 and it works well as an overbought signal, particularly with stocks.

3 bars up of closing price and 3 bars down of volume works extremely well
different values will of course give different results

any suggestions to the coding issue appreciated.



Peter
profile picture

Eugene

#2
QUOTE:
There is a command in the wizard that allows me to add the price come up command, but not the volume come down,

Sure there is. No need to code it. It's the same "Price decreases..." condition but instead of Close you choose Volume like this:



Here the "Price" dropdown is a little confusing, think of it as "OHLCV".
profile picture

gonzo1

#3
Thank you very much Eugene (and for your continuing help)

Peter