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 quantismo, 04-17-2024, 05:13 PM
        3 responses
        25 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by ScottWalsh, 04-16-2024, 04:29 PM
        7 responses
        34 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by cls71, Today, 04:45 AM
        0 responses
        5 views
        0 likes
        Last Post cls71
        by cls71
         
        Started by mjairg, 07-20-2023, 11:57 PM
        3 responses
        214 views
        1 like
        Last Post PaulMohn  
        Started by TheWhiteDragon, 01-21-2019, 12:44 PM
        4 responses
        547 views
        0 likes
        Last Post PaulMohn  
        Working...
        X