PROTECTED SOURCE SCRIPT

Stock Control

By lucafinocchio
Updated
This indicator shows the following values:
  • Pre-market volume
  • SPY
  • ADD
  • VIX


For each value the background will be colored based on specific internal parameters which can be customized.

The indicator is highly customizable. Here are some of the settings:
  • Compact view
  • Text size
  • Pre-market thresholds
  • SPY MACD parameters
  • ADD MACD parameters
  • VIX Bollinger parameters
Release Notes
Fixed yellow background
Release Notes
Converted to pine script v5
Release Notes
Minor correction to premarket calculation time range
Release Notes
Minor fix macd value delay
Release Notes
Fixed the VIX background color. Now its customizable thresholds work as expected.
Release Notes
Fixed the Bollinger calculation for the VIX background color
Release Notes
Changed default value of the MACD slow length parameter for ADD symbol to 21
Release Notes
Added pre-market chg% to the right of the pre-market volume
Release Notes
Added a new row with the ATR value of the current symbol.
Customizable settings are:
  • Show/hide
  • Timeframe
  • Lenght
Release Notes
  • Added a setting to show the ATR rounded to the closest decimal (the value used to calculate the size)
  • Added a new row displaying the size to use based on the configured ATR and the max risk amount (new setting)
Release Notes
Added a new row displaying three sizes. These sizes are percents of the full size already present in this indicator.
It is possible to customize:
  • Show/Hide the row
  • First percent to apply
  • Second percent to apply


The last percent is automatically calculated using the first two.
Example:
Full size: 500
First percent: 10
Second percent: 40
The third percent is calculated as 100 - first percent - second percent = 50

The split sizes shown are: 50/200/250
ADDBBBollinger Bands (BB)Moving Average Convergence / Divergence (MACD)SPDR S&P 500 ETF (SPY) VIX CBOE Volatility IndexVolume Indicator

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer