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 Aviram Y, Today, 05:29 AM
            0 responses
            2 views
            0 likes
            Last Post Aviram Y  
            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
            6 views
            0 likes
            Last Post cls71
            by cls71
             
            Started by mjairg, 07-20-2023, 11:57 PM
            3 responses
            217 views
            1 like
            Last Post PaulMohn  
            Working...
            X