Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

About sessions

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

    #16
    Thank you for your reply.

    I changed the if (Bars.IsFirstBarOfSession) and added to understand someCondition and did the run, but I get an error message saying that the name 'someCondition does not exist in the current context'. The name 'someCondition' does not exist in the current context.
    What does this error message mean?
    Attached Files

    Comment


      #17
      Hello ラリー,

      someCondition is not real code, I already mentioned that in post 8. Please see post 8 for an explanation of what I had provided.

      someCondition is a placeholder for whatever code you create. Copying and pasting the someCondition won't work, I did not provide actual code that would work by copying and pasting it.You need to write your own code that is valid.

      As mentioned our support can't create customized C# logic samples for you, if you are having trouble understanding basic C# conditions and structure please use external resources to learn C# before working with NinjaScript. Our support cannot provide C# education, if you want to learn C# that would be something you need to use external websites and tutorials for. Learning C# is a prerequisite to being able to manually code NinjaScript.

      JesseNinjaTrader Customer Service

      Comment


        #18
        Thank you for your reply.


        someCondition is a placeholder for whatever code you create. Copying and pasting the someCondition won't work,
        I think I understand about someCondition.

        So it is a character or value that is temporarily entered instead of a character or value that is entered later.

        Thank you very much.​

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by rhyminkevin, Today, 04:58 PM
        3 responses
        47 views
        0 likes
        Last Post Anfedport  
        Started by iceman2018, Today, 05:07 PM
        0 responses
        5 views
        0 likes
        Last Post iceman2018  
        Started by lightsun47, Today, 03:51 PM
        0 responses
        7 views
        0 likes
        Last Post lightsun47  
        Started by 00nevest, Today, 02:27 PM
        1 response
        14 views
        0 likes
        Last Post 00nevest  
        Started by futtrader, 04-21-2024, 01:50 AM
        4 responses
        50 views
        0 likes
        Last Post futtrader  
        Working...
        X