Today’s day is 1/30/08
Why is vMonth returning 1 in the daily and monthly chart but returning 2 in the Weekly? Is there something wrong with weekly chart?
function preMain() {
setPriceStudy(true);
setStudyTitle("Weekly Test");
setShowCursorLabel(false);
setShowTitleParameters(false);
setComputeOnClose();
}
function main() {
vMonth = month(0);
drawTextAbsolute(0, high(0), vMonth, Color.white, Color.green, Text.BOTTOM | Text.ONTOP | Text.BOLD, null, 28, 1);
}
Thank you
Ketoma
Why is vMonth returning 1 in the daily and monthly chart but returning 2 in the Weekly? Is there something wrong with weekly chart?
function preMain() {
setPriceStudy(true);
setStudyTitle("Weekly Test");
setShowCursorLabel(false);
setShowTitleParameters(false);
setComputeOnClose();
}
function main() {
vMonth = month(0);
drawTextAbsolute(0, high(0), vMonth, Color.white, Color.green, Text.BOTTOM | Text.ONTOP | Text.BOLD, null, 28, 1);
}
Thank you
Ketoma
Comment