Newbie question I'm afraid:
i want to adapt the basicVolume efs given in the EFS 2 Basic folder.
To the basic vol histogram, i want to add a moving average and
a horizontal line ( it's value to be an input which can be altered later from the chart).
I would appreciate some help to get me started. How do I add the horizontal line to start with?
I've tried tinkering with some ideas transplanted from other efs scripts but got nowhere so far.
The original script:
function preMain() {
setPriceStudy(false);
setStudyTitle("Volume");
setCursorLabelName("Vol",0);
setDefaultBarFgColor(Color.blue,0);
setPlotType(PLOTTYPE_HISTOGRAM,0);
setDefaultBarThickness(1,0);
}
function main() {
return volume();
}
i want to adapt the basicVolume efs given in the EFS 2 Basic folder.
To the basic vol histogram, i want to add a moving average and
a horizontal line ( it's value to be an input which can be altered later from the chart).
I would appreciate some help to get me started. How do I add the horizontal line to start with?
I've tried tinkering with some ideas transplanted from other efs scripts but got nowhere so far.
The original script:
function preMain() {
setPriceStudy(false);
setStudyTitle("Volume");
setCursorLabelName("Vol",0);
setDefaultBarFgColor(Color.blue,0);
setPlotType(PLOTTYPE_HISTOGRAM,0);
setDefaultBarThickness(1,0);
}
function main() {
return volume();
}
Comment