♥ 0 |
Hi, i have the original code for the Advanced Decline Cumulative Average study on TOS. However, i will like to add a label to the upper study charts to indicate that the lines have crossed above or below. Is it possible? Thanks for your help The code is as below declare lower; input exchange = {default NYSE, NASDAQ, AMEX}; def advnDecnPctChg = 1000 * AdvanceDecline(type = “Advance/Decline Line (Daily)”, exchange = exchange); plot CumulAD = if !IsNaN(advnDecnPctChg) then cumAdvnDecn else Double.NaN; CumulAD.DefineColor(“Above”, Color.UPTICK);
Marked as spam
|
Please log in to post questions.