I need a very small change for the indicator

 
extern bool Alerts = TRUE;
extern bool AlertOnClose = TRUE;
It already has alerts. If you want it on bar zero ("immediately") then you don't want it on close.
 
whroeder1:
It already has alerts. If you want it on bar zero ("immediately") then you don't want it on close.

Thanks! I changed "AlertOnClose to FALSE. I inform later if it works.

 
affltr84:

Thanks! I changed "AlertOnClose to FALSE. I inform later if it works.


thank you

 
affltr84:

Thanks! I changed "AlertOnClose to FALSE. I inform later if it works.


Seems like doesn't give the whole candle. Only last 10-25 seconds or so. Is there any way to force to give the whole candle? Thanks.

 

It paints the arrow and alerts when the conditions are correct. If that only occurs in the last 10-25 seconds that is when you get the alert.

The future is unknowable, you can't get an alert until the conditions it tests for are correct.