Welcome Features News Download Registration Support FAQ Wish list Links
Advanced stock charting and analysis program

A-Z Index | Category Index |

ParamColor
- add user user-definable color parameter

Exploration / Indicators
(AFL 2.3)


SYNTAX ParamColor( ''name'', defaultcolor )
RETURNS NUMBER
FUNCTION Adds a new user-definable parameter, which will be accessible via Parameters dialog :
right click over chart pane and select "Parameters" or press Ctrl+R allows to change chart parameters - changes are reflected immediatelly.

  • "name" - defines parameter name that will be displayed in the parameters dialog
  • defaultcolor - defines default color value of the parameter
colorCycle - accepted only by ParamColor function as default value, causes that default color cycles through red, blue, green, turquoise, gold, violet, bright green, dark yellow
EXAMPLE Plot( RSI(), "RSI", ParamColor( "RSI Color", colorRed ) );
SEE ALSO PARAM() function , PARAMSTR() function

References:

The ParamColor function is used in the following formulas in AFL on-line library:


 


About | Privacy | Terms of Use | Contact information
Copyright © 2003 AMIBROKER.COM