👋 Hey great developer can you help me with omni language? declare lower;
input MTF = no;
input timeframe = AggregationPeriod.FIFTEEN_MIN ;
def p = if MTF then timeframe else GetAggregationPeriod();
def c = close(period = p);
def o=open(period = p);
def h = high(period = p);
def l = low(period = p);
def p3=hlc3(period = p);
def v=volume(period = p);
addcloud(-75, -40, color.green, color.WHITE);
addcloud(80, 100, color.green, color.WHITE);
input length = 14;
def VP = ExpAverage(Sign(c - c[1]) * v, length);
def TV = ExpAverage(v, length);
plot VZO = 100 * VP / TV;
VZO.hide();
def RS = Vzo +50;
def oo = (RS + RS[1]) / 2;
def hh = Max(RS, RS[1]);
def ll = Min(RS, RS[1]);
def cc = RS;
input over_bought = 125;#80
input over_sold = 40;
#VD CANDLES / WHITE
AddChart(high = hh, low = ll, open = oo, close = cc, type = ChartType.CANDLE, color.WHITE);
def cc1 = if(cccc[1],cc,double.nan);
AddChart(high = hh, low = ll, open = oo, close = cc2, type = ChartType.CANDLE, Color.GREEN );
def hh1 = if(hh>over_bought,hh,double.nan);
AddChart(high = hh1, low = ll, open = oo, close = cc, type = ChartType.CANDLE, color.WHITE );
def bn=barnumber();
#plot cc2a=cc2;
#plot cc1a=cc1;
def xx=if cc2>-40 and cc1[1]0 then -42 else double.nan;
plot OverBought = over_bought;
plot OverSold = over_sold;
assignpricecolor(if cc0 then color.white else if rs>124 then color.red else if rs crosses below over_bought then color.yellow else if rs0," White Bar", sound = Sound.chimes, "alert type" = Alert.BAR);
def bearish2 = rs=overBought;