mystockid 15 posts msg #154550 - Ignore mystockid |
11/4/2020 6:39:36 PM
Could someone tell me how should I read these lines of codes on a chart? I don't know what the boxes of columns mean
draw WDMAC_up
set{DMAC_22, count (Daily_MACD > Daily_MACD 22 day low,1)}
draw DMAC_22
set{c_13, count (close > EMA(13),1)}
draw c_13
|
nibor100 1,046 posts msg #154557 - Ignore nibor100 |
11/5/2020 1:19:42 PM
@mystockid,
In a nutshell, those colored boxes in a column indicate that on that date the conditions for that variable were true.
Each row of boxes is a specific named variable, such as C_13, DMAC_22, etc.
In the code below, the SF count function is basically being used as a True/False toggle, in that each set line with a Count function is counting how many times its true for 1 day. It returns a 1 if its true for that day and a 0 if its not true for that day. The 1s show up as colored boxes on the chart and the 0s as blank spaces.
Hope this helps,
Ed S.
draw WDMAC_up
set{DMAC_22, count (Daily_MACD > Daily_MACD 22 day low,1)}
draw DMAC_22
set{c_13, count (close > EMA(13),1)}
draw c_13
|