Hi, i want to calculate a study, based on the ATR. Think, it`s a simple question(for you, not for me):
I don`t want to plot the ATR, but the result of
ATR(10)*Close()*200
How to change the Indikator formular?
By Alexis C. Montenegro for eSignal © December 2004
/************************************************** *******
By Alexis C. Montenegro for eSignal © December 2004
Use and/or modify this code freely. If you redistribute it
please include this and/or any other comment blocks and a
description of any changes you make.
************************************************** ********/
function preMain() {
setPriceStudy(false);
setStudyTitle("ATR");
setCursorLabelName("ATR", 0);
setDefaultBarFgColor(Color.blue, 0);
setPlotType(PLOTTYPE_LINE,0);
setDefaultBarThickness(1,0);
}
function main() {
return atr(14);
}
I don`t want to plot the ATR, but the result of
ATR(10)*Close()*200
How to change the Indikator formular?
By Alexis C. Montenegro for eSignal © December 2004
/************************************************** *******
By Alexis C. Montenegro for eSignal © December 2004
Use and/or modify this code freely. If you redistribute it
please include this and/or any other comment blocks and a
description of any changes you make.
************************************************** ********/
function preMain() {
setPriceStudy(false);
setStudyTitle("ATR");
setCursorLabelName("ATR", 0);
setDefaultBarFgColor(Color.blue, 0);
setPlotType(PLOTTYPE_LINE,0);
setDefaultBarThickness(1,0);
}
function main() {
return atr(14);
}
Comment