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

SetProfitTarget(signalName, ...) fails

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

    SetProfitTarget(signalName, ...) fails

    SetProfitTarget() is not attached to only designated entry with signal name if signal name specified in parameters of the function AND entry filled not by one execution. It attached to all entries.

    See image.
    I call SetProfitTarget("VPBS #126 1 of 2") for entry 1 with signal name "VPBS #126 1 of 2"
    But it sets profit target for "VPBS #126 2 of 2".

    In case 2 profit target attached as expected to entry with signal name "VPBS #128 1 of 2"

    Any suggestions?
    Attached Files

    #2
    Hello ren37,

    Thank you for your post.

    Can you send us your log and trace files for this occurrence?

    You can do this by going to the Control Center-> Help-> Mail to Platform Support. Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default.

    Please list 'ATTN: Patrick H' in the subject line and a reference to this thread in the body of the email.

    I look forward to assisting you further.

    Comment


      #3
      I did it.
      ty

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by bortz, 11-06-2023, 08:04 AM
      47 responses
      1,610 views
      0 likes
      Last Post aligator  
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      9 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      19 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      6 views
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      21 views
      0 likes
      Last Post Javierw.ok  
      Working...
      X