Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

error cs1012

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

    error cs1012

    I cannot compile my indicator since I get this CS1012 error message I don't understand.
    It seems to come from my DrawExtendedLine method.

    Here is a screenshot
    Attached Files

    #2
    Could you please translate the french error you get shown by the compiler for us?

    Thanks,

    Comment


      #3
      Compiler Error Message: CS1012: Too many characters in character
      literal

      Comment


        #4
        Would it change things if you used double quotes for the strings in your script? You currently single ones.

        Comment


          #5
          Thank you it works fine now.
          using double quotes resolve the issue.

          Comment


            #6
            Glad to hear!

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            51 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            31 views
            0 likes
            Last Post PaulMohn  
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            165 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            100 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            160 views
            2 likes
            Last Post CaptainJack  
            Working...
            X