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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      80 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      54 views
      0 likes
      Last Post CarlTrading  
      Working...
      X