I added a trend up/down column to the watch list.
Not sure this makes much sense, but it helps me with the general stock direction. It's simply based on the BB midline going either up or down.
Code bit needs to be added the end of master code on page #1
Not sure this makes much sense, but it helps me with the general stock direction. It's simply based on the BB midline going either up or down.
Code bit needs to be added the end of master code on page #1
Code:
# I used just 5 to see trend changes faster
input length = 5;
def BBmid = Average(BBmidline[1], length);
AddLabel(yes, if BBmidline > bbMid then "Up" else "Down", if BBmidline > bbMid then Color.GREEN else Color.RED);