I am wanting to create a variable which provides me the dollar volume (closing price at end of minute times the number of shares traded during that minute) of each candle and then use it to determine whether or not my trade should execute. I created the following variable hoping it would do the job:
private double dollarVolume;
private double dollarVolumeMin = 1000000
dollarVolume = (Close[0] * Volume[0]);
(execute trade when) dollarVolume > dollarVolumeMin
Is there a way from me to see what value is behind this variable now? I have applied it in my strategy and it doesn't seem to be working. Any help would be appreciated.
Kenson
Comment