Announcement

Collapse
No announcement yet.

How can I create a spread of a spread?

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

  • How can I create a spread of a spread?

    I am relatively new to eSignal, and I was hoping someone could help me.

    Presently, I have a multi-symbol chart comprising 2 spreads. I would now like to create a spread of these two spreads. This could be either in the form of a 3rd line on the chart, or as an "indicator" in another panel on the chart. Can this be done? If so, how?

    Any help would be much appreciated.

    Regards,

    eMan

  • #2
    This would be best done with an EFS. For instance,

    function main(sym1, sym2, sym3, sym4) {

    return ((sym1 - sym2) - (sym3 - sym4));

    }

    I would suggest creating a more robust program by using Function Parameters, null checks and such, but the above snippet should give you the general idea, though.
    Regards,
    Jay F.
    Product Manager
    _____________________________________
    Have a suggestion to improve our products?
    Click Support --> Request a Feature in eSignal 11

    Comment

    Working...
    X