easy language question

Discussion in 'Trading Software' started by over_invested, Oct 16, 2002.

  1. i'm trying to convert easy language code to metastock. only getting stuck with one function, "highest(x,y)"

    what is this function?

    i think it is old easy language. i downloaded a manual for new e-l and couldn't find.
  2. Kymar


    Looks like you're dealing with the highest x (e.g., close, high, etc.) of the last y bars
  3. DaveN


    I think you are looking at the equivalent of the EasyLanguage MaxList() function. You can compare any two values/points in a price series or variables. I don't know the Metastock equivalent off the top of my head--Maximum()? to compare two price series; I fear it may not exist if you want to compare values other than price series, and you'll have to code the comparison using PREV.

    check the www.traders2traders.com website. It's there.
  4. This checks for the highest x value across range y. For example:

    Highest(Close,5) would return the highest closing price of the last five bars, inclusive of current bar.

    Hope this helps.
  5. DaveN


    OK, then the Metastock equivalent is HHV(C,5) for your example above.
  6. thanks very much, have tried HHV function is MS and seems to work (graphs look the same)