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

Coffee (KC) futures EOD auto close

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

  • NinjaTrader_JoshG
    replied
    RedDuke,

    Sounds good. While you are doing that also test with the 'SampleMACrossover' strategy with the same settings as your strategy and see if the same exit behavior occurs.

    Leave a comment:


  • RedDuke
    replied
    Hi Josh,

    TIF: is GTC

    No errors anywhere, just regular order submissions in Logs tab,

    I will enable trace and check if I can get anything there.

    Regards,
    redduke

    Leave a comment:


  • NinjaTrader_JoshG
    replied
    Hello RedDuke,
    Thanks for your post.

    What TIF setting are you using for your orders?

    Do you have TraceOrders set to "true"? What does TraceOrders report in your Output window?

    Is there an error on the Logs tab of your Control Center when this occurs? If so, what does it say?

    Leave a comment:


  • RedDuke
    started a topic Coffee (KC) futures EOD auto close

    Coffee (KC) futures EOD auto close

    Hello,

    We currently testing our strategy in coffee futures (KC symbol on ICE exchange) in market replay. I am coming accords a weird issue. Coffee closes for trading at 1:30pm Eastern Time. If I have a open position, Ninja closes it. Every strategy has standard setting to close at end day, and I have it set to false. It is my custom strategy, but the trade is closed by ninja since my custom logic writes tons of things to output window when it closes the trade. And there is nothing there apart from standard ninja things. Same exact strategy on oil (CL) has no issues, but oil does not close midday, it just does not trade between 5-6pm EST like the rest of products on CME.

    Any help with this issue is very much appreciated.

    Thanks,
    redduke

Latest Posts

Collapse

Topics Statistics Last Post
Started by nandhumca, Yesterday, 03:41 PM
1 response
12 views
0 likes
Last Post NinjaTrader_Gaby  
Started by The_Sec, Yesterday, 03:37 PM
1 response
11 views
0 likes
Last Post NinjaTrader_Gaby  
Started by vecnopus, Today, 06:15 AM
0 responses
1 view
0 likes
Last Post vecnopus  
Started by Aviram Y, Today, 05:29 AM
0 responses
5 views
0 likes
Last Post Aviram Y  
Started by quantismo, 04-17-2024, 05:13 PM
3 responses
27 views
0 likes
Last Post NinjaTrader_Gaby  
Working...
X