Marks reference
The 3 functions and 0 values of mark: signature, effects, phase, cost and tested examples.
Marks drawn on the bars where a condition holds: a shape, a character or an arrow.
Functions#
mark.arrow#
mark.arrow([source], [name], [up_color], [down_color], [offset], [min_height], [max_height], [last_bars], [display], [format], [precision], [key], [was])
Draws an arrow on each bar whose direction and length follow the sign and size of source.
- Effects: draws on the chart or writes an output.
- Phase: every bar.
- Cost: counts against the limits on drawn objects and outputs.
mark.char#
mark.char([condition], [name], [char], [place], [color], [offset], [text], [text_color], [size], [last_bars], [display], [format], [precision], [key], [was])
Draws a character on each bar where condition is true.
- Effects: draws on the chart or writes an output.
- Phase: every bar.
- Cost: counts against the limits on drawn objects and outputs.
- Examples: Inside bars.
mark.shape#
mark.shape([condition], [name], [shape], [place], [color], [offset], [text], [text_color], [size], [last_bars], [display], [format], [precision], [key], [was])
Draws a shape on each bar where condition is true.
- Effects: draws on the chart or writes an output.
- Phase: every bar.
- Cost: counts against the limits on drawn objects and outputs.
- Examples: EMA pair with cross marks, RSI zones, Inside bars, Window of the day.