ApeX Predator
Well-known member
@Novaskimo here you go. I trust you know how to create a watch list column. All I did was remove the Vertical Lines for WL.
Full credit goes to @MerryDay
EDIT: Just realized CreateColor will not work for Watch list. So modified with static Color codes, Please feel free to change them to match the actual study colors. @Novaskimo
-Surya
Full credit goes to @MerryDay
EDIT: Just realized CreateColor will not work for Watch list. So modified with static Color codes, Please feel free to change them to match the actual study colors. @Novaskimo
-Surya
Code:
# TOS Leavitt Convolution Slope TOS Leavitt Convolution Acceleration
# labels by @MerryDay January 2021
# https://www2.wealth-lab.com/wl5wiki/TASCJan2020.ashx
# TOS Leavitt Convolution Slope + # TOS Leavitt Convolution Acceleration
def LCSlope = reference LeavittConvolutionSlope("price" = close, "length" = 49)."LeavittConvolutionSlope" ;
# TOS Leavitt Convolution Acceleration
def LCAcceleration = reference LeavittConvolutionAcceleration("price" = close, "length" = 49)."LeavittConvolutionAcceleration" ;
def TrendBegin = LCSlope[1] < LCSlope[2] and LCSlope > LCSlope[1] and LCAcceleration > LCAcceleration[1];
def Trending = LCSlope > LCSlope[1] and LCAcceleration > LCAcceleration[1] ;
def Sloping = LCSlope > LCSlope[1];
AddLabel(LCSlope>=-.15,
if LCSlope[1] > LCSlope[2] and LCSlope < LCSlope[1] and LCAcceleration < LCAcceleration[1] then "Bull End"
else if LCSlope > LCSlope[1] and LCSlope crosses above -.15 and LCAcceleration > LCAcceleration[1] then "Bull Begin"
else if LCSlope[1] < LCSlope[2] and LCSlope > LCSlope[1] and LCAcceleration > LCAcceleration[1] then "Bull Begin"
else if LCSlope > LCSlope[1] and LCAcceleration > LCAcceleration[1] then "Slope & acceleration rising"
else if LCSlope > LCSlope[1] then "Slope rising-acceleration not"
else if LCSlope <= LCSlope[1] and LCAcceleration <= LCAcceleration[1] then "Slope & acceleration falling"
else if LCSlope < LCSlope[1] then "Slope falling"
else "Slope neutral" ,
if LCSlope[1] > LCSlope[2] and LCSlope < LCSlope[1] and LCAcceleration < LCAcceleration[1] then Color.Yellow
else if LCSlope > LCSlope[1] and LCSlope crosses above -.15 and LCAcceleration > LCAcceleration[1] then Color.Green
else if LCSlope[1] < LCSlope[2] and LCSlope > LCSlope[1] and LCAcceleration > LCAcceleration[1] then Color.Green
else if LCSlope > LCSlope[1] and LCAcceleration > LCAcceleration[1] then Color.Green
else if LCSlope > LCSlope[1] then Color.Plum
else if LCSlope <= LCSlope[1] and LCAcceleration <= LCAcceleration[1] then Color.Red
else if LCSlope < LCSlope[1] then Color.Red
else Color.Plum);
Last edited: