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

Condition not evalulting as expected

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

    #16
    Hello UltraNIX,

    Was Str2 an int? If not that is not a valid comparison. NinjaScript is C# language so you would need to cast whatever Str2 is to an int before checking that its equal.


    Please let me know if I may be of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Nyman, Today, 02:27 PM
    0 responses
    4 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by qewcool, Today, 10:26 AM
    2 responses
    23 views
    0 likes
    Last Post qewcool
    by qewcool
     
    Started by RISKYBUSINEZZ, Today, 09:07 AM
    4 responses
    33 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by tkaboris, Today, 08:30 AM
    3 responses
    19 views
    0 likes
    Last Post tkaboris  
    Started by DerkWehler, 07-15-2024, 11:35 AM
    19 responses
    57 views
    0 likes
    Last Post DerkWehler  
    Working...
    X