View Full Version : Profitunity Squat Bar
esmet
01-09-2009, 09:00 PM
Has anyone programmed Bill William's Profitunity System squat bar indicator? He has two incarnations of this indicator. The preferred one is to turn the price bar blue to indicate a squat.
NinjaTrader_Ray
01-10-2009, 03:11 PM
In 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.
esmet
01-10-2009, 03:17 PM
In 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.
Yes, I did search there on Profitunity Squat and didn't come up with anything. I am trying to develop it but as a non C programmer I'm having problems. The forum will probably hear from me for help.
jed77
01-28-2009, 08:46 AM
Hello 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 !
esmet
01-29-2009, 05:11 PM
Hello 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 !
Jed77,
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.
jed77
01-30-2009, 09:52 AM
Sent you an email... Did you received it ?
Have a good week-end !
esmet
01-30-2009, 09:57 AM
Sent you an email... Did you received it ?
Have a good week-end !
I did but I won't have time to attend to it until this evening.
eDanny
01-30-2009, 10:56 AM
esmet, 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.
jed77
01-30-2009, 11:49 AM
I did but I won't have time to attend to it until this evening.
No problem !
All the best
esmet
01-31-2009, 05:18 PM
esmet, 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.
DrawDot("dot" + CurrentBar, true, 0, High[0] + TickSize*TickMult,Color.Blue);
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.
eDanny
01-31-2009, 08:18 PM
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.
esmet
01-31-2009, 10:04 PM
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
bctrader
02-10-2009, 08:57 AM
I'd also be interested in this indicator.
Been trading the Profitunity system with very good results thus far.
Thalamus
05-16-2009, 08:38 PM
Squat bar--Can't find this indicator in the archives--anybody know if it exists for Ninja?
carlton
01-02-2011, 08:21 AM
Jed77,
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.
Jed77, do you think you could send me the indicator as well if I give you my email address?
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..