Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Draw.Region Behavior
Collapse
X
-
Hello Andrea,
A great example of using pathgeometry is in the @Shapes.cs file in the DrawingTools folder.
- Likes 1
Leave a comment:
-
Hello Chelsea,
thank you for your reply!
I already use the first solution, I will try using geometry, I think this is what I was looking for!!
have you some esample for this case?
Leave a comment:
-
Hello Andrea,
You could choose to start the region on the bar after and not draw the region on the bar you are not wanting it to appear on.
For example you could draw the region between two series as long as the value on the previous bar of the first series is greater than the value of the previous bar on the second series.
Or you could custom render in OnRender() using geometry.
Leave a comment:
-
Draw.Region Behavior
Dear Support,
I need to know if is there a method to fix Draw.Region function like I need.
In the attached screenshot, you can see that Draw.Region always draw region between the two iSeries Y values, and this is correctly expected.
But if I want draw only the area under or up my custom level (such as 15 or 85 in my case) what is the best way to do ?
I mean inside the same candle I would like to see one part of area not colored, and one part colored when indicator pass my extreme value.
OnRender function can help me in this case?
thank you, best regards
Andrea
Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
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
31 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
2 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,282 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
||
Started by WHICKED, Today, 12:45 PM
|
2 responses
20 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
Leave a comment: