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
SMAOverUnderPaintBar
Collapse
X
-
With Neutral Bars
I have attached a modified file of the SMAOverUnderPaintBar. I renamed it as PriceOverUnderMAPaintBar. Go to chart data settings and make the color for bars up and down the same color. This will be your Neutral color. If the bar closes over your MA and is an up bar, it will be painted green. If it closes above your MA but is a down bar, it will not be painted and will show as your selected Neutral color. I am still working on this in my spare time and would like the indicator to allow for different MA options as well as be able to select Up/Down bar colors. Any help would be great and I will Update when complete but may be a while.
ThanksAttached Files
Leave a comment:
-
Hello BryanGriggs,
Thanks for your note.
Please let me know if I can assist you any further.
Leave a comment:
-
Sometimes you just have to walk away. First Joydeep I'd like to say Thank You so much for your help and reply. Second I want to say NinjaTrader is the BEST! Second to none! I had put in the "&" but realized this morning that I was saving everytime and not compiling. Daaaaaa! I'm gonna work to make this indicator better (in my opinion). Here you can see a screen shot from just this mornings session that shows the possobilites. Thanks again Joydeep and I'll keep you posted.
BryanLast edited by BryanGriggs; 09-28-2012, 08:33 AM.
Leave a comment:
-
Hello BryanGriggs,
Welcome to the forum and I am happy to assist you.
Seems you missed a &. The correct code will be,
Code:if (Open[0] > SMAvg[0] && Open[0] < Close[0]) { //do something }
Leave a comment:
-
SMAOverUnderPaintBar
I downloaded this indicator and really like it but I am trying to get it to only paint up bars above or down bars below. I would like for down bars above and up bars below to be neutral bars.
It has: if (close[0] > SMAvg[0])
I'm trying to add: Open[0] > SMAvg[0] & Open[0] < Close[0]
I have searched all thru the site and can't find what I need to make it happen. Any help would be greatly appreciated.
Thanks,
Bryan Griggs
[email protected]Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by helpwanted, Today, 03:06 AM
|
1 response
14 views
0 likes
|
Last Post Today, 03:35 AM | ||
Started by Brevo, Today, 01:45 AM
|
0 responses
11 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
6 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
244 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
387 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
Leave a comment: