Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/6/2009 Posts: 54
|
Hi Bruce,
I have a question. For the NR7 strategy, Is It possible to create the chart pattern indicator in the real code with the thresholds of 65 and 35, which are being used to trigger the trades.
Thankyou
leelaja
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I really don't understand the question at all. NR7 would seem to be Boolean in that the pattern either exists or it doesn't. I can't figure out where the 65 and 35 come from (is there another Indicator such as a Stochastic or RSI that you haven't mentioned?).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/6/2009 Posts: 54
|
Hi Bruce,
I meant that the Chart pattern Indicator of Bulkowski .to be created in the real code.
Hope you got my question.
Sorry for not being clear
Thankyou
leelaja
|
|
Registered User Joined: 10/7/2004 Posts: 1,006
|
Possibly this is what the user is looking for, please see bustermu’s post below for the NR7 PCF, possibly converting the PCF into a RealCode Condition for version 4.9.182.
Posted : Wednesday, April 06, 2005 2:39:54 PM
http://forums.worden.com/Default.aspx?g=posts&t=4119
bustermu: You seem to be close to the setup called NR7 (Narrowest Range for 7 days).
The PCF is:
((H-L)<=(H1-L1))AND((H-L)<=(H2-L2))
AND((H-L)<=(H3-L3))AND((H-L)<=(H4-L4))
AND((H-L)<=(H5-L5))AND((H-L)<=(H6-L6))
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Writing RealCode for NR7 is trivial. See Help with realcode for narrow range day... for a recent RealCode example.
That said, a Rule or Condition for NR7 returns True or False and doesn't have anything at all to do with "the thresholds of 65 and 35, which are being used to trigger the trades." That's the part I don't understand and saying, "I meant that the Chart pattern Indicator of Bulkowski .to be created in the real code" provides absolutely no clarification (to me at least) in this regard.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/6/2009 Posts: 54
|
Here is the link about the indicator.
http://thepatternsite.com/CPI.html
I have th conditions for the narrowest range of 7 days and the highest high written by the trainers.
But what I am trying to do is to build the indicator in real code So that the bullish and bearish signals can
be seen with the help of the indicator.
Thankyou
leelaja
|
|
Registered User Joined: 10/7/2004 Posts: 1,006
|
I don't understand the thresholds of 65 & 35 either, in relation to the NR7.
|
|
Registered User Joined: 10/6/2009 Posts: 54
|
Hi Winnie,
I posted a link in my previous post. Hope that makes you understand what I am trying to say.
Thankyou
leelaja
|
|
Registered User Joined: 10/7/2004 Posts: 1,006
|
Sorry I can’t add to the topic, I’m not familiar with Patternz and I hadn’t read Bruce’s NR7 RealCode Condition post.
|
|
Registered User Joined: 10/6/2009 Posts: 54
|
Winne,
Its okay. Thats fine
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You should be able to Open the attached Layout directly into a running copy of StockFinder. You should also be able to Save the attached Layout to the \My Documents\StockFinder (or StockFinder5)\(Your Username)\My Layouts\ folder and then Load it into StockFinder by selecting File | Open Layout.
It was constructed by creating a RealCode Indicator to count the Bullish and Bearish Breakouts and then creating Custom Indexes and Drag and Drop Indicators combining those Custom Indexes.
It should be noted that the result does not match the chart given in Bulkowski's Chart Pattern Indicator CPI article for the same period of time (although the peaks and valleys of the Indicator do generally line up). This could be due to differences in data (the chart appears to have truncated the data used to the displayed period and is likely derived from another source), differences in the WatchList components (the S&P 500 components change over time) or mistakes in the construction of the Indicator (but I have no way to tell if there are mistakes or not for sure because of the other possibilities). The differences are most likely due to a combination of at least the first two (and possibly all three) causes.Attachments: Bulkowski Chart Pattern Indicator.sfLayout - 57 KB, downloaded 607 time(s).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/6/2009 Posts: 54
|
Thankyou. Its pretty good.
I have a small doubt.Can I use the bullish and bearish indicators for backtesting?
Thankyou
leelaja
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
No, the Indicator is not backtestable (as discussed in some detail by Bulkowski) and neither are the components used in its construction.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/6/2009 Posts: 54
|
Thankyou
leelaja
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |