Professional Documents
Culture Documents
// ----------------------------------------
groupVWAP = "Volume Weighted Average Price"
// ----------------------------------------
[_vwap, stDev]
// ----------------------------------------
// ----------------------------------------
// ----------------------------------------
// ----------------------------------
groupSTD = "Standard Deviation Bands"
// ----------------------------------
// --------------
groupL = "Labels"
// --------------
// --------------
timeChange(period) =>
ta.change(time(period))
newSessionD = timeChange("D")
newSessionW = timeChange("W")
// --------------
// --------------
[s6up, s5up, s4up, s3up, s2up, s1up, s1dn, s2dn, s3dn, s4dn, s5dn, s6dn] =
compute_stDEV(vwap_sel, stdev_sel, stDevMultiplier_1, stDevMultiplier_2,
stDevMultiplier_3, stDevMultiplier_4, stDevMultiplier_5, stDevMultiplier_6)
// --------------