You can change line 171 from this :Nurlan Karimov wrote: Thu Aug 10, 2017 9:01 pm
Mr.Tools!
At the moment, the indicator alerting only once at the first level crossing in one direction, but not alerting after sloping. The question is whether it could be done so that the alerting indicator after sloping in the same direction like the RSI indicator - alerts - 2_1 (attached) (it will be the best option) or is it easier to add an alert and arrows to the slop?
Sorry for my english, hope i could explain
Code: Select all
trend[i] = (i<Bars-1) ? (vz[i]>OverBoughtLevel) ? 1 : (vz[i]<OverSoldLevel) ? -1 : trend[i+1] : 0;
Code: Select all
trend[i] = (i<Bars-1) ? (vz[i]>OverBoughtLevel) ? 1 : (vz[i]<OverSoldLevel) ? -1 : 0: 0;