Masterpiece of PineCoders script https://www.tradingview.com/script/dYqL95JB-Backtesting-Trading-Engine-PineCoders/ in v3, this is the project to upgrade it to v4-v5 and implement dynamic variable alerts message from within an indicator() alertcondition as discussed here https://t.me/pinescripters/31982
line 1018: The function 'ta.change' should be called on each calculation for consistency. It is recommended to extract the call from this scope.
line 1464: The function 'ta.change' should be called on each calculation for consistency. It is recommended to extract the call from this scope.
line 1526: The function 'ta.change' should be called on each calculation for consistency. It is recommended to extract the call from this scope.
line 1527: The function 'ta.change' should be called on each calculation for consistency. It is recommended to extract the call from this scope.
line 1528: The function 'ta.change' should be called on each calculation for consistency. It is recommended to extract the call from this scope.
line 1846: 'alertcondition()' has no effect inside strategies.
Script 'BTE v5' has been saved
As the notice/error suggests,
line 1018: The function 'ta.change' should be called on each calculation for consistency. It is recommended to extract the call from this scope. line 1464: The function 'ta.change' should be called on each calculation for consistency. It is recommended to extract the call from this scope. line 1526: The function 'ta.change' should be called on each calculation for consistency. It is recommended to extract the call from this scope. line 1527: The function 'ta.change' should be called on each calculation for consistency. It is recommended to extract the call from this scope. line 1528: The function 'ta.change' should be called on each calculation for consistency. It is recommended to extract the call from this scope. line 1846: 'alertcondition()' has no effect inside strategies. Script 'BTE v5' has been saved
[backtesting-trading-engine-pinecoders] bte.pine (Lines 1018-1019)
Open in IDE · Open on GitHub [backtesting-trading-engine-pinecoders] bte.pine (Lines 1464-1465)
Open in IDE · Open on GitHub [backtesting-trading-engine-pinecoders] bte.pine (Lines 1473-1474)
Open in IDE · Open on GitHub [backtesting-trading-engine-pinecoders] bte.pine (Lines 1526-1527)
Open in IDE · Open on GitHub [backtesting-trading-engine-pinecoders] bte.pine (Lines 1528-1529)
Open in IDE · Open on GitHub
Created from VS Code using CodeStream