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 argusthome, 03-08-2026, 10:06 AM
        0 responses
        88 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        48 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        31 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        34 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        69 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X