The script is supposed to email me when a candle closes at the same price or -2 to +2 pips from the opening price. I want to be able to be able to email all the pair names...I'm not getting much ATM. Also how would I be able to incorporate time frames to this???
Inserted Code
int start() { int value = iOpen(NULL,0,1)-iClose(NULL,0,1); if (iClose(NULL,0,1) == iOpen(NULL,0,1) || value == 2 || value == 1 || value == -1 || value == -2) { SendMail("from your expert", "Price dropped down to "+Symbol()); } return(0); }