Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Gradient Chart Background color

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

    #16
    GridCategory is an NT7 thing. I forget what its called in NT6.5 (Category, perhaps?) but take a peek at some 6.5 code to find out then do a find/replace to make it compatible with 6.5.

    Comment


      #17
      grid category

      replace grid category with Category.
      Edit - see new file - NT7 and NT6.5 compatible
      Attached Files
      Last edited by Mindset; 09-24-2010, 02:33 AM. Reason: Add zip file

      Comment


        #18
        backcolorall

        If anyone knows how to make a gradient background work over the whole form please post here. BackColorAll doesn't seem to work for this.

        Comment


          #19
          Here you go this is as far as I got with gradient bg, the only problem I have is the grid don't show, maybe the NT mods can show us how....
          Attached Files
          Last edited by inventor1949; 12-17-2010, 06:45 PM.

          Comment


            #20
            Interesting

            Hi Inventor1949

            Better, but the color doesn't change with the gradient. Frustratingly close though.
            I can't believe that in the whole of the NT community there isn't one person that knows the answer to this - even if it's that it can't be done.

            Comment


              #21
              I ask my self thesame question why their isi't any answer from NT,

              this is what I'm after. #155 img

              The #147 img is a NT7 but no grid...
              Attached Files

              Comment


                #22
                Originally posted by Mindset View Post
                replace grid category with Category.
                Edit - see new file - NT7 and NT6.5 compatible
                Hi Mindset,
                Did you wright this code? "BackGroundGradient" if you did will you please look at the img and tell me why the indicator looks the way it dose.
                Is threir way to fix that.
                What hapend to the grid lines.

                thanks... mike
                Attached Files

                Comment


                  #23
                  Vertical / Horizontal lines

                  Unfortunately the backgroundgradient code overrides any vertical or horizontal lines from the properties field.

                  Comment


                    #24
                    as you are looking for advice:

                    I would do this by overriding WndProc .
                    Problems could arrise because NT7 's own code might do so as well, so one must find the right spot in the ChartControl creation sequence where to override.


                    Best regards

                    Andreas

                    www.zweisteintrading.eu

                    Comment


                      #25
                      Ah

                      Zweistein

                      Sounds good but I have no idea what WndProc is let alone how to manipulate it!
                      My knowledge of code is purely self taught over the last 2-3 years.
                      Maybe you could demonstrate?

                      Comment


                        #26
                        Originally posted by Mindset View Post
                        Zweistein

                        Sounds good but I have no idea what WndProc is let alone how to manipulate it!
                        My knowledge of code is purely self taught over the last 2-3 years.
                        Maybe you could demonstrate?
                        Here you go try this link maybe you can read it for both of us.......

                        Cheat Slot Merupakan APK hack slot injector yang memungkinkan pemain slot untuk mendapatkan kemenangan besar secara instan.

                        Comment


                          #27
                          Sorry Mindset,

                          christmas is coming and I really couldn't care less about a gradient color background.
                          Do a search on google, C#, WndProc , BackGroundFill etc. and you will eventually find the bits and pieces to implement your thing.

                          Look, I am a trader with a background in research in physics. That is why I am quite proficient in NinjaScript now. Unfortunately (?) I am always full of ideas about new trading strategies etc. that sometimes I get too much into this software thing, especially in dull rainy winter time on monday evenings. Believe it or not, the best in writing all these strategies is that by spending that time I just have all the rules in my head. With the rules in my head I can also enter and exit trades manually. Actually the best trades are usually manual trades, maybe because that leaves space for intuition?

                          With all the snow disaster going on in UK, isn't it a good moment to look into the WndProc thing?

                          best regards
                          Andreas

                          Comment


                            #28
                            Seasons Greetings

                            Well I thank you for your honesty! And you are right Gradient coloring is not high on my list of
                            essential things to do - it's just irritating that it's 99% ok. I like it 100%.
                            I, too, can get a bit too much into the coding and forget that actually it's trading what makes the money.
                            I try and do the coding between trades and have found NS very difficult to learn as there is soooooooo much that isn't supported. I rely on other expert coders to sometimes shine the light.

                            Anyway seasons greetings and it is nice to forget trading for 4 days and come back refreshed after the break.

                            Comment


                              #29
                              Hi.

                              I've come across this thread while looking for gradient background setting.

                              Thank you for sharing the indicator below. It is great.

                              One question to whoever know the answer..

                              When I change the width of the chart smaller, this new line with gradient appears from the bottom.

                              Is there a way to fix this??

                              thank you in advance.

                              Ryan
                              Attached Files

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by cls71, Today, 04:45 AM
                              0 responses
                              1 view
                              0 likes
                              Last Post cls71
                              by cls71
                               
                              Started by mjairg, 07-20-2023, 11:57 PM
                              3 responses
                              213 views
                              1 like
                              Last Post PaulMohn  
                              Started by TheWhiteDragon, 01-21-2019, 12:44 PM
                              4 responses
                              544 views
                              0 likes
                              Last Post PaulMohn  
                              Started by GLFX005, Today, 03:23 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post GLFX005
                              by GLFX005
                               
                              Started by XXtrader, Yesterday, 11:30 PM
                              2 responses
                              12 views
                              0 likes
                              Last Post XXtrader  
                              Working...
                              X