Draw(d,0123456789, par)
Previous Topic  Next Topic 


Name

Comment

Name

Description

Parameter 1

Parameter 2

Parameter 3














Returns

Comment


Example





Draw

Draws the value d in a chart via memory cells 0-9

Data value to draw

Cell 0-9 to be used as storage for the value from the script

RGBMCKWYD SDQA BMRSOVACDE 012 F are parameters to draw

RGBMCKWYD colour Red Green Blue Magenta Cyan blacK White Dark, ie a darker colour


SDQA Scaling: S=simple 0-100, D= double +/- 100, Quotes, Auto


BMRSOVACDE Area: B=Bars(price) M=Momentum R=Rsi S=Stochastic O=Oscillator V=Volume A=Analysis 1 C=Macd D=Analysis 2 E=Analysis 3


012 Penstyle 0=line, 1=dotted, 2=dotted lines


F flag ie display as flag


Possible to draw up to 10 extra charts from the sama script(except the scripts usual return value). Same as RetVal(d,0123456789) but with draw function.

draw(c,4,rqb) draws close via cell 4 as a red line, scaled as quotes in area=bars

draw(mult(gt(c,mov(c,5,s)),20),2,dgsvF) draws flags 20% high in the volume area. Colour dark green. Cell 2 is used as storage.



Tips for grahics


Placement

Scaling

Display as flag

Any area according to parameter 3

set by parameter 3

Yes, if F last in parameter 3