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
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
Code:DrawText("High"+barcounter.ToString(), true, High[period].ToString(".0000"), period, High[period], 10, color, textFont, StringAlignment.Center, Color.Transparent, Color.Transparent, 0);
Code:
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 zstheorist, Today, 07:52 PM
|
0 responses
3 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
149 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
5 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
5 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
Comment