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 RDTrader16, Today, 10:19 PM
        0 responses
        5 views
        0 likes
        Last Post RDTrader16  
        Started by gemify, 03-08-2023, 08:02 AM
        9 responses
        148 views
        0 likes
        Last Post culpepper  
        Started by elirion, Today, 10:03 PM
        0 responses
        1 view
        0 likes
        Last Post elirion
        by elirion
         
        Started by RaddiFX, Today, 09:55 PM
        0 responses
        6 views
        0 likes
        Last Post RaddiFX
        by RaddiFX
         
        Started by Trader146, 03-29-2024, 01:22 PM
        4 responses
        26 views
        0 likes
        Last Post Trader146  
        Working...
        X