Announcement

Collapse
No announcement yet.

Overlay Syntax

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Overlay Syntax

    Anyplace I can get a description of the syntax of the overlay expression? Can I divide the current price by the closing price for the stock in question?

  • #2
    Hey Paulie,

    If I understand what you wish, I don't think that's possible. With expressions we're dealing with symbols only. Can't use symbol fields in an expression as far as I know.

    The "overlay" expression is the same as a regular expression that one could enter into symbol box in the Expression Toolbar, or into a quotesheet.

    The simplest expression is a symbol
    IBM for example.

    Or a spread can be done (using 6.0 format here)
    IBM - MSFT
    or as a percentage
    MSFT / IBM
    or another way to express percentage
    ((($NDX / $SPX) - 1) * 100)
    or one could invert Yen
    ((1 / CME:6J #F) * 100) [there's a format issue in 6.0 with Yen requiring the * 100].

    In 6.0 a space is required before and after operators.
    In 5.1 a space before operator and seems to work with or without a space after operator.

    If entering into quotesheet, a fully qualified expression with parens ( ) is required.
    (IBM - MSFT)

    LAM

    Comment


    • #3
      Thanks.

      I think I've got it. Space as a delimiter, parens to order operations. And no auto yesterday's close.

      Yesterday, I manually entered the close and it worked.

      I guess that's good enough.

      Thanks again.

      Comment

      Working...
      X