Url

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > Instruments > Instrument > MasterInstrument >

Url

Previous page Return to chapter overview Next page

Definition

Indicates the Url configured for the Master Instrument properties.

 

Property Value

A string value representing the Url that is configured for the current master instrument.

 

Syntax

Bars.Instrument.MasterInstrument.Url

 

Examples

ns


protected override void OnBarUpdate()

 {

         // Displays the master instrument's URL at the bottom right of the chart

         Draw.TextFixed(this, "tag1", "Instruments URL is " + Bars.Instrument.MasterInstrument.Url, TextPosition.BottomRight);

 }