• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Max Drawdown from Highest Price

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

    Max Drawdown from Highest Price

    Can I use Max() to determine the highest price value my trade reached prior to moving down to my exit. I am looking for ETD, but using the highest price during the Long trade to calculate my drawdown from highest value...

    Thanks...

    #2
    Hello dunwoodyjr,

    Thank you for your post.

    If you are still in the trade you can use the following:
    Code:
    double highDurTrade = MAX(High, BarsSinceEntry())[0];
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by reedstickets, Today, 07:53 PM
    0 responses
    5 views
    0 likes
    Last Post reedstickets  
    Started by Atilla, Today, 04:05 PM
    0 responses
    17 views
    0 likes
    Last Post Atilla
    by Atilla
     
    Started by Displacer, Today, 02:57 PM
    2 responses
    13 views
    0 likes
    Last Post Displacer  
    Started by SAILIKITY, 05-22-2019, 05:41 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by rmillar, 01-09-2019, 06:02 PM
    6 responses
    75 views
    1 like
    Last Post eDanny
    by eDanny
     
    Working...
    X