A very simple Hashmap in Pinescript version 4 It uses two arrays one to store indices and one to store values currently this only supports keys of type int and values of type floats. index array: (20, 30, 80, 90) value array: (9.1,8.1,6.5,3.5) You can access the value 9.1 by using the key 20. No fancy hash functions were used just a very simple practical mechanism.
This indicator charts the spread between 2 instruments in a subwindow and it has a multiplier for calculating dollar value or volatility for those 2 instruments, I have shown a sample spread between NQ and ES with multipliers representing the dollar value per point. The indicator can then be applied to this spread candelsticks indicator.
Ever wanted a script that could tell you what is the maximum reasonably safe leverage if you were to open a trade and hold it for a given number of candles? This is it! Using rate of change based volatility and the maximum expected number of candles/periods you will hold your trade for, based on your risk profile this indicator will tell you what is the maximum...
This unique indicator doesn’t help you trade but it makes your charts look super clean and professional in images and live streams! This indicator works by displaying two tables. The first table has day of the week, date, and free form text. The second table has ticker symbol and timeframe of the current chart. Everything about the tables and the cells is...
This screener tracks the following for up to 40 assets: All-Time-High Days since ATH Percentage drop from ATH Bounce off the low after ATH Thanks to @QuantNomad and @MUQWISHI for building the base for this screener. I only adjusted it to show different data.
Hello and welcome to v1.00 of pineCalc - the calculator for Pine A sleek, quick, and discrete calculator in a window pane in your chart! Right now it supports basic math operation and series of two numbers but will try to update it and don't hesitate to comment any ideas SOME FEATURES: - Supports decimal numbers. - Switch statement with option to choose...
Features: - Shows % change per Bar. - Shows countdown per bar. - Shows Day, Month, and Yearly % Change in Bottom Right Corner.
Highlight last bar only. No refresh needed. Works on all time frame and for version 4 & 5. Can be added in your own scripts copy/pasting just one line. //DON'T FORGET TO HYDRATE
For the Tasteful Pine Coder, Find your inner rainbow. Color pallet tool with 7 standard colors as per syntax highlighters typical scheme. Hue, Sat, Lum adjustments, transparency, and 4 different modes. Please Share in comments any Chart Captures showcasing your designs if his tool helped you. a library version is in the works as of may 2022. will enable a 7...
Shows the top 7 NASDAQ 100 component stock (AAPL, MSFT, GOOG, AMZN, TSLA, NVDA, FB) influence as plot.
Places a table at the bottom right side showing the top 7 stocks (AAPL, MSFT, GOOG, AMZN, TSLA, NVDA, FB) current position for the given MA and daily position. The 2nd row shows the current position related to the prior day open/high/low. There are 4 possible values: H+ : Higher than the prior day high - indicates bullish in daily timeframe. O+ : Higher...
This script is an example on how to create a custom indicator that produce start/end long/short deal signals based on configurable conditions from internal and external indicators. This indicator can be used as an external indicator to other strategies like "Template Trailing Strategy" that will execute the deals and enter the desired positions based on the...
This is probably the only script on TradingView that's clinically proven to lower your blood pressure!*** This script in conjunction with some chart settings changes can completely hide the active candle, only showing historic candles, thus, reducing risk of cardiac arrest and or panic attack. What to do: 0. Make sure you are using a candlestick chart or...
This script is only for Lunch breaks of London, NYSE and Tokyo session for those who don't want to trade between in these times.
It's a pretty simple example of a nice custom screener you can run for multiple timeframes. This is an RSI screener, but you can easily change the function for your own Indicator. Screener displays: Last value of the instrument RSI value for up to 10 instruments / 4 timeframes. In Parameters you can change: 4 timeframes 10 instruments ...
This script demonstrate what I don't understand - according to documentation with order managements The from_entry parameter should execute the exit on this specified trade. The chart shows the right information, but the list of trades, in the Strategy tester panel doesn't make sense: This is an extract of the CSV file I got from this script: The enter1 ...
Trade master Trend Finder This is a volatility tool designed to get the daily bottom and top values calculated using a daily ATR and IV values. ATR values can be calculated directly, however for IV I recommend to take the values from external sources for the asset that you want to
A nice little gadget. Can be used to visually hint on volatility. Will show a leading vertical bar which shows percentage of price, both up and down, in relation to current price.