//DG Mods, Set the Regular Volume Plot Attempting Conditional Statements against Average Volume (If Current Volume Crosses Above Average Volume...Do something)
//Set VolumePlot to Plot the Other Times Object
VolumePlot.Set(Volumes[1][0]);
//Set : If Volumes Plot is Greater than Average Volume Plot
if(VolumePlot[0] >= AverageVolume[0])
{
DrawDot("My dot" + CurrentBar, false, 0, Close[0] + 2 * TickSize, Color.Blue);
exceedVol.Set(true);
}
else
{ exceedVol.Set(false); }
When I call it in the Strategy:
if( DGExpVolumeForStrategy(Color.White, 4).ExceedVol[0] )
DrawDot("My dot" + CurrentBar, false, 0, Close[0] + 10 * TickSize, Color.Blue);

Comment