function main(nVol){
if(nVol==null)nVol=100;
nTradeSize = getMostRecentTradeSize();
if(getBarState==BARSTATE_NEWBAR)nTradeSize=0
if(nTradeSize>=nVol)xVol=xVol+nTradeSize
setPlotType( PLOTTYPE_HISTOGRAM, 0 );
return xVol;
}
should plot the volume if the trade size is >=100 - user configurable too.
Only works from the time the efs is loaded, i.e. does not back calculate the volume for yesterday
Thanks for the books.
if(nVol==null)nVol=100;
nTradeSize = getMostRecentTradeSize();
if(getBarState==BARSTATE_NEWBAR)nTradeSize=0
if(nTradeSize>=nVol)xVol=xVol+nTradeSize
setPlotType( PLOTTYPE_HISTOGRAM, 0 );
return xVol;
}
should plot the volume if the trade size is >=100 - user configurable too.
Only works from the time the efs is loaded, i.e. does not back calculate the volume for yesterday
Thanks for the books.
Comment