PlotGrid
|
Exploration / Indicators |
SYNTAX | PlotGrid( level, color = colorDefault, pattern = 1, width = 1, Label = True ) |
RETURNS | NOTHING |
FUNCTION | Plots hotizontal grid line using built-in dotted style at given level, color, pattern, width, with or without Label.
New in version 5.90:
So instead of Plot( 50, "", colorRed, styleLine | styleThick ); use: PlotGrid( 50, colorRed, 10, 2, False ); // solid line 2 pixels thick, no label |
EXAMPLE |
PlotGrid( 25, colorRed );
|
SEE ALSO | PLOT() function , PLOTFOREIGN() function , PLOTOHLC() function |
Tomasz Janeczko tj --at-- amibroker.com 2003-04-18 07:12:14 | Instead of number you can also use expression but it must be NUMERIC expression, not ARRAY. Use LastValue to convert: your_expression = ... PlotGrid( LastValue( your_expression ) ); |
The PlotGrid function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.