OPEN-SOURCE SCRIPT
Tool for Practicing Trading

For newbies at trading or people who want to try practice on a new market prior to trading with real money.
Most trader newbies will first work on a practice account to develop their skills. They will also look at historical data to see how they would have fared at that time. If you are like me, both these methods have serious drawbacks.
Practice account
Trading on a practice account is slow as you have to wait for the market to unfold to realize whether your analysis was correct and whether your decisions were right. Many people say that new traders should trade on the daily chart, not the intraday. And this is really slow, of course, as you have to wait for a few days before you can be sure. This is maybe why some new traders start trading intraday, with all risks and bad habits it can generate.
Historical Data
Here, we can work faster since the market has already developped. But the problem is that analysis and decision are biaised because we can see the "future" market moves. If you are like me, analysing and defining trades from past data is much easier then real time ones.
The Script
This is why I have created this script that allows you to hide all market data after a "Now" time that you define. Beyond the "Now", you the screen will be just gray.
By increasing day by day, or hour by hour, you can see the historical market unfold and evolve. It allows to practice trading on the daily chart much faster, analyzing several days and possibly weeks writing a few hours.
Notes:
If you see any way to make this script more efficient, I am welcoming ideas and comments.
Most trader newbies will first work on a practice account to develop their skills. They will also look at historical data to see how they would have fared at that time. If you are like me, both these methods have serious drawbacks.
Practice account
Trading on a practice account is slow as you have to wait for the market to unfold to realize whether your analysis was correct and whether your decisions were right. Many people say that new traders should trade on the daily chart, not the intraday. And this is really slow, of course, as you have to wait for a few days before you can be sure. This is maybe why some new traders start trading intraday, with all risks and bad habits it can generate.
Historical Data
Here, we can work faster since the market has already developped. But the problem is that analysis and decision are biaised because we can see the "future" market moves. If you are like me, analysing and defining trades from past data is much easier then real time ones.
The Script
This is why I have created this script that allows you to hide all market data after a "Now" time that you define. Beyond the "Now", you the screen will be just gray.
By increasing day by day, or hour by hour, you can see the historical market unfold and evolve. It allows to practice trading on the daily chart much faster, analyzing several days and possibly weeks writing a few hours.
Notes:
- To ensure that the "Future" bars are really invisible, you need to modify the security bar styles to hide the borders. One you hide them, all bars will be fully hidden after the data selected as "Now".
- Depending on your internet access speed, the loading of new data when you modify the :"Now" parameters may be slow, but it is certainly faster that waiting for the market unfolding day by day !
If you see any way to make this script more efficient, I am welcoming ideas and comments.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。