Regards and keep the good work.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Candle Stick Pattern Indicator
Collapse
X
-
Candle Stick Pattern Indicator
Nice touch for the candle stick pattern indicator and an excellent increase in performance and execution, finally a real coder make a good job.:-), but got only one small comment, maybe gave the user the color option, in case a dark background exist.
Regards and keep the good work.Tags: None
-
Good idea PrTester, and yes awesome indicator Josh. THANK YOU!
At the moment I'm using mostly lines, so this indicator is great to show what I may be missing.
As for brainstorming possible improvements, it would be great to have a single instance predict multiple user definable patterns. Having the indicator be 'trend aware' could significantly improve its usefulness.
Something like a 'morning star' for example (a possible bottom reversal signal) isn't as relevant in an upward trend as it is in a downward trend etc.
Optimally the overall trend would predict the type of candlestick patterns detected. If the trend is up, detect patterns that may indicate a top or confirm the trend, for a down market detect bottom reversal patterns and for a non-trending market detect breakout patterns...
It could be useful to have the candlestick patterns have a numeric value or polarity assigned to them, i.e. patterns that generally accepted as bullish have a positive value, and patterns generally accepted as bearish have a negative value etc. This numeric value could be used for calculating entry/exit probability values in strategies.
Another, perhaps more practical use for these values would be in determining the text color. Red values for potentially bearish signals, blue for bullish, black for neutral and yellow for signs of possible trend reversal patterns.
Furthermore, a cool feature would be a filter that only shows candlesticks which conform to a recognizable pattern (i.e. most statistically relevant for decision making). One way I can think to do this would be to have the candlestick colors be set to transparent in the chart properties if no pattern is detected and user definable colors when a pattern is detected. A moving average with a period of 1 could be used to replicate the 'line on close' bar style and the candlesticks would appear when a pattern is detected alerting the user when its really time to pay attention to them.
Last edited by Elliott Wave; 04-05-2008, 01:20 AM.
-
In its current form is there any way to use this indicator as part of a strategy (preferably from the strategy wiard)?
Something along the logic of:
if
CurrentMarketPosition = Short
CandleStickPattern(hammer)=True
then
exit short position
end if
if
CurrentMarketPosition = flat
CandleStickPattern(hammer)=True
then
enter long position
end ifLast edited by Elliott Wave; 04-06-2008, 11:52 PM.
Comment
-
Originally posted by NinjaTrader_Ray View Post
Using the script editor, after scratching my head for a long time, I realized there is a spelling mistake in the help file.
Examples
// Go long if the current bar is a bullish engulfing pattern
if (CandelStickPattern(ChartPattern.BullishEngulfing, 4).PatternFound[0])
EnterLong();Last edited by Elliott Wave; 04-08-2008, 12:26 AM.
Comment
-
Trend Strength Parameter
Hi
Does anyone know how I go about searching for the definitions of certain properties of the indicators and how they are calculated, for instance I'm trying to find out how the trend strength parameter has been defined in the candle stick pattern indicator, I understand that the number indicates the number of prior bars to assess but I'm not sure what it's analysing in the prior bars for uptrends (Higher Highs,Higher Lows)? or just (Higher Lows)? for down trends (Lower Highs, Lower Lows)? or just (Lower Highs)? Or am I totally off the beaten track?
Any help appreciated.
Cheers
Ross
Comment
-
Hi Ross, welcome to our forums! You can check this helpguide link for the CandleStickPattern indicator - http://www.ninjatrader-support.com/H...ckPattern.html
Furthermore you can open up the source code and review the 'CalculateTrendLines' section under Misc.BertrandNinjaTrader Customer Service
Comment
-
With the following:
if
(Position.MarketPosition == MarketPosition.Flat
&& CandleStickPattern(ChartPattern.Hammer, 4).PatternFound[0] == true);
{
EnterLong(DefaultQuantity, "Hammer Long");
}
I know == can't be applied to a double and a bool, so how do you set 0 = to false and 1 = to true?
Then, you can use:
if
(Position.MarketPosition == MarketPosition.Flat
&& CandleStickPattern(ChartPattern.Hammer, 4).PatternFound[0] == 1);
{
EnterLong(DefaultQuantity, "Hammer Long");
}
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
27 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
||
Started by wzgy0920, 04-23-2024, 09:53 PM
|
2 responses
49 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
193 views
0 likes
|
Last Post
by Hasadafa
Yesterday, 10:19 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,235 views
0 likes
|
Last Post Yesterday, 08:07 PM |
Comment