Darvas Box Strategy

Experiment with the Darvas Box strategy risk-free using our interactive trading simulator on TradingView!

Based on Nicolas Darvas' bestseller book

Nicolas Darvas' journey through the stock market, as detailed in his book, has captivated many traders and investors alike, providing a fascinating tale of strategy and success. His unique approach, the Darvas Box method, not only defined his trading style but also left a lasting impact on trading communities, sparking curiosity about its applicability in today’s diverse markets. His method, which involved buying stocks at new highs and using a dynamic trailing stop loss, was both simple and innovative for his time.

Our tool brings Darvas's strategy to your charts, allowing you to explore and interact with the Darvas Box method in a modern context. Whether you’re a seasoned trader or someone just starting out, exploring the Darvas Box strategy with our tool provides a practical and insightful way to engage with historical trading strategies. Dive into the exploration of past and present charts, and see how the Darvas Box unfolds in various market conditions, all while gaining hands-on experience with this renowned trading method.

Key Features

Our strategy script is the most accurate translation of the Darvas Box strategy. Period.
With automated box detection, trade simulation using buy-stop entries, pyramiding, and automated stop-loss adjustment, you are given everything in a single tool to comprehensively backtest Nicolas Darvas' strategy on any chart.

Complete implementation

Experience a thorough and detailed implementation of the Darvas Box strategy, meticulously crafted to mirror Nicolas Darvas' original methodology. Buy-stop entries, pyramiding, automatic stop-loss adjustments, and more!

Backtest the strategy on any chart

Effortlessly analyse past market scenarios by applying the Darvas Box strategy to any chart on TradingView.

Fully customisable, automated box detection

Seamlessly visualise Darvas Boxes on your charts with our tool that automatically detects and illustrates them without manual input.

Fully Documented

The documentation provides a comprehensive overview of the Darvas Box strategy, detailing its historical context, fundamental principles, and practical application using the TradingView platform. It meticulously explains the strategy's technical and fundamental aspects, box formation, breakout identification, stop-loss discipline, and continuous monitoring, ensuring users have a robust understanding of its implementation and management.

The documentation also offers insights into utilising TradingView's Stock Screener to identify potential stocks for applying the Darvas Box strategy, enhancing users' ability to practically apply and benefit from this trading approach.

Read the documentation

Ready to Travel Back in Time to the 1950s and Discover How Darvas Made His Millions?

All of our scripts, including the Darvas Box strategy, are accessible via a single monthly subscription. Click on the button below to set up your subscription, and you will immediately get access to our continuously growing script portfolio.


Only $19.95/month (plus taxes, if applicable)

Access to Every Whitebox Trading Script (including the Darvas Box strategy)

Exclusive access to new script releases

Effortless integration with TradingView

Comprehensive user guide and tutorials

Access to private Discord server

Technical support

We'll never share your info with anyone.


No. While the Darvas Box strategy script is a powerful tool that allows you to explore and interact with the Darvas Box method, it's essential to note that trading always involves risks, and there are no guaranteed profits. Nicolas Darvas himself went through a learning curve and adapted his strategy over time. Our script provides a robust platform to backtest, explore, and potentially apply the Darvas Box strategy in various market conditions. However, it is not a 'get-rich-quick' tool and should be used as part of a well-rounded trading plan, considering your risk tolerance, investment goals, and market understanding. Always remember to trade responsibly and consider utilising proper risk management techniques.

Absolutely! The Darvas Box strategy script is designed to be user-friendly and does not require any coding experience to utilise effectively. Traders can easily apply the script to their charts on TradingView and navigate through its features using the intuitive settings window. The script provides a range of customisable parameters, allowing you to explore and interact with the Darvas Box strategy without the need to write or understand code. Furthermore, our comprehensive documentation provides a step-by-step guide on how to use the script and maximise its features, ensuring traders of all experience levels can confidently engage with the Darvas Box method in their trading journey.

The Darvas Box strategy script is versatile and can be applied to various time frames, accommodating different trading styles, including day trading and longer-term trading. Nicolas Darvas himself used it for a more medium-term trading approach, capitalizing on the momentum of stocks. However, the script allows you to explore and apply the strategy in various market conditions and time frames, providing flexibility in your trading approach. It's essential to note that the effectiveness of the strategy may vary across different time frames and market conditions. Therefore, we encourage traders to utilize the backtesting feature to explore its performance across various scenarios and find an application that aligns with their trading style and risk management.

Absolutely, the Darvas Box strategy script can be applied to any chart on TradingView, including stocks, forex, cryptocurrencies, and more. While Nicolas Darvas originally utilised his strategy for trading stocks, the fundamental principles of the Darvas Box method – identifying and trading breakouts from defined price ranges (or "boxes") – can be applied to any market where price and volume data are available. Traders and investors can utilise the script to explore and backtest the Darvas Box strategy in different markets and under various conditions on TradingView, allowing them to analyse its effectiveness and adaptability across diverse trading environments. Always remember to conduct thorough backtesting and ensure that the strategy aligns with your trading goals and risk tolerance, especially when applying it to different markets.

Yes, the Darvas Box strategy script is highly customisable and is designed to be flexible enough to accommodate various trading styles and preferences. While it adheres to the core principles of Nicolas Darvas’s original strategy, users have the ability to adjust numerous parameters and settings to tailor the strategy to their own needs. This includes modifying box formation criteria, adjusting entry and exit rules, setting risk management parameters, and more. The script provides a wide array of configurable options, allowing you to experiment with different settings and optimise the strategy according to your trading objectives and risk tolerance. Furthermore, the comprehensive documentation provides a detailed guide on how each setting and parameter functions, assisting you in making informed adjustments to align the strategy with your trading approach.

Upon purchasing the script, you can expect a robust level of support and regular updates to ensure optimal functionality and user experience. We are dedicated to providing continuous support to assist you with any queries, issues, or guidance you may need in utilising the script. Additionally, we value feedback from our user community and often implement enhancements based on their valuable insights. Our commitment is not only to provide a tool but also ongoing support to ensure you can effectively apply the Darvas Box strategy in your trading endeavours. Furthermore, our comprehensive documentation is regularly updated to reflect any changes and to provide a rich resource for your queries and learning.

Navigating through the vast array of indicators available on TradingView, you may come across various scripts and tools claiming to implement the Darvas Box strategy. While many of these tools offer basic functionalities, such as identifying and drawing boxes on the chart, the depth, accuracy, and comprehensiveness of our script stand out distinctly in the landscape of available indicators.

We encourage users to explore and test other Darvas Box indicators available on the platform to gain a firsthand understanding of their functionalities and limitations. Through this exploration, you will likely observe that while some scripts may offer elementary box drawing or basic signal generation, they often lack the depth and customisation capabilities that our script proudly offers. Our Darvas Box strategy script is not merely an indicator; it is a comprehensive tool designed to provide a rich, interactive, and customisable user experience, enabling traders to delve deep into the strategy’s nuances and apply it with a high degree of precision.

Our script is meticulously crafted to mirror the methodology laid out by Nicolas Darvas, providing a true-to-origin representation of his strategy. It goes beyond mere box plotting by offering a suite of features and customisable parameters that allow traders to adjust the strategy according to their trading style and risk tolerance. From automatic box detection detailed backtesting capabilities to a variety of entry and exit criteria, our script encompasses a wide array of functionalities designed to provide traders with a thorough and insightful trading assistant.

In contrast, other available indicators might provide a static, one-dimensional view of the Darvas Box strategy. Our tool invites traders to interact, explore, and tailor the strategy, ensuring it is not just a visual aid but a dynamic part of their trading arsenal. We believe that the depth, accuracy, and user-friendly nature of our script will stand evident when compared to other available tools, affirming its place as a premium, unparalleled Darvas Box strategy implementation on TradingView.


If you have any questions, feel free to reach out to us via the Live Chat button in the bottom right corner of this page.

Are you a trading educator and would like to provide your students with tools that allow them to visualise, test, and tweak the strategies & concepts you teach? Please get in touch with us. We would be happy to bring your trading ideas to life!

(If you cannot see the Live Chat widget on the page, that is usually a sign of you rejecting the optional Live Chat cookies on the site earlier.
To change your cookie preferences, please click here ).


Whitebox specialises in innovative software for backtesting trading strategies, providing a risk-free environment for traders to analyse and refine their techniques.

Follow Us
Indicators & Strategies

    Whitebox Originals

    Darvas Box strategy

    The Moving Average strategies

    Data Trader strategies

    Trader Tom strategies