Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compiler Error in Text Formatting

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

    Compiler Error in Text Formatting

    I am trying to compile a strategy using an indictor that prints a text message on the chart. there is a numerical value associated with the text message, which I can use in a strategy, however when I try to compile the strategy, I am getting error messages which are associated with the area of the indicator that formats text. I will provide the line of code that is causing the error message as well as the portion of the code line wiich is the actual source, as well as an attachment with the error messages that show up on the bottom of the strategy in the message window:

    Line of Code:
    Code:
     if (SceetoCLOrderFlowMonitor("", false, false, false, false, false, false, true, Color.Lime, "", Color.White, 2, 1, "", Color.Red, "", false, false, false, false, false, Color.Black, [Font: Name=Arial, Size=8, Units=3, GdiCharSet=1, GdiVerticalFont=False]).LongEvent[0] > 0)
    Portion of Line of Code:
    Code:
    [Font: Name=Arial, Size=8, Units=3, GdiCharSet=1, GdiVerticalFont=False]).ShortEvent[0]
    Attached Files

    #2
    Daven,

    What does Intellisense suggest for the the method and it's available signatures?
    MatthewNinjaTrader Product Management

    Comment


      #3
      When I hover near the start of the line I get Class system,Drawing.Font.

      when I hover over the red comma's indicating an error I get, "argument expected".

      Not sure if this is what you were looking for.

      DaveN

      Comment


        #4
        Unfortunately I do not have access to this exact indicator and do not know what arguments it is looking for.

        Have you checked with Sceeto regarding developing with their indicators?
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by wzgy0920, Yesterday, 09:53 PM
        2 responses
        49 views
        0 likes
        Last Post wzgy0920  
        Started by Kensonprib, 04-28-2021, 10:11 AM
        5 responses
        191 views
        0 likes
        Last Post Hasadafa  
        Started by GussJ, 03-04-2020, 03:11 PM
        11 responses
        3,230 views
        0 likes
        Last Post xiinteractive  
        Started by andrewtrades, Today, 04:57 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        7 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Working...
        X