Announcement

Collapse
No announcement yet.

"chaining" studies - is it possible?

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

  • "chaining" studies - is it possible?

    Is it possible to apply a study on the output of another study or is the input to studies always the price data?
    Example:
    Suppose I want to calculate and plot the moving average of CCI. At the moment I would use the built in CCI and "hand code" a moving average operation on the result of CCI, but it would be nice if I could do something like MA(CCI(cci_period,price_data),ma_period).

  • #2
    gilad
    With EFS2 you can very easily write studies on studies. The example you posted would be written as follows
    sma(sma_period, cci(cci_period, cci_source))
    For more information on the syntax of the EFS2 functions see the EFS2 Function Reference in the EFS KnowledgeBase
    Alex

    Comment


    • #3
      Thanks,
      I have been coding EFS for the last year or so and have not got a chance to look into the new features of EFS2.
      I guess it is about time I do.

      Comment


      • #4
        gilad
        You may also want to see this thread that shows you how to create studies on studies using custom functions
        Alex

        Comment

        Working...
        X