Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Setting a stop loss

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

    Setting a stop loss

    I would like to try and set a stop loss at the most recent Swing low - 1 tick.
    Is it possible to do this through the wizard?
    So far I have
    Position.MarketPosition==MarketPosition.Long
    Is this all I need in the 'following conditions are true' section?
    Last edited by maninjapan; 05-12-2008, 04:41 AM.

    #2
    I believe this is possible however, it might not be 100% since the swing indicator returns a value of zero or negative (can't recall) which indicates that there is not swing point. The wizard is unable to provide flexibility to check if there is NOT a swing point, use some other value.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Carolscogginsi, Yesterday, 10:45 PM
    0 responses
    6 views
    0 likes
    Last Post Carolscogginsi  
    Started by RaddiFX, Yesterday, 10:15 AM
    2 responses
    15 views
    0 likes
    Last Post RaddiFX
    by RaddiFX
     
    Started by patrickmlee007, Yesterday, 09:33 AM
    2 responses
    18 views
    0 likes
    Last Post patrickmlee007  
    Started by magnatauren, 08-15-2020, 02:12 PM
    5 responses
    208 views
    0 likes
    Last Post RaddiFX
    by RaddiFX
     
    Started by rene69851, 05-02-2024, 03:25 PM
    1 response
    23 views
    0 likes
    Last Post rene69851  
    Working...
    X