MarketScript > Introduction to MarketScript |
MarketScript is GlobalView's new formula engine introducing relaxed syntax of formula expressions.
"/GCL" is equivalent to $SV(/GCL)
wagg( "/GCL" / 3 )
fill( wagg("/GCL[0]"), 7, fwd )
fill("/GCL", 7, fwd) – "/GNG" *1.7
Formula is defined by single expression optionally followed by a attributes in square brackets:
expression [ ';' [ '[' attributes ']' ] ]
example:
"/GCL" / 3 ; [#4]