August 5, 2007
Code editor special characters demo
I have been asked if it is possible to enter < > = characters in the code editor.
Of course it is possible. See this example:
1 | variable = Close <= 100; |
See the other, longer code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | function MarketFacilitationIndex() { return ( High - Low )/Volume; } mfac = MarketFacilitationIndex(); rm = ROC( mfac, 1 ); rv = ROC( Volume, 1 ); Color = IIf( rm > 0 AND rv > 0, colorGreen, IIf( rm < 0 AND rv < 0, colorBlue, IIf( rm > 0 AND rv < 0, colorGrey40, IIf( rm < 0 AND rv > 0, colorRed, colorLightGrey ) ) ) ); Plot( mfac, _DEFAULT_NAME(), Color, ParamStyle("Style", styleHistogram | styleThick, maskHistogram ) ); |
Filed by Tomasz Janeczko at 10:43 am under Using WordPress

