Question related to TVI

i m using TVI(CLOSE, 0.25) >0 for buy signal but it is giving falls signal

hElLO tRaDeR,

I tried this out on my side:

The backtest engine has a bug when processing the TVI function

The backtest engine is not checking the + or - before the output value of TVI, (same results with the OBV function too) and hence the result is always greater than 0. negative5 is recognized only as 5 and hence the result becomes greater than 0 and creates trade alerts.

There is not much we can do to this as an end user, unless this bug is fixed inside the backtest engine.