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 russelpope, Today, 01:53 AM
        0 responses
        3 views
        0 likes
        Last Post russelpope  
        Started by avidordelon, Today, 01:42 AM
        0 responses
        4 views
        0 likes
        Last Post avidordelon  
        Started by kevenconster, Yesterday, 11:58 PM
        0 responses
        11 views
        0 likes
        Last Post kevenconster  
        Started by kttoprsht, Yesterday, 10:52 PM
        0 responses
        8 views
        0 likes
        Last Post kttoprsht  
        Started by kttoprsht, Yesterday, 10:51 PM
        0 responses
        6 views
        0 likes
        Last Post kttoprsht  
        Working...
        X