OPEN-SOURCE SCRIPT
Steve Primo - Strategy #1

I’ve revisited some of my earlier published strategies to make them more flexible and testable. This update introduces full strategy testing functionality and customizable input parameters, allowing users to fine-tune period lengths and explore performance across multiple configurations.
This script builds upon my previously published indicator by adding full strategy testing capabilities and flexible user inputs.
Users can test different period combinations using the Inputs menu and evaluate results in the Strategy Tester tab.
Change the Symbols to test - I picked a relatively bad example to set expectation low.
Improvements:
Indicators Used:
Developer Note:
Feedback is always welcome! Let’s collaborate to refine and improve this setup further.
If your contribution leads to a significant performance edge or unique improvement, I’ll happily credit your name instead of “SP.”
This script builds upon my previously published indicator by adding full strategy testing capabilities and flexible user inputs.
Users can test different period combinations using the Inputs menu and evaluate results in the Strategy Tester tab.
Change the Symbols to test - I picked a relatively bad example to set expectation low.
Improvements:
- Added full Strategy Tester support for backtesting.
- Introduced custom input controls for key periods (channel, PET-D, moving averages, etc.).
Indicators Used:
- My interpretation of PET-D, aligned with trend confirmation logic.
- A refined price channel system to highlight pullback zones more precisely.
Developer Note:
Feedback is always welcome! Let’s collaborate to refine and improve this setup further.
If your contribution leads to a significant performance edge or unique improvement, I’ll happily credit your name instead of “SP.”
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Uday C Santhakumar
udaycs.substack.com/
udaycs.substack.com/
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Uday C Santhakumar
udaycs.substack.com/
udaycs.substack.com/
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.