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
Looking for inside bar indicator
Collapse
X
-
No worries-just an fyi. As mentioned - I took the code from above and added edits as per your video advise (1. //add a plot, 2. //add a variable (Ibf) with state signal, 3. //this gets the variable) ...I believe the code attached is the correct code. I don't rec loading it as you would have to do a workspace recovery after. I may have achieved the results I am looking for via another method, so I'm not actively trying to get this working now-only curious for learning purposes.
-
Hello JAtrades,
Thanks for your reply.
The script you provided is a market analyzer column and this is not what was provided by AlanP which was an indicator. The directions I provided was based on modifying an indicator that could be run in the market analyzer. FYI - The market analyzer has a column called indicator that would be used for any indicator that provides a signal.
If you would take the indicator Alan posted in #5 and make the modifications I pointed you to and follow the video directions you should be good to go.
Paul H.NinjaTrader Customer Service
Comment
-
Ah, yes... sorry to add confusion. I grabbed that code quickly when you asked-originally I did this as a column and today I realized that error...So I re-created the same thing as an indicator following the steps I've shared with you. I took Alan's indicator above (it's in my indicators - thanks Alan!), made the edits to the indicator I've described (which I learned from your video-thanks). I then added a new Market analyzer column, accessing the indicator from there and was met with the same results - broken marketanalyzer. Did you try this and confirm it works for you? I may try again for fun later-I'll let you know.
Comment
-
Now that I'm going through the steps again from scratch - I'm curious what led you to say "The script you provided is a market analyzer column and this is not what was provided by AlanP which was an indicator".Attached Files
Comment
-
Attached code which is imported indicator from above, edited with the same edits as described here previously (edited areas are annotated). Add a column to market analyzer and select this indicator. Enjoy - looks like a working! Now shut down and restart and see what market analyzer looks like. Mine is:Attached Files1 Photo
Comment
-
Hello JAtrades,
Thanks for your post and posting the code.
In looking through the code I see part of the issue you were having which is caused by the way the original script was created in that Alan created his own namespace for the indicators he created. This caused issue for the Market analyzer. There are also a couple of other corrections to be made. I've recreated the indicator and renamed it for you. You should be able to download and import directly and apply to a chart and/or apply to the market analyzer. I would suggest deleting your other indicator entirely.
I've attached an example of what it can look like in the market analyzer where the cell condition is if the plot = 0 to show No and if plot =1 to show yes.
[ATTACH]n1070293[/ATTACH]Paul H.NinjaTrader Customer Service
- Likes 1
Comment
-
Hello, do you know if there is the most updated version of this bar for ninjatrader 7? Thank you
Comment
-
Originally posted by NinjaTrader_AlanP View PostHello jasonw,
I added the feature which now allows the user to select the color the inside bars would be painted, see attached.
Regarding a indicator which colors the chart background depending on sessions, my colleague Paul was kind enough to point me to an existing indicator on the forum. You would have to manually define the times you’d like to shade as the indicator doesn’t use sessions, but it’ll do what you’d like.
http://ninjatrader.com/support/forum...d=7&linkid=680
Please let us know if you need further assistance.
and anyone who will make changes
https://ninjatraderecosystem.com/use...ad/inside-bar/
I dont know how to code. How to add to this indicator code so that a number would be printed under the "inside" bars on the chart.
thanks for any help
Last edited by sonia0101; 09-13-2020, 01:11 PM.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,404 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
95 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
8 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
159 views
0 likes
|
Last Post Yesterday, 10:23 PM | ||
Started by Belfortbucks, Yesterday, 09:29 PM
|
0 responses
8 views
0 likes
|
Last Post
by Belfortbucks
Yesterday, 09:29 PM
|
Comment