Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Works Great in Playback, Profit Target Gone in Live Market

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

    #16
    Hello wisdomspoon,

    I cannot generate logic for you, I can help you understand the logic you have written.

    If you are wanting someone to correct your logic, this thread will remain open for any community members who would like to do this as a convenience to you.

    You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like a list of affiliate consultants who would be happy to create this script or any others at your request or provide one on one educational services.


    That said, what is the behavior you are expecting?

    "what is incorrect is the 29min timeframe selling at a profit target of 12440 instead of using the 12445.25 profit target because: a) the position quantity is greater than 1 b) the total position quantity is less than QuantityThreshold."

    Why are you expecting 1445.25 as the limit?
    Where does this value come from?
    Are you assigning this value to the variable used for the order method call?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #17
      I started from scratch and thought through the logic. Thanks for pushing me to do that. Appreciate the help. You can delete the post, thanks again.
      Last edited by wisdomspoon; 08-25-2024, 12:19 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      87 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      132 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      65 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      118 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      67 views
      0 likes
      Last Post PaulMohn  
      Working...
      X