_DEFAULT_NAME
- retrive default name of the plot

Exploration / Indicators
(AmiBroker 4.70)


SYNTAX _DEFAULT_NAME()
RETURNS STRING
FUNCTION This function returns the default name of plot in the drag-drop section. The default name consists of section name and comma separated list of values of numeric parameters defined in given section.
EXAMPLE _SECTION_BEGIN("MA1");
P =
ParamField("Price field");
Periods =
Param("Periods", 15, 2, 200, 1, 10 );
Plot( MA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

_DEFAULT_NAME will evaluate to "MA1(Close,15)" string.

SEE ALSO _SECTION_BEGIN() function , _SECTION_NAME() function , _SECTION_END() function

References:

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

More information:

See updated/extended version on-line.