• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Builder

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

    Strategy Builder

    How do I add a condition where a variable is = to a string value? I found the numeric value, but not the string value.

    Thanks!!
    Last edited by RiversideDude; 03-18-2017, 02:12 PM.

    #2
    Hello,

    Thank you for the post.

    It looks like you would need to create two string variables, and then compare the two variables against each other. You can set a string variable using a condition as well, this would be where you could enter any value. Here is an example:

    Create two string variables named MyString and MyString2

    Set a default for MyString2 as Test
    Now for a condition, check that User Variable MyString is equal to UserVaraible MyString2
    In another sets action, choose Misc-> Set MyString and type in "Test"

    Once the sets condition is true, the first strings blank value gets set to Test which is compared against the second variable which has a default value of Test.

    I will submit a feature request for a more simple means of string entry like numeric value.


    I look forward to being of further assistance.
    Last edited by NinjaTrader_Jesse; 03-18-2017, 07:15 PM.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by vavatete, Today, 11:41 AM
    2 responses
    4 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by swcooke, Today, 11:40 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by NtFan, Today, 11:51 AM
    0 responses
    2 views
    0 likes
    Last Post NtFan
    by NtFan
     
    Started by Mike001!, Today, 11:24 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by jrobin747, Today, 10:25 AM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_Tyler  
    Working...
    X