Help with MT5 and many indicators that don't show on chart of work in Backtest and show wrong values on chart

 

Dear all,

I have some indicators that just don't show on the chart or show, with wrong values, but they work fine if backtested

Any hint how to solve this problem?

For example, the one attached, work fine in backtest but show completly wrong value if I attach it to a chart

Thanks for help

Files:
 

I found that (taking the attached indicator as a reference)

Default settings - Backetest is OK - Live chart NOT

but...

If I multiply the indicator default parameters by 0.2, then the On chart behavior is correct, but at this point the backtest is NOT

Reason: