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 MacDad, 02-25-2024, 11:48 PM
        7 responses
        158 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Today, 09:29 PM
        0 responses
        6 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post mattbsea  
        Working...
        X