Also, an audible alert where I can choose the alert message. I do not want to wait until the bar closes.
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
Outside Bar
Collapse
X
-
Outside Bar
I would like a Ninja 7 indicator that identifies an outside bar at a glance. I would like it to paint an up arrow below the bar, if price first took out the low of the previous bar and then the high. And a down arrow above the bar, if price first took out the high of the previous bar and then the low. I know nothing about building indicators and I would really appreciate help with this. Thank you. Randy
Also, an audible alert where I can choose the alert message. I do not want to wait until the bar closes.Last edited by ussdotsons; 02-01-2015, 01:45 PM.Tags: None
-
Hello ussdotsons,
Thank you for your post.
Are you looking for someone to create this indicator for you?
We do not provide programming services, but one of our Support Forum members may be able to create this for you.
The conditions would be simple enough to create. You would compare the Open against the Low of the previous bar and the Close against the High of the previous bar, then use DrawArrowUp(). The opposite for the down bar. For Example:
Code:if(Open[0] < Low[1] && Close[0] > High[1]) { DrawArrowUp("up"+CurrentBar, 0, Low[0] - (2*TickSize), Color.Green); } if(Open[0] > High[1] && Close[0] < Low[1]) { DrawArrowDown("down"+CurrentBar, 0, High[0] + (2*TickSize), Color.Red); }
Alert: http://www.ninjatrader.com/support/h.../nt7/alert.htm
User Defined Variable: http://www.ninjatrader.com/support/f...ead.php?t=5782
-
Thank you Patrick. Yes, I am looking for someone to create this indicator. Although you make it sound simple, I have no idea what you are talking about....lol.
Comment
-
Also, it looks like what you have posted requires an open above/below the range of the previous bar and a close below/above the range of the previous bar. I actually do not care where it opens or closes. I am looking to find bars that break one side of the previous bar's range and then turn around and break the other end of the previous bar's range. And I would like an alert as soon as the other end of the range is touched.
Comment
-
I have coded an indicator, which allows you to identify
- inside bars
- double inside bars
- narrow range bars
- outside bars
- wide range bars
- three bar triangles
The different conditions can be displayed via paintbars, diamonds or text. The indicator uses the terminology introduced by Toby Crabel. For example
IB4 = an inside bar, which has the narrowest range of the last 4 bars (or which is narrower than the 3 prior bars)
NR7 = an narrow range bar with a range that is the narrowest bar of the last 7 bars
OB7 = an outside bar, which has the widest range of the last 7 bars
DI3 = a double inside bar, which has the narrowest range of the last 3 bars
IB2 would be a standard inside bar, OB2 a standard outside bar.
Chart attached. The indicator is available here open source:
The best futures trading community on the planet: futures trading, market news, trading charts, trading platforms, trading strategies
If you are not an elite member of Big Mike's send me a private message with your e-mail, and I will send you the indicator.
Comment
-
Hi Harry,
The OB2/OB7 are very close to what I need. I can make good use of them and I thank you for your reply.
Once again, thanx so much.
RandyLast edited by ussdotsons; 02-02-2015, 09:29 AM.
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by smartromain, 03-13-2024, 01:42 AM
|
5 responses
91 views
0 likes
|
Last Post
by AndreiBig
Today, 06:08 AM
|
||
Started by Noerclou, Today, 04:55 AM
|
0 responses
2 views
0 likes
|
Last Post
by Noerclou
Today, 04:55 AM
|
||
Started by llanqui, Yesterday, 09:59 AM
|
2 responses
17 views
0 likes
|
Last Post
by llanqui
Today, 04:00 AM
|
||
Started by ThoriSten, Today, 03:56 AM
|
0 responses
6 views
0 likes
|
Last Post
by ThoriSten
Today, 03:56 AM
|
||
Started by PhillT, 04-19-2024, 02:16 PM
|
3 responses
23 views
0 likes
|
Last Post
by mangel2000
Today, 03:04 AM
|
Comment