Jason, I am unable to utilize the forumula output window as diescribed in your instructions in the information on Targeting Your pattern. Any suggestions?
Thanks
Thanks
// global vars
var sCode = null;
var sCode1 = null;
function main() {
.
.
.
var nState = getBarState();
if (nState == BARSTATE_NEWBAR) {
sCode1 = sCode;
}
sCode = getPattern(); // remove the 'var' here
.
.
.
if (sCode1 == "3351" && sCode == "3333") {
// your code here
}
.
.
.
}
Comment