Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Power of Three (PO3)
Collapse
X
-
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.
-
Originally posted by neveral0n3 View Postis this po3 indicator available to download? also looking for something like t00 degrees for nt8
Comment
-
-
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
-
Originally posted by neveral0n3 View PostHey 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.
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 PostLast edited by rockmanx00; 03-15-2025, 07:42 PM.
Comment
-
Originally posted by rockmanx00 View PostIt 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.
Comment
-
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
-
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 FilesLast edited by MiCe1999; 04-05-2025, 09:04 AM.
- Likes 1
Comment
-
Originally posted by MiCe1999 View PostMarginMultiCandlesticks3.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.
Comment
-
Originally posted by rockmanx00 View PostI 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?
Last edited by michelz; Yesterday, 08:49 AM.
Comment
-
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?
TextBrush = xTextBrush;
UpCandleOutlineBrush = xUpCandleOutlineBrush;
DownCandleOutlineBrush = xDownCandleOutlineBrush;
WickBrush = xWickBrush;
UpCandleFillBrush = xUpCandleFillBrush;
DownCandleFillBrush = xDownCandleFillBrush;Last edited by rockmanx00; Yesterday, 09:40 AM.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by afoschini, 05-18-2020, 09:03 AM
|
4 responses
858 views
0 likes
|
Last Post
![]()
by shodown888
Today, 01:32 PM
|
||
Started by M_ichel, Yesterday, 02:21 PM
|
3 responses
30 views
1 like
|
Last Post
![]()
by M_ichel
Today, 01:28 PM
|
||
Started by jstout, 07-10-2012, 08:01 PM
|
7 responses
9,821 views
0 likes
|
Last Post
![]()
by Chidiroglou
Today, 12:47 PM
|
||
Started by agilek, 09-13-2021, 08:11 AM
|
31 responses
2,674 views
0 likes
|
Last Post
|
||
Started by quantyse_ntforum, 03-10-2025, 09:05 AM
|
17 responses
316 views
0 likes
|
Last Post
![]()
by zakki
Today, 10:29 AM
|
Comment