Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
.................. still keen to pursue this one if possible - or maybe someone who has done something similar which has cracked the timeshifting problem might be prepared to share something ?
you probably want to compare the Senkou SpanA, B 26 bars back to the current price (i.e. Close[0] for current price, SenkouSpanA[26] for price shifted 26 bars back). You are still using the index 0 for bars back, that is probably the issue.
Additionally, the chikou span is lagging on the other hand, so the chikou span breakout from kumo needs to be verified as the latest chikou span value against the SenkouA, B 26 +26 bars back.
@petrmac
Thanks v much ! Yes you are right. But how do I make the condition builder do this ?
@NT experts
I have read the help file, but the terms are not well defined and the text is light on properly worked examples, so is not clear to someone who might as well be from Mars as far as programming goes.
I have some basic questions about condition builder.
1. What is 'lookback period' under the crossover condition in the middle of the box, and how should this be used ?
2. What is 'bars ago' in the builder ? How is one supposed to use it ? Does anyone have any examples of these things working ?
3. Why is it when I change the bars ago setting the chart still looks identical (even after steps outlined in 4 below)?
4. Why is it that once I have run the backtest, when I alter the strategy, then I have to close the entire window and open another one and reselect the strategy and then rerun the backtest in order for the chart to look any different ?
@Big Mike
I remember a thread a while ago from you where you were highly critical of NT, and wonder whether the problems I am facing are because of my inexperience as a programmer or in part due to NT7's inherent 'idiosyncracies' ? If the latter, is it an open secret on this forum that NT7 is still unreliable/FUBAR and you have to work extremely hard to compensate for it ? If so, how does one do this ? If not, does anyone know where I can find some REALLY good and simple step by step video tutorials on how to use the condition builder to build some complicated strategies - well at least something at the level of the Kumo breakout strategy with timeshifting involved - (forget about me writing code - that's never going to happen). And what about the weird behavior needing me to exit the whole window in order for a change in strategy to be reflected in the backtest results window and chart?
The other point that concerns me is the info that backtesting in NT7 yields different results to what happens in practice. Why is this ? and how does one compensate for it ? Should I even think about using NT7 for this ?
Your goals are not compatible with each other. You don't want to program, you want to use a wizard, and you want complex strategies. These really don't work well together. You either need to learn to code, accept a simpler strategy the wizard can handle, or you have a third option to hire the work done.
It seems people here with much more experience than I are writing that the type of Kumo breakout strategy I am looking for, can indeed be written with the strategy wizard. With some decent instructional material (better than the NT7 help files which are probably OK if you already know what you are doing but I find are lacking), then I can probably hack together something that would do the job. I have done reasonably complex work in Excel (formulas, not VBA), and the NT7 wizard does not look insurmountable as long as I have decent and complete instructional materials that explain exactly what each element is and how to use it, with examples etc. Does anybody know of any materials like this ? I have seen this video here: https://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?VideoLibrary - is there anything else out there ?
I am certainly willing to give it a good go. If after that I still cannot get the job done I will definitely get some price quotes for having the thing written.
BTW - is it possible that my NT7 has somehow become corrupted hence the unexpected behavior ? Is there a standard test.fix for this in these circumstances ?
I am giving up on trying to write this strategy myself in NT7, for two primary reasons.
1) I have done some basic testing of the strategy wizard, and have so far found no hard definitions of the terms used in the condition builder. Some of the behavior is unexpected - for example the bars back parameter makes no difference to the script generated when using the crossover operator. Unless otherwise advised by those that know more than I, my conclusion is that the strategy wizard is anything but newbie-proof and you have to doublecheck the script generated. My skillset is up to reading a simple script to see roughly what is going on, and is not currently up to writing script that gets the job done.
2) I have concluded that it is fine and workable for me as a simple charting/alerting package, where the indicators are written by people who really know how to code properly. Because of the previous comments on this forum regarding NT7 in general and its software quality issues, I would personally not trust NT7 to execute an automated trading strategy. I am certainly not skilled enough to be able to compensate for anything NT7 might do that ran counter to expectations.
If anyone wants to have a go at writing and testing the Kumo breakout strategy on NT7, I will be a grateful recipient of the outcome.
Other platforms
I will start a separate thread to ask which other platforms have more robust and reliable wizard/point and click type systems or simpler and higher level scripting so that I can at least test some ideas out like the Kumo breakout and others that I have, and where there is no question of any software reliability issue.
If I am going to learn this stuff, I need to do so on a platform that has no such issues, so that I can concentrate on getting my skills together without being concerned whether the software quality is at fault instead of a mistake on my part.
Similarly if I am going to hire someone to program for me, I will do this for a system which can be used operationally so will do so for a target platform where the software reliability is not and has never been an issue.
Thanks all for the attempted help. I am going to continue on this strat with either a more appropriate way of generating the code that I can get my head around, or hire someone to do the job. I have BTW got a new program - MTP Predictor. At this point I can say that their support is excellent and their regular trading room webinars superb.
Hi Overview,
I read this thread and i really hate to see it stopped without any success.
I do not have much coding background so i went and used the NT7 wizard to create a strategy for Ichimoku indicator.
Attached are the file used to create the strategy, and they are similar to ichimoku.zip file. I used the ichimoku one just to get the missing cloud colors from the other indicator.
My strtegy does use Patel's four rules.(please check the attached file to learn more about the rules)
To get the startegy to recognize Chiku rule I added 26 to "Bars Ago" and strategy established the Buy/Sell entrances.
The only thing I am still working on are the Exits. I think I missed Patel's suggestion from his last webinar, so I will review it again and make some adjustment to the startegy. If no suggestions were found regarding Exit strategies then I may use Exit when trend reverses. I will read Patel's book to come up with more Exit positions ideas.
From that point up, I really would like more members to get involve so we can get a robust Ichimuko startegy.
Note:
I ran that one using 120 minutes and found out that it works fine but each trade would be stopped on close time. I went and changed the default of "Exit on Close" to False but could not get trade to stay open till next trade.
For lower time span we may need to change
Please review and i hope that will work for you too.
Hi,
checked your script. How do you address the issue mentioned with SenkouSpan forward shifting ?. I see that you are using current index to compare the senkouspan conditions.
I will let @Hifive5 answer, but I believe each individual indicator's "current index" will be the correctly shifted value. In other words, the indicator is doing the shifting -- not the strategy.