Advance/Decline label

markos

markos

Well-known member
VIP
Here is a little label that will tell you where the bias is throughout the day. It may be handy for some of you.



Code:
# AD Label
# Mobius
# Chat Room Request 04.26.2016
# v 7-19 Markos BTW, put this symbol on your chart and it will keep track of the A/D for the day.

input SYMB = "$ADSPD";

def Data = close(symbol = "$ADSPD", period = AggregationPeriod.Day);
addLabel(1, "AD = " + Data, if Data < 0
then color.red
else color.green);
# End Code
 

Top