Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change the wick color of the candles

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

    #16
    Ok, I got it working by restarting NT8 (for some reason F5/recompiling doesn't work)



    [ATTACH=JSON]{"alt":"Click image for larger version Name:\twick colors.png Views:\t0 Size:\t603.8 KB ID:\t1188311","data-align":"none","data-attachmentid":"1188311","data-size":"custom","height":"600","title":"wick colors.png","width":"733"}[/ATTACH]

    The lines 154 & 155 to customise the wicks only colors

    [ATTACH=JSON]{"alt":"Click image for larger version Name:\tEPiva45.png Views:\t0 Size:\t76.0 KB ID:\t1188317","data-align":"left","data-attachmentid":"1188317","data-size":"custom","height":"115","title":"EPiva45.png","width":"350"}[/ATTACH]
    Attached Files
    Last edited by PaulMohn; 02-04-2022, 03:30 AM.

    Comment


      #17
      I found we can control the colors from right click on the Chart/ Ctrl+F > Data Series > Select Chart Style and the customize the colors

      [ATTACH=JSON]{"data-align":"none","data-size":"custom","height":"550","title":"DataSeries Wick Colors.png","width":"750","data-attachmentid":1188329}[/ATTACH]
      Attached Files

      Comment


        #18
        [QUOTE=PaulMohn;n1188328]I found we can control the colors from right click on the Chart/ Ctrl+F > Data Series > Select Chart Style and the customize the colors

        [ATTACH=JSON]{"data-align":"none","data-size":"custom","height":"550","title":"DataSeries Wick Colors.png","width":"750","data-attachmentid":1188329}[/ATTACH][/QUOTE]

        i'm using this code:
        [url]https://pastebin.com/QzNzQxYL[/url]

        if you could improve the code that will be great.

        Comment


          #19
          [QUOTE=rafaelcoisa;n1189472]

          i'm using this code:
          [URL]https://pastebin.com/QzNzQxYL[/URL]

          if you could improve the code that will be great.[/QUOTE]

          Hello Rafael, with you very helpful script and some tips from Chris I manage to get it working

          Here's the Candlestick version
          [url]https://ninjatraderecosystem.com/user-app-share-download/upperwickvslowerwick-candlesticks-chartstyle-with-outline-opacity/[/url]

          And the EquiVolume version
          [url]https://ninjatraderecosystem.com/user-app-share-download/upperwickvslowerwickequivolume/[/url]

          Thanks again for your modifications, that was very helpful to focus on the essential parts.

          p.s there also all the current chartstyle scripts in the User Apps Share
          [url]https://ninjatraderecosystem.com/user-app-share-results/?fwp_usa_search=chartstyle[/url]

          User Apps Share (for many other free scripts to learn from)
          [url]https://ninjatraderecosystem.com/user-app-share/[/url]

          The Submit Your App Link (if you'd like to contribute and share your own Indicators, Strategies or Charstyle etc script to the User Apps Share)
          [url]https://ninjatraderecosystem.com/submit-your-app/[/url]
          Last edited by PaulMohn; 02-11-2022, 04:27 AM.

          Comment


            #20
            Hello Everyone,

            To change the color of the candle body, I use the code snippet:
            BarBrush = Brushes.White;

            To clarify this thread, is there a code snippet that we can insert to change the color of the candle wick?

            I do not wish to change it manually and have it apply to all the bars with Chart Styles.

            Thanks Irv

            Comment


              #21
              [QUOTE=ij001;n1200875]Hello Everyone,

              To change the color of the candle body, I use the code snippet:
              BarBrush = Brushes.White;

              To clarify this thread, is there a code snippet that we can insert to change the color of the candle wick?

              I do not wish to change it manually and have it apply to all the bars with Chart Styles.

              Thanks Irv

              [/QUOTE]

              Hello,

              Do you want the candle wicks to be all in white color (meaning the upper wick and the lower wick to both be in white on every candle) ?
              If so, please download the Chart Style there:
              [URL="https://ninjatraderecosystem.com/user-app-share-download/upperwickvslowerwickequivolume/"]https://ninjatraderecosystem.com/use...ickequivolume/[/URL]

              Then to load the Chart Style:
              Just simply click on the chartstyle menu on your chart and select 'UpperWickvsLowerWickEquiVolume' or set as the default chartstyle instead of candlesticks.
              *Then right Click on the Chart and select DataSeries or press Ctrl+F to customize the Wicks colors.

              Then to set the wicks color to white, select the white color in the Properties window for

              Colors - Up Bar upper Wick
              and
              Colors - Up Bar lower Wick

              and

              Colors - Down Bar Upper Wick
              and
              Colors - Down Bar lower Wick

              Please see attached ChangeWicksColors screenshot

              Comment


                #22
                [QUOTE=ij001;n1200875]Hello Everyone,

                To change the color of the candle body, I use the code snippet:
                BarBrush = Brushes.White;

                To clarify this thread, is there a code snippet that we can insert to change the color of the candle wick?

                I do not wish to change it manually and have it apply to all the bars with Chart Styles.

                Thanks Irv

                [/QUOTE]

                Or what you mean is to change only some of the candles wicks colors (according to you own custom logic) to white in a custom indicator and not in a chart style? If so, I'm not sure that is possible for the wicks (if I remember correctly the wicks are only customisable with ChartStyle i.e. for all candles and not only some of them).

                Comment


                  #23
                  [QUOTE=PaulMohn;n1200945]

                  Or what you mean is to change only some of the candles wicks colors (according to you own custom logic) to white in a custom indicator and not in a chart style? If so, I'm not sure that is possible for the wicks (if I remember correctly the wicks are only customisable with ChartStyle i.e. for all candles and not only some of them).[/QUOTE]

                  Hi PaulMohn,

                  Yes, this is correct. Change the color of [I]some[/I] candlesticks.

                  Just looking to make some candlesticks white so there is less data to see.

                  Thanks Irv

                  Comment


                    #24
                    [QUOTE=PaulMohn;n1200941]

                    Hello,

                    Do you want the candle wicks to be all in white color (meaning the upper wick and the lower wick to both be in white on every candle) ?
                    If so, please download the Chart Style there:
                    [URL="https://ninjatraderecosystem.com/user-app-share-download/upperwickvslowerwickequivolume/"]https://ninjatraderecosystem.com/use...ickequivolume/[/URL]

                    Then to load the Chart Style:
                    Just simply click on the chartstyle menu on your chart and select 'UpperWickvsLowerWickEquiVolume' or set as the default chartstyle instead of candlesticks.
                    *Then right Click on the Chart and select DataSeries or press Ctrl+F to customize the Wicks colors.

                    Then to set the wicks color to white, select the white color in the Properties window for

                    Colors - Up Bar upper Wick
                    and
                    Colors - Up Bar lower Wick

                    and

                    Colors - Down Bar Upper Wick
                    and
                    Colors - Down Bar lower Wick

                    Please see attached ChangeWicksColors screenshot
                    [/QUOTE]

                    Hi PaulMohn,

                    This is really neat.
                    I'm curious, do you find it useful in your practices?

                    Irv

                    Comment


                      #25
                      [QUOTE=ij001;n1200971]

                      Hi PaulMohn,

                      Yes, this is correct. Change the color of [I]some[/I] candlesticks.

                      Just looking to make some candlesticks white so there is less data to see.

                      Thanks Irv[/QUOTE]
                      Hello
                      ij001
                      I'm still not sure it is possible with either ChartStyles or indicators. I can't find the post that mentioned it. I think you might find answers in the Indicator forum (it should be faster to ask a question there "How to color the wicks of some candles but not all with an Indicator or a ChartStyle".

                      Comment


                        #26
                        [QUOTE=ij001;n1200972]

                        Hi PaulMohn,

                        This is really neat.
                        I'm curious, do you find it useful in your practices?

                        Irv[/QUOTE]

                        It can help in many ways, mainly to contrast body color and opposite wick or other combinations. Do you have another use in mind?

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by fx.practic, 10-15-2013, 12:53 AM
                        5 responses
                        5,403 views
                        0 likes
                        Last Post Bidder
                        by Bidder
                         
                        Started by Shai Samuel, 07-02-2022, 02:46 PM
                        4 responses
                        94 views
                        0 likes
                        Last Post Bidder
                        by Bidder
                         
                        Started by DJ888, Yesterday, 10:57 PM
                        0 responses
                        6 views
                        0 likes
                        Last Post DJ888
                        by DJ888
                         
                        Started by MacDad, 02-25-2024, 11:48 PM
                        7 responses
                        158 views
                        0 likes
                        Last Post loganjarosz123  
                        Started by Belfortbucks, Yesterday, 09:29 PM
                        0 responses
                        8 views
                        0 likes
                        Last Post Belfortbucks  
                        Working...
                        X