Announcement

Collapse
No announcement yet.

Value of the current bar

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

  • Value of the current bar

    hi,

    how can I get the high and low value of the current bar?

    getValue(....) ?? or how does it work?

    i need it for back testing the Parabolic SAR or can i find some where ParSAR back tesing strategy's,

    sorry I'm new to eSignal.

    thx,
    alen

  • #2
    alen
    high(0), low(0), etc is what you would use to retrieve those values for the current bar. For prior bars use a negative value (for example the low of two bars ago would be low(-2))
    Alex

    Comment


    • #3
      thank you very much for your fast answer!!

      can you tell me please, is it possible in eSignal (while back testing) to program a stop/loss decision,
      f.g.
      you buy eur/us$ long at open price 1.35112
      an that you program that it should stop loss at -100 pips, and take profil at +100 pips,
      and how, may be you can show me an example,

      thanks,
      alen

      Comment


      • #4
        alen
        Yes it is possible. To see how it can be done you may want to read the Guide to Developing eSignal Strategies which contains sample efs(s) that compute profit targets and stops
        Alex

        Comment


        • #5
          Alex

          thank you very much, you helped me a lot!!

          Alen

          Comment

          Working...
          X