OPEN-SOURCE SCRIPT
Worthy Asset Strategy

This strategy is designed with a two-part philosophy: a regime filter and a value-based accumulation approach.
🟩 Regime Filter:
If the S&P 500 (SPX) is trading above its 200-period EMA, a green background is shown below the chart, signaling a favorable market regime.
If the SPX is below the 200 EMA, the background turns red, indicating a less favorable environment.
📉 Buy Signals:
Buy signals are generated by red candles that drop a certain percentage from their open — essentially treating these pullbacks as discount opportunities.
The idea is to accumulate more of a selected asset when it becomes temporarily cheaper.
💎 Philosophy & Execution:
I only apply this strategy to assets I’ve personally researched and believe to be fundamentally valuable.
If a Buy signal occurs and the SPX is trading above its 200 EMA (i.e., the background is green), I enter the position.
Once in the trade, I follow this logic:
If the position reaches +1.5% profit, I sell it.
If it doesn’t reach profit and goes into a loss, I simply hold.
I don’t sell at a loss because I believe in the long-term value of the asset.
If the price drops further, I accumulate more — aiming to lower my average cost and eventually exit at a profit once the asset recovers.
This approach is based on the mindset of treating drawdowns as discounts, not danger.
"The more it drops, the more I accumulate — because I see value, not risk."
This is still a work in progress, and I’m actively refining it over time.
⚠️ Note: The sell logic is not yet visible on the chart and will be added in a future update.
🟩 Regime Filter:
If the S&P 500 (SPX) is trading above its 200-period EMA, a green background is shown below the chart, signaling a favorable market regime.
If the SPX is below the 200 EMA, the background turns red, indicating a less favorable environment.
📉 Buy Signals:
Buy signals are generated by red candles that drop a certain percentage from their open — essentially treating these pullbacks as discount opportunities.
The idea is to accumulate more of a selected asset when it becomes temporarily cheaper.
💎 Philosophy & Execution:
I only apply this strategy to assets I’ve personally researched and believe to be fundamentally valuable.
If a Buy signal occurs and the SPX is trading above its 200 EMA (i.e., the background is green), I enter the position.
Once in the trade, I follow this logic:
If the position reaches +1.5% profit, I sell it.
If it doesn’t reach profit and goes into a loss, I simply hold.
I don’t sell at a loss because I believe in the long-term value of the asset.
If the price drops further, I accumulate more — aiming to lower my average cost and eventually exit at a profit once the asset recovers.
This approach is based on the mindset of treating drawdowns as discounts, not danger.
"The more it drops, the more I accumulate — because I see value, not risk."
This is still a work in progress, and I’m actively refining it over time.
⚠️ Note: The sell logic is not yet visible on the chart and will be added in a future update.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.