• 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

Hello how to do

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

    Hello how to do

    Hello how to do to redeem there where there have been target
    example : Target 2358,75 and me redeem at 2358.75
    I can not make it whithe ninjascipt

    #2
    Hello Yesiam,

    Thank you for your post.

    Please provide clarification on your inquiry. Are you looking to ensure only a fill at a certain price?

    I look forward to your response.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      After SetProfitTarget 1 at Buy i want to buy
      Where there was the Target
      Automaticaly with strategy

      Comment


        #4
        Hello Yesiam,

        Thank you for your response.

        You can have an Enter method that waits for the target price, it will close the current position and then open the new position. For example:

        Code:
        if (Position.MarketPosition == MarketPosition.Long && Close[0] >= myTargetPrice) // where myTargetPrice is a double that you set a value to
        {
        EnterShort();
        }
        For an example of a reversal strategy you can go to Tools > Edit NinjaScript > Strategy > SampleMaCrossover.

        For information on order methods please visit the following link: http://ninjatrader.com/support/helpG...er_methods.htm
        For information on Position please visit the following link: http://ninjatrader.com/support/helpG.../iposition.htm

        Please let me know if you have any questions.
        Patrick H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by darkgreen, Today, 03:35 PM
        0 responses
        3 views
        0 likes
        Last Post darkgreen  
        Started by GTBrooks, Today, 02:44 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by GLFX005, Today, 12:22 PM
        4 responses
        41 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by AspenHiker, Today, 08:37 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by MartinT, Yesterday, 01:12 PM
        3 responses
        16 views
        0 likes
        Last Post MartinT
        by MartinT
         
        Working...
        X