Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Make font smaller on candle-stick pattern descriptions

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

    #16
    anituchka,

    Please provide me with a copy of the full code of this custom version of CandleStickPattern.
    KyleNinjaTrader Customer Service

    Comment


      #17
      Here it goes. Just changed font to Cambria 8. that's all. I copied/pasted text in a text file.
      Attached Files

      Comment


        #18
        Hello anituchka,

        The issue here is the enum. They must be unique per namespace - can't be in more than one indicator.

        To resolve:

        Identify this public enum declaration in your copied indicator and remove it. Remove the whole block of code indicated below. It should still be accessible from the system indicator so this should be the only change you have to make.

        Code:
         
        public enum ChartPattern
        {
        BearishBeltHold,
        BearishEngulfing,
        BearishHarami,
        BearishHaramiCross,
        BullishBeltHold,
        BullishEngulfing,
        BullishHarami,
        BullishHaramiCross,
        DarkCloudCover,
        Doji,
        DownsideTasukiGap,
        EveningStar,
        FallingThreeMethods,
        Hammer,
        HangingMan,
        InvertedHammer,
        MorningStar,
        PiercingLine,
        RisingThreeMethods,
        ShootingStar,
        StickSandwich,
        ThreeBlackCrows,
        ThreeWhiteSoldiers,
        UpsideGapTwoCrows,
        UpsideTasukiGap,
        }
        Ryan M.NinjaTrader Customer Service

        Comment


          #19
          Yes, it did help! Thank you. It works now!

          Tell me please, do I always have to remove enum if I copy and change a system indicator?

          Comment


            #20
            Hello anituchka,

            Yes – it is important that there are no redundancies is the indicator you are trying to save/compile.

            Please let me know if you have any additional questions.
            ChipNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by srtrader, 02-12-2025, 09:01 PM
            4 responses
            34 views
            0 likes
            Last Post srtrader  
            Started by PH_GMT, 02-12-2025, 12:40 PM
            9 responses
            58 views
            0 likes
            Last Post PH_GMT
            by PH_GMT
             
            Started by Eagleeye76, Today, 05:02 PM
            0 responses
            11 views
            0 likes
            Last Post Eagleeye76  
            Started by sebinho, Today, 03:33 PM
            0 responses
            12 views
            0 likes
            Last Post sebinho
            by sebinho
             
            Started by Babbou72, 02-15-2025, 08:37 PM
            25 responses
            114 views
            0 likes
            Last Post rockmanx00  
            Working...
            X