how do i get the value of the 2min ADX to plot on another time frame chart like the 233T?
I've searched the forums with no luck.
below is the code for the ADX -
/************************************************** *******
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("ADXDM");
setCursorLabelName("+DI", 0);
setCursorLabelName("-DI", 1);
setCursorLabelName("ADX", 2);
setDefaultBarFgColor(Color.blue,0);
setDefaultBarFgColor(Color.red,1);
setDefaultBarFgColor(Color.magenta,2);
setPlotType(PLOTTYPE_LINE,0);
setPlotType(PLOTTYPE_LINE,1);
setPlotType(PLOTTYPE_LINE,2);
setDefaultBarThickness(1,0);
setDefaultBarThickness(1,1);
setDefaultBarThickness(2,2);
}
function main() {
return new Array (pdi(14,14),ndi(14,14),adx(14,14));
}
I've searched the forums with no luck.
below is the code for the ADX -
/************************************************** *******
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("ADXDM");
setCursorLabelName("+DI", 0);
setCursorLabelName("-DI", 1);
setCursorLabelName("ADX", 2);
setDefaultBarFgColor(Color.blue,0);
setDefaultBarFgColor(Color.red,1);
setDefaultBarFgColor(Color.magenta,2);
setPlotType(PLOTTYPE_LINE,0);
setPlotType(PLOTTYPE_LINE,1);
setPlotType(PLOTTYPE_LINE,2);
setDefaultBarThickness(1,0);
setDefaultBarThickness(1,1);
setDefaultBarThickness(2,2);
}
function main() {
return new Array (pdi(14,14),ndi(14,14),adx(14,14));
}
Comment