@BenTen good afternoon ben, i am wondering if this indicator could be tweaked to just show 1 stnd dev, 2 stdn dev and 3 stnd dev! i tried looking at the code to modify it but i dont know what to change... thanks in advance!
Wondering is this is possible?
This is
@BenTen indicator for auto volatility standard deviation bands from open, i was wondering if it can be modified to only show 1, 2, & 3 standard deviations from the open! thanks in advance, is it also possible to only show todays levels, not previous days?
# Volatility Based Standard Deviations
# Assembled by BenTen at UseThinkScript.com
# Converted from
https://www.tradingview.com/script/...sed-Standarde-Deviation-and-Fib-Pivot-Points/
input aggregationPeriod = AggregationPeriod.DAY;
def SettlementPrice = close(period = aggregationPeriod)[1];
def VixClose = close("VIX", period = aggregationPeriod)[1];
def ZTable = 0.0625;
def SD = SettlementPrice * (VixClose / 100) * ZTable;
# Standard Deviation Calculation
plot usd1 = SettlementPrice + SD;
plot usd75 = SettlementPrice + (0.75 * SD);
plot usd5 = SettlementPrice + (0.5 * SD);
plot usd25 = SettlementPrice + (0.25 * SD);
plot dsd25 = SettlementPrice - (0.25 * SD);
plot dsd5 = SettlementPrice - (0.5 * SD);
plot dsd75 = SettlementPrice - (0.75 * SD);
plot dsd1 = SettlementPrice - SD;
usd1.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
usd1.SetDefaultColor(Color.DOWNTICK);
usd75.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
usd75.SetDefaultColor(Color.DOWNTICK);
usd5.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
usd5.SetDefaultColor(Color.DOWNTICK);
usd25.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
usd25.SetDefaultColor(Color.DOWNTICK);
dsd25.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
dsd25.SetDefaultColor(Color.UPTICK);
dsd5.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
dsd5.SetDefaultColor(Color.UPTICK);
dsd75.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
dsd75.SetDefaultColor(Color.UPTICK);
dsd1.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
dsd1.SetDefaultColor(Color.UPTICK);
Hello everyone, wondering if this type of indicator could be achieved?