An alternative,.......https://tos.mx/N2f9cAA@Huffmac90 You can find the Vwap Z-Score here https://usethinkscript.com/threads/vwap-deviation-z-score-with-chart-and-lower-indicators.602/
Hello, is the finished product ready?@Huffmac90 Glad to hear you've got things rolling along...Let me know if I can lend a hand, although i'm sure you and @diazlaz have everything in check...
Looking forward to the finished product![]()
Nice indicator, what a tease not sharing....@diazlaz Is it possible to share your chart?
# Supply_Demand_Edge .... an enhancement to the Volatility Box
#TOS Indicators
#Home of the Volatility Box
# modified by @RickKennedy to include signals from previous days
declare upper;
declare hide_on_daily;
input showTicks = yes;
input showAD = yes;
input ShowTodayOnly = no;
def regularSession = secondsFromTime(0930) > 0 && secondsTillTime(1600) > 0;
def hod = if regularSession then if (high > hod[1]) then high else hod[1] else high;
def lod = if regularSession then if (low < lod[1]) then low else lod[1] else low;
def highAD = if regularSession then if (high(symbol="$ADSPD") > highAD[1]) then high(symbol="$ADSPD") else highAD[1] else high(symbol="$ADSPD");
def lowAD = if regularSession then if (low(symbol="$ADSPD") < lowAD[1]) then low(symbol="$ADSPD") else lowAD[1] else low(symbol="$ADSPD");
def highTick = if regularSession then if (high(symbol="$TICK") > highTick[1]) then high(symbol="$TICK") else highTick[1] else high(symbol="$TICK");
def lowTick = if regularSession then if (low(symbol="$TICK") < lowTick[1]) then low(symbol="$TICK") else lowTick[1] else low(symbol="$TICK");
def currentHighAD = high(symbol="$ADSPD");
def currentLowAD = low(symbol="$ADSPD");
def currentHighTick = high(symbol="$TICK");
def currentLowTick = low(symbol="$TICK");
plot ADShortSignal = showAD && high == hod && currentHighAD < highAD;
ADShortSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
ADShortSignal.SetDefaultColor(Color.WHITE);
ADShortSignal.SetLineWeight(1);
plot ADLongSignal = showAD && low == lod && currentLowAD > LowAD;
ADLongSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
ADLongSignal.SetDefaultColor(Color.WHITE);
ADLongSignal.SetLineWeight(1);
plot TickShortSignal = showTicks && high == hod && currentHighTick < highTick;
TickShortSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
TickShortSignal.SetDefaultColor(Color.RED);
TickShortSignal.SetLineWeight(2);
plot TickLongSignal = showTicks && low == lod && currentLowTick > lowTick;
TickLongSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
TickLongSignal.SetDefaultColor(Color.LIGHT_GREEN);
TickLongSignal.SetLineWeight(2);
#end Supply_Demand_Edge
it looks really nice when it's all done
![]()
It will be subject to box re-calculations (repaints) at time. the higher the time frame, less volatility. it's using the high and low + a pivot point or gravity point calculated, probably at a weekly timeframe.