• 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 nailz420, Today, 09:15 PM
    0 responses
    0 views
    0 likes
    Last Post nailz420  
    Started by ATMtrader0001, Today, 01:27 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by ATMtrader0001, Today, 01:16 PM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by elnoppo, Today, 01:25 PM
    2 responses
    6 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by FabianoTrader, Today, 04:00 PM
    2 responses
    14 views
    0 likes
    Last Post FabianoTrader  
    Working...
    X