PLEASE HELP ME WITH MY NEW DEVELOPED INDICATOR - page 2

 
As the alert is contained within the same block of code as the condition placing the arrow, I don't see how it is possible to get an alert without an arrow.
 
GumRai:
As the alert is contained within the same block of code as the condition placing the arrow, I don't see how it is possible to get an alert without an arrow.
YOU CAN TEST IT SIR , TO SEE WHAT AM SAYING SIR.
 

Please do not post in capital letters, it is considered rude.

 

I see what is happening now, it is because the alert check is based on Time[0] instead of the ctual alert bar

         if ( alertTag!=Time[0])
         {
          PlaySound("news.wav");// buy wav
          Alert(Symbol(),"  M",Period()," BUY/CALL");
         }
          alertTag = Time[0];

 should be replaced with

         if(alertTag<Time[i] && counted_bars!=0)
           {
            PlaySound("news.wav");// buy wav
            Alert(Symbol(),"  M",Period()," BUY/CALL");
            alertTag=Time[i];
           }

 and similarly for the sell signal

 
GumRai:

Please do not post in capital letters, it is considered rude.

 

I see what is happening now, it is because the alert check is based on Time[0] instead of the ctual alert bar

 should be replaced with

 and similarly for the sell signal

Every thing is now working perfectly sir.

thanks very much for your support sir , may almighty God reward you abundantly.

Reason: