Pinescript doesn’t work properly during backtesting

By Yauheni
It looks like I’m going to be a millionaire soon. The statistic that below is impossible. So why does it not work properly?
Trading Tools

Disclaimer