First , i m not a coder but i can read so much coding. I have an EA with fires a trade based on OnTick() "i think" but would like to get that confirmation based on closing /opening bar please , can someone help , thanks !!
if (jrsx()=="Up" && line<=JRSX_BuyThreshold) opentrade(0);
else if (jrsx()=="Dn" && line>=JRSX_SellThreshold) opentrade(1);