is there a way to limit the testing to ONLY today's Bar?
eg.
var nState = getBarState():
if (nState == BARSTATE_NEWBAR) {
...
only execute code once ie. on today's bar.
no historical bars will be tested.
}
is this possible...i'm using the testing to screen for candidates in a PnF chart...
thanks,
peter.
eg.
var nState = getBarState():
if (nState == BARSTATE_NEWBAR) {
...
only execute code once ie. on today's bar.
no historical bars will be tested.
}
is this possible...i'm using the testing to screen for candidates in a PnF chart...
thanks,
peter.
Comment