Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategies not opening positione

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

    Strategies not opening positione

    Ninjatrader strategies are not functioning correctly for me.

    The computer is running but most of the time (although not always) the position is not opening.

    The strategies are 'Green' and position is in sync.

    Data is coming through to the charts and price is changing.

    If conditions are met, a position does not open. However, if you then cycle a strategy off/on, it recognises that the position should have opened. Because it didn't, the strategy is then 'Amber' and sync 'False'. Eventually the position closes. When conditions are next met, again (mostly) the position does not open.

    The computer is not going to sleep.
    I am using the Sim101 account, until I get this working. So there is no other trading on the account.

    Does anyone have any suggestions on what could cause this?

    #2
    Hello GiantTreeTrader,

    Thank you for the post.

    From the description this sounds like the condition only works in historical. If you are seeing that the strategy is green and working but skips a spot where it should have been true, then you disable and re enable it and now it sees that spot, that would be the difference between historical and realtime processing.

    It would have gone through that time in realtime and not traded and when you disable/re enable it will now go back through that time again as historical. Whatever is preventing it from trading in realtime is likely caused by the difference in data or processing between realtime and historical.

    You could use a Print in the script to see what specifically is happening differently in that location to get a better idea of how to proceed.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by PH_GMT, Today, 12:40 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Robotman, Today, 01:06 PM
    0 responses
    20 views
    0 likes
    Last Post Robotman  
    Started by somanko, Today, 11:51 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by 80grit, 01-11-2025, 10:57 AM
    12 responses
    276 views
    0 likes
    Last Post eDanny
    by eDanny
     
    Started by Joshua 1:8, Today, 10:15 AM
    2 responses
    21 views
    0 likes
    Last Post Joshua 1:8  
    Working...
    X