Support

Equilla Formula Language

SubChart

Sets whether the indicator is opened in its own subchart (true by default).

Inputs

OpenInSubchart
Boolean: Whether a new subchart is created.

Remarks

The SubChart property is specifying if new script instances should be placed in a new subchart. In addition the property affects the default value of the MoveWithParent property and the evaluation of the ShareValueScale property.

The default value of the property depends on the type of the script you are creating. For indicators it is true, for strategies it is false.

Examples

Draw the Momentum into a new subchart
Meta: SubChart( True ); Input: Price( Close ), Period( 10, 1 ); DrawForest( Momentum( Price, Period ), 0, "Momentum", "Zero" );