Announcement

Collapse
No announcement yet.

Calling Previous buy entry price

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

  • Calling Previous buy entry price

    Hello,

    In EFS language, how do I call the entryprice of the previous entry order?

    say today i went long at a price of 110.45, and my previous trade i went short at 109.45. How to I call the entryprice of the previous short trade now, when currently on the last bar on chart?

    Can this be done?

    Thank you in advance.

    Regards

    Rod
    Last edited by Rocket130713; 08-14-2008, 05:10 AM.

  • #2
    Re: Calling Previous buy entry price (not current entry price)

    Rod
    There isn't a specific efs function that would do that. You would need to keep track of and store the entry prices using your own code logic (for example using a global array)
    Alex


    Originally posted by Rocket130713
    Hello,

    In EFS language, how do I call the entryprice of the previous entry order?

    say today i went long at a price of 110.45, and my previous trade i went short at 109.45. How to I call the entryprice of the previous short trade now, when currently on the last bar on chart?

    Can this be done?

    Thank you in advance.

    Regards

    Rod

    Comment

    Working...
    X