Hi, I'm trying to do some backtesting with my own customer indicators and I'm not sure how to pull these from my library.
I now if I just wanted to pull an ema it would go somthing like this:
function preMain() {
setPriceStudy(true);
setStudyTitle("EMA");
setCursorLabelName("EMA",0);
setDefaultBarFgColor(Color.blue,0);
setPlotType(PLOTTYPE_LINE,0);
setDefaultBarThickness(1,0);
}
function main() {
return ema(10);
But if I wanted to pull my own personal indicator named "EMA Divergence" and resides in the Library folder, how can I do that ?
I think I need to do the path but I'm not sure of the format any help appreciated.
tks
I now if I just wanted to pull an ema it would go somthing like this:
function preMain() {
setPriceStudy(true);
setStudyTitle("EMA");
setCursorLabelName("EMA",0);
setDefaultBarFgColor(Color.blue,0);
setPlotType(PLOTTYPE_LINE,0);
setDefaultBarThickness(1,0);
}
function main() {
return ema(10);
But if I wanted to pull my own personal indicator named "EMA Divergence" and resides in the Library folder, how can I do that ?
I think I need to do the path but I'm not sure of the format any help appreciated.
tks
Comment