This may be just sunday afternoon but could someone please check the following code on US Z4
function preMain() {
setPriceStudy(true);
}
function main() {
debugPrintln(high()," ",low());
return new Array(high(),low());
}
.. with setPriceStudy = true, the cursor window high/low values are the same as the return high/low but NOT the same as the debug window values.
.. with setPriceStudy = false, the cursor window high/low values are NOT the same as the return high/low and NOT the same as the debug window values.
function preMain() {
setPriceStudy(true);
}
function main() {
debugPrintln(high()," ",low());
return new Array(high(),low());
}
.. with setPriceStudy = true, the cursor window high/low values are the same as the return high/low but NOT the same as the debug window values.
.. with setPriceStudy = false, the cursor window high/low values are NOT the same as the return high/low and NOT the same as the debug window values.
Comment