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

Handelspause programmieren

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

    Handelspause programmieren

    Hallo,

    wie lautet der Code für eine Handelspause im Ninjatrader 7? Im Strategy Wizard kann man ja nur den Beginn und das Ende einer Session eingeben. Wenn ich z. B. von 8 bis 17 Uhr eine Session habe, aber in einer bestimmten Zeit keine neuen Trades eingegangen werden sollen, wie mache ich das? Laufende Trades sollen aber weiter betreut werden.
    Danke im voraus.

    #2
    Hello,
    Thanks for your post.

    You can use the GetNextbeginEnd method to get the session begin and end time. Please refer to our help guide to know more.
    https://ninjatrader.com/support/help...xtbeginend.htm

    If you want to filter trading hours to a specific time then you can refer to this sample code which demonstrates it.
    http://ninjatrader.com/support/forum...ad.php?t=19182

    If you have any further questions please let us know.
    Last edited by NinjaTrader_JoshG; 09-22-2017, 07:30 AM.
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Thank you for your answer, but the link doesn´t work. It shows "Authorization Required".

      Comment


        #4
        My apologies, I have updated those links for you.
        Josh G.NinjaTrader Customer Service

        Comment


          #5
          Hello gplatis,

          Thank you for your post.

          Please refrain from posting consistently on threads in such a manner as you have.

          You can use services like Google Translate to translate messages. The user's original post reads as follows:

          Subject:
          Trade break
          Thread post:
          Hello,

          What is the code for a trade break in Ninjatrader 7? In the Strategy Wizard you can only enter the start and end of a session. If, for example, For example, from 8 am to 5 pm, but no new trades should be entered in a certain time, how do I do this? However, ongoing trades are to be continued.
          Thank you in advance.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by PaulMohn, Today, 05:00 AM
          0 responses
          5 views
          0 likes
          Last Post PaulMohn  
          Started by ZenCortexAuCost, Today, 04:24 AM
          0 responses
          5 views
          0 likes
          Last Post ZenCortexAuCost  
          Started by ZenCortexAuCost, Today, 04:22 AM
          0 responses
          2 views
          0 likes
          Last Post ZenCortexAuCost  
          Started by SantoshXX, Today, 03:09 AM
          0 responses
          16 views
          0 likes
          Last Post SantoshXX  
          Started by DanielTynera, Today, 01:14 AM
          0 responses
          3 views
          0 likes
          Last Post DanielTynera  
          Working...
          X