// Downloaded From https://www.WiseStockTrader.com _SECTION_BEGIN("AirBag"); AB1=IIf(Ref(H,-1)>H,((Ref(H,-1)-H)/5)+H,(H-Ref(H,-1))/5+H); AB2=IIf(Ref(L,-1)>L,((Ref(L,-1)-L)/5)+L,(L-Ref(L,-1))/5+L); Plot (AB1,"AB1", colorGreen); Plot (AB2,"AB2", colorAqua); PlotOHLC(O,H,L,C,"Airbag",colorRed, styleCandle ); Title = Name() +" ("+ FullName()+ ") - "+" O="+O+", H="+H+", L="+L+", C="+C+"\nDate:"+Date() +"\n AB1="+Ab1+"\n AB2="+Ab2+"\n Volume="+Volume/10+"\n"; _SECTION_END();