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
Profitunity Squat Bar
Collapse
X
-
Originally posted by NinjaTrader_Ray View PostIn adition to your post, please check the NinjaScript File Sharing area. I am not sure if this indicator exists but it does not hurt to check.
Comment
-
Originally posted by jed77 View PostHello Esmet,
I'm planning to develop the squat bar indicator also... I'm not a very good programmer and for now I'm gathering information, but I'll work on that.
Do you know if the tick volume indicator already exist for Ninja ?
I hope to hear from you !
I did program both the Market Facilitation Index and a squat indicator. The squat indicator's a bit mickey mouse. I didn't want to mess with changing the bar color which is what Bill William's does because I like to look at candlesticks so what I did was put a dot over a squat bar. Because of the differences in magnitude in which different markets are quoted, in some cases the dot is very far away from the bar. This can be scaled with a parameter called TickMult. But since the indicator is mickey mouse I don't feel comfortable posting it in the indicators forum.
If you like however, send me an email (which will reveal your email to me) and I'll email you an attachment of the indicators.
Comment
-
Originally posted by eDanny View Postesmet, try using TickSize for the dot offset. For example:
Values[0].Set(High[0] + 1.5 * TickSize);
and then you can post your non-mickey mouse code.
This is the line in my code. The issue is that, in some markets, one tick puts the dot right on top of the bar (which may be all right I suppose) and in other markets it places it a pleasant-to-view distance away. I use 150 as the default for TickMult.
The way Bill Williams apparently does it is by changing the color of the price bar to blue. I didn't want to do that because I use candlesticks and I need to see if the bar is red or green to know whether it closed up or down.
Comment
-
You can make the candles any color you wish and still see if they close up or down by using code to make trend candles:
if(your test here for candle color 1)
{
CandleOutlineColor = Color.DarkBlue;
if(Open[0]<Close[0] && ChartControl.ChartStyleType == ChartStyleType.CandleStick )
{
BarColor = Color.Transparent;
}
else
{
BarColor = Color.Blue;
}
}
if(Your test here for candle color 2)
{
CandleOutlineColor = Color.Crimson;
if(Open[0]<Close[0] && ChartControl.ChartStyleType == ChartStyleType.CandleStick )
{
BarColor = Color.Transparent;
}
else
{
BarColor = Color.Red;
}
Make candles as many colors as you like, according to any rules and still see if they are hollow (up) or filled (down). If the outline and wicks are too thin, increase the thickness to 2-3 pixels in you chart properties.
Comment
-
eDanny,
Thank you for the information on coloring candlestick bars. I'm going to a Profitunity workshop next month. I'll see just how they're displaying the signal and when I get back, time permitting, maybe I'll code the indicator and post it in the indicator forum
Comment
-
Originally posted by esmet View PostJed77,
I did program both the Market Facilitation Index and a squat indicator. The squat indicator's a bit mickey mouse. I didn't want to mess with changing the bar color which is what Bill William's does because I like to look at candlesticks so what I did was put a dot over a squat bar. Because of the differences in magnitude in which different markets are quoted, in some cases the dot is very far away from the bar. This can be scaled with a parameter called TickMult. But since the indicator is mickey mouse I don't feel comfortable posting it in the indicators forum.
If you like however, send me an email (which will reveal your email to me) and I'll email you an attachment of the indicators.
Cheers mate.
Carlton
p.s.
If anyone else knows where I can find the MFI indicator I would appreciate it if they would let me know..
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by bmartz, Today, 09:30 AM
|
2 responses
11 views
0 likes
|
Last Post
by bltdavid
Today, 11:24 AM
|
||
Started by f.saeidi, Today, 11:02 AM
|
1 response
3 views
0 likes
|
Last Post Today, 11:08 AM | ||
Started by geotrades1, Today, 10:02 AM
|
4 responses
12 views
0 likes
|
Last Post
by geotrades1
Today, 11:08 AM
|
||
Started by rajendrasubedi2023, Today, 09:50 AM
|
3 responses
16 views
0 likes
|
Last Post Today, 10:57 AM | ||
Started by lorem, Today, 09:18 AM
|
2 responses
11 views
0 likes
|
Last Post Today, 10:55 AM |
Comment