Pine Script Course Update and Sale!
My course receive a first update! Also you can enjoy a 25% discount in the next few days!
My course receive a first update! Also you can enjoy a 25% discount in the next few days!
TradingView is not very friendly when it’s coming to exporting/importing custom data. But still, there are ways you can use to do that to some extent. In this article, I’ll show you an export method that will allow you to export custom-calculated data with email alerts. In this article, I’ll work with a simple SMA A clever way of exporting data with alerts from TradingView Read More →
Ever come across the following warning message in Pine Script? It happens quite often for some developers. The function ‘XXX’ should be called on each calculation for consistency. It is recommended to extract the call from this scope. This is not an error per se but rather a warning, which means your script will still The function ‘XXXX’ should be called on each calculation for consistency. It is recommended to extract the call from this scope Read More →
Data and time inputs can help you make more sense of your Pine Script indicators and strategies. Adding a time input is pretty simple in Pine Script. You only need to specify the time input and the script will highlight a bar with open equal to the selected time. Time Input in Pine Script Here’s How to Set Time Input Interactively From Chart in Pine Script Read More →
Inputs in Pine Script make it possible for traders to change the values that the script uses in its calculation logic. TradingView provided specific widgets for price and other types of input. Recently (late 2021), TradingView introduced a new interactive mode for time and price inputs that allows users to simply modify inputs by clicking How to Set Price Input Interactively From Chart in Pine Script Read More →
You may sometimes need to add some session logic to your TradingView strategies and indicators. This can be useful especially when you want to execute your entries only within a certain time window and close all positions when this window is over. Check Session Status The first step is to check that the current bar How to Know if Your Current Bar is in a Certain Session Read More →
Representing time and date in Pine Script can be problematic, especially for not-so-experienced developers. The output format for date/time may not make a lot of sense. As an illustration, let’s try to plot the date/time on your screen using the following code. You should get something like this: This happens because date and time are How to Add / Subtract Time in Pine Script Read More →
You may sometimes need to display an indicator on top of the price chart (for instance, when you want to compare patterns in the indicator with the price). Issues may however occur with the price chart if the scale of your indicator is vastly different from the price scale. TradingView will try to display both How to Plot an Indicator on Top of Price Chart With Separate Scale? Read More →
This method doesn’t seem to work anymore, check the following article: Exporting New TradingView Trades metrics to Excel In one of my previous posts, I detailed how it is possible to export strategy backtesting data (but only a Pro+ or Premium TradingView account). If you are a trader/user who only has a free TradingView account, How to Export TradingView Backtesting Data With a Free Account Read More →
You may want to export TradingView strategy backtesting data for any number of reasons. For instance, you could want to use data in other programming languages or analyze this data in Excel or analytics tools. The good news is that TradingView recently introduced a feature to make this process super easy for you. Keep in How to Export TradingView Backtesting Data From a Pro Account Read More →