Announcement

Collapse
No announcement yet.

getValue

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

  • getValue

    Hi all,

    I want to retrieve the past daily highs and lows on a 5 minute chart and I tried to use Donchian study for that. But I get an error

    my code is:

    vDonch.getValue(DonchianStudy.UPPER,-5,0,getSymbol()+",D")

    Can anybody help with this or is it not possible to get it this way?

    Thanks in advance

  • #2
    rookie2004
    It is not posssible (at this time) to pass an interval to a builtin study. This will change with the next generation of the efs language.
    In the mean time use the same method implemented in the Prev High.efs and Prev Low.efs which are in the OHLC subfolder of the Formulas foilder
    Alex

    Comment

    Working...
    X