Announcement

Collapse
No announcement yet.

Stock as function of custom index?

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

  • Stock as function of custom index?

    Hello. I'm trying to look at a stock as a function of a custom index. For example, I would like to look at F / ( GM + IBM). The adv chart operators won't let me order the calculations so i get f/gm + ibm. Would anyone know a way to do this in an efs routine? Thanks for any help.

    jeff

  • #2
    Here's how I would do it...

    PHP Code:

    function main() {

    return 
    close("F") / (close("GM") + close ("IBM"));


    Regards,
    Jay F.
    Product Manager
    _____________________________________
    Have a suggestion to improve our products?
    Click Support --> Request a Feature in eSignal 11

    Comment

    Working...
    X