Forum

Alerts not showing

Hello I have a very simple EA with an alert only. Here is the code: void OnTick () { //--- //Test if (Close[ 1 ] < Open[ 1 ] || Close[ 1 ] > Open[ 1 ]) //Test { Alert ( "Test" ); PlaySound ( "email" ); } } This code is just to test the Alert

Pausing the EA until next bar opens

Hello I just started creating my own EAs. Very exciting stuff. But I've got a problem. After I am stopped out, I would like all EA activity to pause until the next bar opens. What's happening is that once I'm stopped out, my other order is triggering instantaneously. I don't want this to happen. I