INVITE-ONLY SCRIPT
更新済 Darvas Box strategy [Whitebox]

Embark on a strategic trading journey with the implementation of the Darvas Box strategy, meticulously crafted in this script, inspired by Nicolas Darvas's groundbreaking approach detailed in his seminal book, "How I Made $2,000,000 in the Stock Market".
Nicolas Darvas, a dancer by profession and a trader by passion, devised a unique trading strategy during his global tours, which enabled him to turn $36,000 into $2 million within an 18-month timeframe in the late 1950s. His method, known as the Darvas Box strategy, involves tracking stock prices that are trading at new highs and utilizing a unique box structure that helps to identify the rising stocks and manage the trades effectively.
This script brings Darvas's innovative strategy to your trading charts, providing a comprehensive tool that not only identifies and draws the Darvas Boxes automatically but also enables you to backtest the strategy across various assets and timeframes. With capabilities like automated stop-loss adjustments, strategic pyramiding entries, and dynamic trade management, the script offers a robust framework for traders who seek to explore the potential of the Darvas Box strategy in modern markets.
Whether you're navigating through the realms of stocks, forex, or cryptocurrencies, this script allows you to visualize and validate the Darvas Box strategy, offering customizable settings to tailor the strategy according to your trading style and risk management preferences. From seamless box formations and enhanced trade visualization to in-depth analysis with every box, the script encapsulates the essence of Darvas's method while integrating the adaptability required for today's diverse and dynamic markets.
Embark on your trading journey with a strategy that has stood the test of time, and leverage the capabilities of this script to explore, analyze, and strategize your trades in alignment with the principles laid down by Nicolas Darvas.
Nicolas Darvas, a dancer by profession and a trader by passion, devised a unique trading strategy during his global tours, which enabled him to turn $36,000 into $2 million within an 18-month timeframe in the late 1950s. His method, known as the Darvas Box strategy, involves tracking stock prices that are trading at new highs and utilizing a unique box structure that helps to identify the rising stocks and manage the trades effectively.
This script brings Darvas's innovative strategy to your trading charts, providing a comprehensive tool that not only identifies and draws the Darvas Boxes automatically but also enables you to backtest the strategy across various assets and timeframes. With capabilities like automated stop-loss adjustments, strategic pyramiding entries, and dynamic trade management, the script offers a robust framework for traders who seek to explore the potential of the Darvas Box strategy in modern markets.
Whether you're navigating through the realms of stocks, forex, or cryptocurrencies, this script allows you to visualize and validate the Darvas Box strategy, offering customizable settings to tailor the strategy according to your trading style and risk management preferences. From seamless box formations and enhanced trade visualization to in-depth analysis with every box, the script encapsulates the essence of Darvas's method while integrating the adaptability required for today's diverse and dynamic markets.
Embark on your trading journey with a strategy that has stood the test of time, and leverage the capabilities of this script to explore, analyze, and strategize your trades in alignment with the principles laid down by Nicolas Darvas.
リリースノート
Version: 2023.02.27-r225- Added trade outcome labels
- Added entry type selector (Stop / Market)
- Added "box test required" entry criteria
- Fixed issue with single bar trades
リリースノート
Version: 2023.02.27-r226- Allow configuring the first entry's stop loss relative to the entry price
リリースノート
Version: 2023.03.06-r331- Introduced the concept of Trade Groups (a Trade Group consists of multiple trades made in the same direction)
- Reorganized inputs
- Ability to set min/max stop loss %
- Fix trade outcome labels
- Improve Trading Widget
リリースノート
Version: 2023.03.09-r352- Added Volume filter
- Added date range filter
- Fixed stop loss calculation
リリースノート
Version: 2023.03.17-r391- Added tooltips
- Added Trade outcome labels to display per-trade information
- Added checkbox to allow plotting the avg. entry price
リリースノート
Version: 2023.03.18-r416- Added "Darvas Box Formed" alert
- Added custom order sizing settings to allow customising both the initial and additional entries
- Added Darvas Box info label
リリースノート
Version: 2023.03.29-r528- Added function selector
- Added bounce-based entry
- Allow ATR to be used for height filter
リリースノート
Version: 2023.05.19-r596- Added support for alerts
- Added Darvas Box width filter
- Added "Close position early if price crosses MA" early exit condition
- Added "Status bar"
リリースノート
Version: 2023.08.18-r598- Update Strategy library to use position sizing issue detection mechanism
リリースノート
Version: 2023.09.18-r627- Added 'Box top must be at an all-time high' checkbox
- Improved the Entry Volume Filter (now it can compare more than one historic candle's volume against the MA)
- Changed default value of 'Max. additional orders' to 9
- Changed the base entry's min/max stop loss guard to always use the entry price for comparison
- Added 'Round OHLC prices to the nearest tick' checkbox
リリースノート
Version: 2023.10.04-r638- Added Moving Average Filter - This filter allows invalidating those Darvas Boxes that do not form on the expected side of the Moving Average
リリースノート
Version: 2023.11.26-r641- Improved tooltips
招待専用スクリプト
このスクリプトは作者が承認したユーザーのみアクセス可能です。使用するにはアクセス申請をして許可を得る必要があります。通常は支払い後に承認されます。詳細は下記の作者の指示に従うか、WhiteboxSoftwareに直接お問い合わせください。
このプライベートの招待専用スクリプトはモデレーターによる審査を受けておらず、ハウスルールへの準拠状況は未確認です。 TradingViewは、作者を完全に信頼し、スクリプトの動作を理解していない限り、有料スクリプトの購入・使用を推奨しません。コミュニティスクリプトには無料のオープンソースの代替が多数あります。
作者の指示
To get access to this strategy, please visit https://whitebox.so
Experiment with popular trading strategies without risking your capital: whitebox.so
Get access to The Divergent Pro indicator at thedivergent.io
Get access to The Divergent Pro indicator at thedivergent.io
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
招待専用スクリプト
このスクリプトは作者が承認したユーザーのみアクセス可能です。使用するにはアクセス申請をして許可を得る必要があります。通常は支払い後に承認されます。詳細は下記の作者の指示に従うか、WhiteboxSoftwareに直接お問い合わせください。
このプライベートの招待専用スクリプトはモデレーターによる審査を受けておらず、ハウスルールへの準拠状況は未確認です。 TradingViewは、作者を完全に信頼し、スクリプトの動作を理解していない限り、有料スクリプトの購入・使用を推奨しません。コミュニティスクリプトには無料のオープンソースの代替が多数あります。
作者の指示
To get access to this strategy, please visit https://whitebox.so
Experiment with popular trading strategies without risking your capital: whitebox.so
Get access to The Divergent Pro indicator at thedivergent.io
Get access to The Divergent Pro indicator at thedivergent.io
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。