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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Charazlexa, Today, 12:59 AM
        0 responses
        1 view
        0 likes
        Last Post Charazlexa  
        Started by space_trader, Today, 12:52 AM
        0 responses
        3 views
        0 likes
        Last Post space_trader  
        Started by soon123, Today, 12:18 AM
        0 responses
        2 views
        0 likes
        Last Post soon123
        by soon123
         
        Started by AxelrodWins, Yesterday, 07:07 PM
        1 response
        1 view
        0 likes
        Last Post NinjaTrader_Marco  
        Started by StockJock, Yesterday, 11:05 PM
        0 responses
        11 views
        0 likes
        Last Post StockJock  
        Working...
        X