this resets the string, for bull / bear
after that it loops through the bull/bear function.
look for example at the bull(-function:
after that it loops through the bull/bear function.
look for example at the bull(-function:
Inserted Code
if(iClose(sym, mTF, 1) > iOpen(sym, mTF, 1)) {<------------ IF CONDITION MET
PairString = PairString + ", "+sym; <------------------ THAT IS IT, CONDITION IS MET, SO ADD THE PAIRNAME TO THE STRING
return(1); <------------------------------------ return(1)
}//if(iClose(sym, mTF, 1) > iOpen(sym, mTF, 1)) {<----------- CONDITION NOT MET, return 0
return(0); PM me with coding requests and I'll probably put you on my ignore list