This indicator is meant to be used for coming up with price targets based on past performances of rallies/selloffs. It shows how much a trade could have made over a 30-day period (or other length of time) in terms of percentage gain. It also show how much could have been lost in terms of percentage loss The green plot shows percentage gain from current high to...
█ OVERVIEW This indicator calculates TradingView's well-known "Strong Buy", "Buy", "Neutral", "Sell" or "Strong Sell" states using the aggregate biases of 26 different technical indicators. █ FEATURES Differences with the built-in version • You can adjust the weight of the Oscillators and MAs components of the rating here. • The built-in version...
█ OVERVIEW This indicator shows how you can use the new color functions in Pine to generate color gradients. We provide functions that will help Pine coders generate gradients for multiple use cases using base colors for bull and bear states. █ CONCEPTS For coders interested in maximizing the use of color in their scripts, TradingView has added new color...
An utility function to parse session inputs. Extracts hours, minutes and weekdays (if defined) and returns a tuple as the result. _parseSession(sessionString) => (hourStart, minuteStart, hourEnd, minuteEnd, weekdaysArray) Examples presented on the chart.
Pinescript - Common Label & Line Array Functions Library by RagingRocketBull 2021 Version 1.0 This script provides a library of common array functions for arrays of label and line objects with live testing of all functions. Using this library you can easily create, update, delete, join label/line object arrays, and get/set properties of individual label/line...
Price curves consist of much noise and little signal. For separating the latter from the former, John Ehlers proposed in the Stocks&Commodities May 2021 issue an unusual approach: Treat the price curve like a radio wave. Apply AM and FM demodulating technology for separating trade signals from the underlying noise. reference: financial-hacker.com
Returns a moving average allowing the user to control the amount of lag as well as the amplitude of its overshoots thanks to a parametric kernel. The indicator displays alternating extremities and aims to provide potential points where price might reverse. Due to user requests, we added the option to display the moving average as candles instead of a solid...
This script is a continuation from Duyck's Unicode font function A different approach made on this function to able change font type on a single string Now you can call it as a function to change the font type on every string that you need, either it is for a Label or regular Text Shoutout to @Duyck for his amazing works on this function. Thank you to PineScript...
Aᴜᴛᴏ PɪᴛᴄʜFᴀɴ, Fɪʙ Exᴛᴇɴꜱɪᴏɴ/Rᴇᴛʀᴀᴄᴇᴍᴇɴᴛ ᴀɴᴅ ZɪɢZᴀɢ This study aim to automate PitchFan drawing tool and combines it with Fibonacci Extentions/Retracements and ZigZag. Common setting options, applied to all components of the study Deviation , is a multiplier that affects how much the price should deviate from the previous pivot in order for the bar to...
Usage: The purpose of this indicator is to programmatically determine the type of price trend using technical analysis tools. You can do a quick check on the asset’s higher and lower time frames. For example, if you are trading on an H1 chart, you can check the m5 chart to ensure that the trend is in the same direction and similarly check the H4 chart to ensure...
This script is not intended for trading purposes but gives some examples how you can get values from previous candles in other timeframes, without using security calls. NOTE: the "open", "high" and "low" values are calculated "on the fly", as the bar progresses, the "close" is determined at the end of the timeframe, so it's only know at the first bar of the next...
Introducing the Reverse Stochastic Momentum Index "On Chart" version According to Investopedia : “The Stochastic Momentum Index (SMI) is a more refined version of the stochastic oscillator, employing a wider range of values and having a higher sensitivity to closing prices.” The SMI is considered a refinement of the stochastic oscillator developed by William...
Hello All, After Tick Chart and Tick Chart RSI scripts, this is Tick Data Detailed script. Like other tick scrips this one only works on real-time bars too. it creates two tables: the table at the right shows the detailed data for Current Bar and the table at the left shows the detailed data for all calculated bars (cumulative). the script checks the volume...
This script demonstrates how to display Unicode characters and symbols, including emoji, in Pine: • Part 1 displays multi-line labels on hi/lo pivots. • Part 2 displays price/volume bumps using small up/down arrows plotted with plotchar() . • Part 3 detects bounces and uses plotshape() to mark them. You can use our `f_bounceFrom()` function from this part...
Pinescript only allows the use of one type of font in texts and label, which causes some inconveniences: - It's hard to make a label or text "look nice" and clear because it's not possible to use a different font for titles, etc. - Because the default Pinescript font is not a monospaced font, (in Pinescript different characters have different widths) this...
Example function of a markov chain monte carlo simulation.
This script is a grid bot simulator for ranging/choppy markets. Prices are divided into grids, or trade zones, that will trigger signals each time a new zone is entered. During ranging markets, each transaction is followed by a “take profit.” As the market starts to trend, transactions are stacked (compare to DCA), until the market consolidates. No signals are...
Fibonacci Speed and Resistance Fan is an analytical drawing tool used to indicate the support and resistance levels of an existing trend and the price level at which possible changes in the trend may occur. A Fibonacci Speed Resistance Fan consists of a trend line drawn between two extreme points - a trough and opposing peak or a peak and opposing trough - on...