I just upgraded to 10.2 and running one of my codes I found a problem.
Problem forwarding 1 offset to the future on Monthly chart. Works Fine on all other timeframes.
function preMain() {
setPriceStudy(true);
setStudyTitle("Line forward");
setCursorLabelName("LF", 0);
}
function main() {
drawLineRelative(-10, 100, 1, 100, PS_SOLID, 2, Color.black, 1); // FORWARDING 1 AHEAD
drawLineRelative(-10, 105, 2, 105, PS_SOLID, 2, Color.black, 2); // FORWARDING 2 AHEAD
}
Works fine forwarding 2 ahead on all timeframe
Thank you
Ketoma
Problem forwarding 1 offset to the future on Monthly chart. Works Fine on all other timeframes.
function preMain() {
setPriceStudy(true);
setStudyTitle("Line forward");
setCursorLabelName("LF", 0);
}
function main() {
drawLineRelative(-10, 100, 1, 100, PS_SOLID, 2, Color.black, 1); // FORWARDING 1 AHEAD
drawLineRelative(-10, 105, 2, 105, PS_SOLID, 2, Color.black, 2); // FORWARDING 2 AHEAD
}
Works fine forwarding 2 ahead on all timeframe
Thank you
Ketoma
Comment