RickK
Active member
Hey fellas,
This is very interesting and I thought I'd throw my 2cents in for the benefit of the group. Awhile back the group that designed the original volatility box indicator also created a free script called SupplyDemandEdge...which is supposed to work well with the Volatility Box. It seems to be a nice enhancement. It is simply long/short $ADSPD signals and long/short $TICK signals. I have included the script below.
Anyone, is there a way to keep the signal arrows from laying over the top of one another? I seem to remember a script from a long time ago that had one down arrow just above the candle (lets say red) and another down arrow (white) just above the red candle.
Note: The youtube vid that shows them designing this script is here. At about 14:30 they test it.
This is very interesting and I thought I'd throw my 2cents in for the benefit of the group. Awhile back the group that designed the original volatility box indicator also created a free script called SupplyDemandEdge...which is supposed to work well with the Volatility Box. It seems to be a nice enhancement. It is simply long/short $ADSPD signals and long/short $TICK signals. I have included the script below.
Anyone, is there a way to keep the signal arrows from laying over the top of one another? I seem to remember a script from a long time ago that had one down arrow just above the candle (lets say red) and another down arrow (white) just above the red candle.
Note: The youtube vid that shows them designing this script is here. At about 14:30 they test it.
Code:
# 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
Last edited: