Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Last Losing Trade

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

    Last Losing Trade

    Hi,

    I cannot figure out how to write the NinjaScript for "the last trade was a loser."

    please advise

    #2
    Hi Freddy,

    This page can help with most of this:


    There is a losing trades collection as well as winning / allTrades.

    The most recent trade taken will be at an index value of the total trades in the collection minus 1.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rhyminkevin, Today, 04:58 PM
    1 response
    36 views
    0 likes
    Last Post Anfedport  
    Started by iceman2018, Today, 05:07 PM
    0 responses
    4 views
    0 likes
    Last Post iceman2018  
    Started by lightsun47, Today, 03:51 PM
    0 responses
    7 views
    0 likes
    Last Post lightsun47  
    Started by 00nevest, Today, 02:27 PM
    1 response
    14 views
    0 likes
    Last Post 00nevest  
    Started by futtrader, 04-21-2024, 01:50 AM
    4 responses
    49 views
    0 likes
    Last Post futtrader  
    Working...
    X