View Single Post
  #1391 (permalink)  
Old 03-18-2008, 12:25 AM
Sadly's Avatar
Sadly Sadly is offline
Senior Member
 
Join Date: Nov 2006
Posts: 253
Sadly is on a distinguished road
Quote:
Originally Posted by gatya View Post
Dear Forum

i have indicator that very suitable for me, but i dont understand how to add alert for this indicator. i want there is alert when dot changing. maybe newdigital can help me for this.

Looking at the code, adding if (PrevPr != Pr) Alert("Colour change") on a line above PrevPr = Pr, should have done the trick but that didn't seem to work out as expected. The sequence is 0,0 / 0,1, / 1,1 / 1,0. By my logic the added code above ought to have worked OK but nope! Sorry.
Reply With Quote