Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Power of Three (PO3)

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

    #16
    There were a few different suggestions regarding the po3 indicator including the one I posted. One was available for download, another is code you can copy, and mine was a .cs file.

    Comment


      #17
      Originally posted by neveral0n3 View Post
      is this po3 indicator available to download? also looking for something like t00 degrees for nt8



      Comment


        #18
        Click image for larger version

Name:	Screenshot 2025-03-15 105333.png
Views:	182
Size:	17.8 KB
ID:	1337806 I've been trying to figure out how to add more of the HTF bars to the side of the screen but I can't figure it out.​ Like instead of a single hourly bar, have 3 of them. Anyone know what I can add to make that happen?
        Attached Files
        Last edited by Noongun; 03-15-2025, 02:06 PM.

        Comment


          #19
          Hey guys - indicator has alot of potential. Like Noongun mentioned how do I add multiple candles 3-4 to the right side? Also the Hex color pallete doesnt update when I add different colors to the candles to match my existing theme.

          Comment


            #20
            Originally posted by neveral0n3 View Post
            Hey guys - indicator has alot of potential. Like Noongun mentioned how do I add multiple candles 3-4 to the right side? Also the Hex color pallete doesnt update when I add different colors to the candles to match my existing theme.
            Is this the indicator I made? If it is you would need to replace the code in OnStateConfigure

            TextBrush = xTextBrush;
            UpCandleOutlineBrush = xUpCandleOutlineBrush;
            DownCandleOutlineBrush = xDownCandleOutlineBrush;
            WickBrush = xWickBrush;
            UpCandleFillBrush = xUpCandleFillBrush;
            DownCandleFillBrush = xDownCandleFillBrush;​

            I had originally hard coded the brush colors and forgot to change that part.

            Originally posted by Noongun View Post
            Click image for larger version  Name:	Screenshot 2025-03-15 105333.png Views:	0 Size:	17.8 KB ID:	1337806 I've been trying to figure out how to add more of the HTF bars to the side of the screen but I can't figure it out.​ Like instead of a single hourly bar, have 3 of them. Anyone know what I can add to make that happen?
            It is possible. And it would look similar to what you are doing? You would just need to keep track of a set of OHLC doubles for every candle you are trying to add. You would just use the data from the higher time frame to get that data and index it appropriately. You would also need to determine where you wanted to place said candle. If you are not using any price data, then you can use the candle body start point and subtract an offset, in a similar way to how the first candle is already set up. Using prints would help you understand how adding and subtracting would affect how the rectangles are positioned.
            Attached Files
            Last edited by rockmanx00; 03-15-2025, 07:42 PM.

            Comment


              #21
              Originally posted by rockmanx00 View Post
              It is possible. And it would look similar to what you are doing? You would just need to keep track of a set of OHLC doubles for every candle you are trying to add. You would just use the data from the higher time frame to get that data and index it appropriately. You would also need to determine where you wanted to place said candle. If you are not using any price data, then you can use the candle body start point and subtract an offset, in a similar way to how the first candle is already set up. Using prints would help you understand how adding and subtracting would affect how the rectangles are positioned.
              Do you mind sharing please the latest with the 3 candles if already updated? Adding codes for the 3 candles is way beyond me.

              Comment


                #22
                Click image for larger version

Name:	image.png
Views:	131
Size:	39.1 KB
ID:	1337822

                If you're ok with uglier candles and worse code: Unlimited candles, 50% retrace point, strat candle type and ATR.

                Comment


                  #23
                  Originally posted by MiCe1999 View Post


                  If you're ok with uglier candles and worse code: Unlimited candles, 50% retrace point, strat candle type and ATR.

                  Thank you very much. This is brilliant!

                  Comment


                    #24
                    Yeah I have no idea how to code this.

                    Comment


                      #25
                      Originally posted by rockmanx00 View Post

                      Is this the indicator I made? If it is you would need to replace the code in OnStateConfigure

                      TextBrush = xTextBrush;
                      UpCandleOutlineBrush = xUpCandleOutlineBrush;
                      DownCandleOutlineBrush = xDownCandleOutlineBrush;
                      WickBrush = xWickBrush;
                      UpCandleFillBrush = xUpCandleFillBrush;
                      DownCandleFillBrush = xDownCandleFillBrush;​

                      I had originally hard coded the brush colors and forgot to change that part.



                      It is possible. And it would look similar to what you are doing? You would just need to keep track of a set of OHLC doubles for every candle you are trying to add. You would just use the data from the higher time frame to get that data and index it appropriately. You would also need to determine where you wanted to place said candle. If you are not using any price data, then you can use the candle body start point and subtract an offset, in a similar way to how the first candle is already set up. Using prints would help you understand how adding and subtracting would affect how the rectangles are positioned.


                      Is there any way you can release this version of the code? Would essentially be doing us a favor but im struggling with ninjascript a bit. Thanks in advance

                      Comment


                        #26
                        Originally posted by danwcw View Post


                        Thank you very much. This is brilliant!
                        agreed brilliant thankyou

                        Comment


                          #27
                          MarginMultiCandlesticks3.cs : Added Fibonacci retracement lines and ability to shift the candles so few indicators can be used on the same chart. It's not optimized for performance, be sure to validate that it works on your PC.


                          Attached Files
                          Last edited by MiCe1999; 04-05-2025, 09:04 AM.

                          Comment


                            #28
                            Originally posted by MiCe1999 View Post
                            MarginMultiCandlesticks3.cs : Added Fibonacci retracement lines and ability to shift the candles so few indicators can be used on the same chart. It's not optimized for performance, be sure to validate that it works on your PC.
                            Was about to reach out hoping for the same but you did it already. Thank you so much. It's a dream come true to have multiple TFs on the same chart. The Fib is an ingenius addon. Looking forward to future improvements Thank you again.

                            Comment


                              #29
                              Originally posted by rockmanx00 View Post
                              I attempted to make one too. You can change the colors or the wicks, outline for Up/Down candles, the fill color of those candles, and the ability to choose a bar type and a period. You can also choose not to display the value text on the side....


                              *Edit*
                              Added Displays to show the Bar type and period above, and a timer for the higher time frame below. There are also boolean you can uncheck if you don't want them displayed, but are on by default.

                              Changed some of the formatting so the text and HTF candle centers nicely. Also moved the Open and Low texts to the left side of the candle so they no longer overlap each other.

                              Fixed more centering issues.

                              Fixed overlapping issue when displaying price. I didn't check to see it worked with green candles, so I fixed some of the logic and it works now.

                              Fixed some Properties window formatting and descriptions.

                              Added a check to ensure that the secondary is a Higher time frame.
                              The Secondary time frame can be either "Second", "Minute" or "Day" time frames.
                              If the Secondary time frame chosen is lower than the Primary time frame, or the Primary time frame is not either "Second", "Minute" or "Day" time frames, the indicator will default to the Primary data series data.

                              Download from the User App Share here: https://ninjatraderecosystem.com/use...-of-three-po3/

                              Many thanks! Downloaded your indicator and things look very cool on the NT desktop chart. I only noticed that changing the fill color of the bar (up) doesn't work with the indicator. I want to have it in the color 'MediumSpringGreen', for example. Is there a way to fix this?
                              Attached Files
                              Last edited by michelz; 04-22-2025, 08:49 AM.

                              Comment


                                #30
                                Originally posted by michelz View Post


                                Many thanks! Downloaded your indicator and things look very cool on the NT desktop chart. I only noticed that changing the fill color of the bar (up) doesn't work with the indicator. I want to have it in the color 'MediumSpringGreen', for example. Is there a way to fix this?
                                I posted a fix for this in an earlier post...Since I use the same color schemes, I didn't notice that changing the color didn't do anything. You need to replace this section in OnStateChange. Let me know if you run into any other problems. The original code you are replacing, if I remember correctly, should be hard coded colors.

                                TextBrush = xTextBrush;
                                UpCandleOutlineBrush = xUpCandleOutlineBrush;
                                DownCandleOutlineBrush = xDownCandleOutlineBrush;
                                WickBrush = xWickBrush;
                                UpCandleFillBrush = xUpCandleFillBrush;
                                DownCandleFillBrush = xDownCandleFillBrush;​​
                                Last edited by rockmanx00; 04-22-2025, 09:40 AM.

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by WilsonFoster, Yesterday, 11:35 PM
                                0 responses
                                6 views
                                0 likes
                                Last Post WilsonFoster  
                                Started by MiCe1999, Yesterday, 09:26 PM
                                0 responses
                                10 views
                                0 likes
                                Last Post MiCe1999  
                                Started by connorlmarble, Yesterday, 08:25 PM
                                0 responses
                                10 views
                                0 likes
                                Last Post connorlmarble  
                                Started by algospoke, 02-20-2025, 08:12 PM
                                7 responses
                                90 views
                                0 likes
                                Last Post MiCe1999  
                                Started by MiCe1999, Yesterday, 05:55 PM
                                0 responses
                                11 views
                                0 likes
                                Last Post MiCe1999  
                                Working...
                                X