where i can add alert line in this code ?
akram801:
i need to add alert when the signal appear
i need to add alert when the signal appear
static datetime LastAlert; if(i == 0){ GlobalVariableSet("goBUY",1); if (LastAlert != Time[0]){ LastAlert = Time[0]; Alert("BUY now"); } }
thanks WHRoeder
based on the code is the signals of this indicator appear at the beginning or after the candle close ?
and is it a fixed signals ??
Alert appears the first time the signal occurs on the current bar (possibly mid candle) not first tick.
sorry WHRoeder ...
i add the lines But the on live the alert doesn't appear
can you modify the the code the get the correct alert indicator and share it here
i need to add alert when the signal appear
this is the code