DYO: Reference Tags


A tag is enclosed in the square brackets, and can be used to return a value for use in a DYO's Message Text, Number field, or Label.   The following DYO Line reads the bar's Close value, and adds the Number field value which is a negative of the bar's Low value.   The calculation stored in Global Variable [1] is the bar's  Close - Low.

DYO Line Tags:   [A] through [J] will return a DYO Line's value.

Global Variable Tags:   [0] through [255] will return a Global Variable value.

Chart and Bar Tags:

[$S] Chart symbol
[$O],[$H],[$L],[$C] Bar Open, High, Low, Close
[$V],[$T] Bar Volume, Tick Count
[$N],[$R] Bar Net, Range
[$A],[$B] Ask Volume, Bid Volume
[$E],[$F] Ask Ratio, Bid Ratio
[$J],[$K] Buy Pressure, Sell Pressure
[$W],[$X] Buy Ratio, Sell Ratio
[$%] (C - L) / (H - L)
[$2] (H + L) / 2
[$3] (H + L + C) / 3
[$4] (O + H + L + C) / 4 
[$I] Bar Index
[$M] Chart time frame
[$Z],[$Y] Tick Size, Tick Size / 2
[$Q] Tick field from Symbol Properties.
[$G] Min. Grid from Symbol Properties.
[$P] Leverage to convert points to $
[$D] Bar time in a format of   hhmm
or date in a format of  yyymmdd
[$<],[$>] Day session Open, Close time hhmm
[$(],[$)] 2nd session Open, Close time hhmm

Sim-Broker Tags:

[@P] Position:  {Long, Short, Flat}
[@Q] Open Position Quantity
[@E] Open Position Entry Price
[@O] Open Position Profit/Loss
[@C] Closed Positions Profit/Loss
[@$] Total Profit/Loss
[@W] Win Trades Profit/Loss
[@L] Loss Trades Profit/Loss
[@T] Number of Total Trades 
[@B] Buy Stop Price
[@S] Sell Stop Price
[@R] Stop and Reverse Price

Quote Page Tags:

[^O],[^H],[^L],[^C] Open, High, Low, Close
[^V],[^I] Volume, Open Interest
[^N],[^Y] Net, Yesterday's Close
[^A],[^D],[^E] Ask, Ask Size, Tick Vol at Ask
[^B],[^F],[^G] Bid, Bid Size, Tick Vol at Bid
[^%] (C - L) / (H - L)
[^2] (H + L) / 2
[^3] (H + L + C) / 3
[^4] (O + H + L + C) / 4 
[^R] (H - L) Range
[^S] True Range
[^T],[^Z] Tick Volume, Between Bid Ask

charting software | features | downloads | order | help | search | testimonials | disclosures | contact us | Ensign charts on FacebookEnsign charts on twitterEnsign charts on You Tube
Ensign Software, Inc., 113 Stillwater Drive, Idaho Falls, ID 83404 Support: 801-328-1382 Billing: 208-552-2230
(c) 2011 Ensign Software, Inc. All Rights Reserved
Last modified 8/4/11 2:51 PM