This indicator simply plots how much bars are available to the user in the respective chart. For Example if plot shows 5000 , therefore you have total 5000 bars of OHLC available.
Price change indicator in the form of diagonal rows. The calculation is based on the percentage or tick deviation of the price movement (indicated in the "Deviation" parameter), which is displayed on the chart in the form of rows. The row consists of the base middle line, upper and lower limits: The middle line is the basis for the upper and lower limits of...
What Is This? This script code adds a Monthly Strategy Performance Table to your Pine Script strategy scripts so you can see a month-by-month and year-by-year breakdown of your P&L as a percentage of your account balance. The table is based on realized equity rather than open equity, so it only updates the metrics when a trade is closed. That's why some...
Hello, everyone! Today I want to present my new script, which I hope will help not only me! I'm sure that many people, like me, went through such a stage as "building their strategy". This is when you sit and test on the history how you would enter or exit a trade. Recently I was doing the same thing and realized that my "tests" involve night time, when in...
This is a simple tool designed to help you visualize your stop loss and take profit levels before entering a trade. The tool plots two lines on the chart - a green dotted line for take profit and a red dotted line for stop loss (similar to the price line) - with a simulated default spread of one pip factored in. The indicator has the option to toggle between long...
█ OVERVIEW The indicator analyses the volatility and reports statistics by the time of day. █ CONCEPTS Around the world and at various times, different market participants get involved in the markets. How does this affect the market? Knowing this gets you better prepared and improves your trading. Here are some ideas to explore: When is the...
This is a simple implementation of the MFE/MAE Tool for TradingView. It's a quite powerful tool and pretty useful in systematic trading, but I don't see many trader using it these days. It's created for EMA cross, but you can easily change it to use your own signals. What is MAE/MFE Tool MAE stands for Maximum Adverse Excursion - Worst P&L during the...
This script calculates the average deviation of the source data from the linear regression. When used with the indicator, it can plot the data line and display various pieces of information, including the maximum average dispersion around the linear regression. The code includes various user configurations, allowing for the specification of the start and end...
This script is a quantitative price forecasting indicator that forecasts price changes for a given asset. The model aims to forecast future prices by analyzing past data within a selected time period. Mathematical probability is used to calculate whether starting from time X can lead to reaching prices Y1 and Y2. In this context, X represents the current...
Candle Levels Allows chart levels to be plotted automatically, simply add tool to chart and the interactive mode will prompt for candle selection, timeframe anchor and some label choices such as displaying time, price or disabling labels altogether. Also a note can be supplied that will be shown in the labels if they're displayed, if not it'll be up in the...
The "Signal Viewer" script is a debugging tool that can be used for the signal of a Signal Indicator script like the "Two MA Signal Indicator" or the "Template Signal Indicator". This script will visualize the signal based on the convention that was defined in the settings. Also, alerts will be produced based on this convention. It's useful to be used before you...
This is a Quarterly Returns version of Monthly Returns in PineScript Strategies by QuantNomad This script shows a table of Quarterly/Yearly performance of your strategy. It also provides an option to compare with Buy & Hold. The script can easily integrated to your strategy. All you need to do is copy the table part and paste it at the end of your script ...
This module can be integrate in your code strategy or indicator and will help you to calculate the percentage probability on specific event inside your strategy. The main goal is improve and simplify the workflow if you are trying to build a quantitative strategy or indicator based on statistics or reinforcement model. Logic The script made a simulation inside...
Updated - Version 2 This tool is used to calculate the size of a trade. Settings - Type in total account size and % of capital that can be risked on each trade. The table will display: Column 1 - Stop placement based on low, mid or high value of the current candle. Column 2 - Percent risk on the trade. Column 3 - Amount of shares that can be traded...
This is a simple line tool that can give you active feedback based on the closing price. It is intended for a live chart whose ticker is not changed by the user every 10 minutes, like a general overview of an asset in a higher time frame. What can it provide: Price difference from the price to the line Price at the current collision point How to use it: When...
This is just a basic tool to calculate liquidation based on: margin-maintenance leverage it starts drawing on your input point short and long liquidation, so you can easily place it on your trade and drag it around if you are rebuying as an example. Also, you can use it to aim for a specific support/resistance to see if it is even possible to reach some levels,...
This is just a Fibonacci Retracement tool with some interactive information based on the actual closing price How to use: add the script, input left bottom with the 1st click, input top with the 2nd click Informations you can see than: Fiblevel (Price) %till_this_point = pricedifference additional: Bottom of the fib Range Up in % +...
Library "columns" Error Tolerant Matrix Setter/Getter Operations. Easy ways to add/remove items into start and end of Columns as well as arrays to grow and shrink matrix. if mismatched sizes occur the typified NA value will be there to prevent catastrophic crashing. Rows and Columns are split into 2 libraries due to limitations on number of exports as well ...