Indicators: TRiX slope divergence

 

TRiX slope divergence:

Short description.

TRiX slope divergence

Author: Mladen Rakic

 

On instruments with _Digits < 2, the line in the footer is not displayed due to the value in the val buffer being too small.

I don’t know how correct this is, but adding a multiplier corrects the situation.

val[i] = iTrix.calculate(prices[i], i, rates_total);

I did this:

val[i] = iTrix.calculate(prices[i], i, rates_total) * 10000 * _Point ;