• 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

Please show me how to do this...

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

    Please show me how to do this...

    Please show me how to do this in strategy wizard. I want to enter a long position but if price move back to my entry I want to exit. I want to do this instead of using the stop loss function. Thank you.

    #2
    Hello relogical,
    You can check with the Average position price with the current close to do it.

    Also please note you need to add more conditions besides what it is demonstrates in the attached screenshot.

    Please let me know if I can assist you any further.
    Attached Files
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      How would I also re-enter a long if price moved back up after I exited? Thanks

      Comment


        #4
        Hello relogical,
        A simple way would be assigning the value of the position average price to a variable and access it for future reference.

        Please see the attached picture which demonstrates it. You have to input addition entry/exit conditions.
        Attached Files
        JoydeepNinjaTrader Customer Service

        Comment


          #5
          I am a bit confused. I am trying to enter long when price hits lower Donchian, then sell if price moves against me, then re-enter if price goes up. Can you show me this? Thank you

          Comment


            #6
            Hello relogical,
            Unfortunately we can offer support for specific issues, and do not custom code NinjaScirpt codes.

            To develop your custom indicator/strategies you can contact any of our independent NinjaScript consultants. You can get the list of our NinjaScript consultants from here http://www.ninjatrader.com/partners#...pt-Consultants
            JoydeepNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by vivekniwas, Today, 11:31 AM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Heath  
            Started by Austiner87, Yesterday, 04:59 PM
            1 response
            9 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by rlcheny, Today, 10:38 AM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Tyler  
            Started by JAtrades, Today, 05:38 AM
            5 responses
            24 views
            0 likes
            Last Post rlcheny
            by rlcheny
             
            Started by RobotSyndicate, Today, 08:27 AM
            1 response
            13 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X