Quote:
Originally Posted by gatya
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.