Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Want to modify bw fractal indicator
Collapse
X
-
Want to modify bw fractal indicator
The bwfractal indicator for NT 7 puts a number on the chart at the fractal point which takes up to much space on the chart. I would like to replace that with a dot or diamond, where/how would I change that in the code?Tags: None
-
Change the DrawText methods to DrawDot or DrawDiamond
For instance change
To this:Code:DrawText("High"+barcounter.ToString(), true, High[period].ToString(".0000"), period, High[period], 10, color, textFont, StringAlignment.Center, Color.Transparent, Color.Transparent, 0);
Code:DrawDot("High"+barcounter.ToString(), true, period, High[period], color);MatthewNinjaTrader Product Management
-
Originally posted by NinjaTrader_Matthew View PostChange the DrawText methods to DrawDot or DrawDiamond
For instance change
To this:Code:DrawText("High"+barcounter.ToString(), true, High[period].ToString(".0000"), period, High[period], 10, color, textFont, StringAlignment.Center, Color.Transparent, Color.Transparent, 0);
http://www.ninjatrader.com/support/h...t7/drawdot.htmCode:
do you mean replace that and insert just with this: DrawDot("High"+barcounter.ToString(), true, period, High[period], color);
and cut off the rest of the original code?
Comment
-
Originally posted by NinjaTrader_Matthew View PostIn a sense - the two methods have a different number of arguments to compile. It's not exactly cutting off the rest of the code, but you are eliminating the arguments that are not needed in the DrawDot method.
well I did that and saved the changes but it did not reflect in chart/is there another way to save the changed code?
Comment
-
Originally posted by NinjaTrader_Matthew View PostAfter you make the changes, make sure you have right clicked on the code and select "Compile".
Once compiled, please right click on the chart with the indicator and select 'reload NinjaScript'
I did that but "compile" does not appear...
Is there another way to compile ?Last edited by Gregory Arkadin; 03-19-2013, 01:49 PM.
Comment
-
Originally posted by NinjaTrader_Matthew View PostHi,
Taking a step back - are you editing this from within NinjaTrader?
You will need to make these changes under Tools--> Edit NinjaScript--> Indicator
Please review our Help Guide article on the NinjaScript editor for more information:
http://www.ninjatrader.com/support/h...components.htm
I don't have the edit script option Is there a way you could edit/compile the change and re upload it the reply?Last edited by Gregory Arkadin; 03-19-2013, 01:53 PM.
Comment
-
-
-
This indicator used to use a Wingdings symbol which was identical to the original BW Fractal indicator. I'd also like to see the original restored. I'm going to go through some scripting videos so I can try to figure this stuff out for myself. In the mean time....if anyone can assist that would be great!
My next goal is to plot the BW Wiseman signals.
Comment
-
Here is BwFractals with Diamonds. I think getting the original symbol is a matter of using DrawText and plugging in the wingdings font.Attached Files
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
72 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
143 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
76 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
47 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
51 views
0 likes
|
Last Post
|

Comment