yMaivil / Publications
Forum
Problem with "{}" help please!
input int media1; input int media2; input int hora; bool st=false; string mns="-----"; void OnTick(){ Comment ("Message:",mss); if (Hour()==hora){ st=true; mss="AUTORIZADO!" } if (st==true){ if (iMA(NULL,0,media1,0,MODE_EMA,PRICE_CLOSE,0)) < (iMA(NULL,0,media2,0,MODE_EMA,PRICE_CLOSE,0)){