Once you said SBS was working ok, I was able to figure out the issue (while you were posting your fix). I suspect the problem is the ChartStyleTypesSupported property, which limits the types of chart styles that can be used. When the template is loaded, they must be trying to make sure it is compatible, and it fails somehow. I commented out that routine. (NT Renko and PnF also do this).
The other change you made was to the ChartLabel() routine, and that was a bug, but likely had nothing to do with the templates.
The last change you had, that I did NOT make, was resetting the renko on a session boundary. Again, this likely does not have anything to do with the templates. I actually like resetting the bars on a session boundary, as it allows me to see the same chart each day instead of it being slightly different when I load new data each day. Feel free to change that in your version.
The following 3 users say Thank You to aslan for this post:
hi guys .... I am not sure if this is the same type of problem as you described with Wicked/Median/SBS renko bars ...... basically there is some sort of bar/chart template that resets the bar formation at the set time interval ..... NT support says to use Session Manager to work out the problem, but still, the most I can go without resetting the bars would be a 7 day period which is controlled by this new NT Session Manager ...... I noticed that your modified renkos do not suffer from this problem ....... any idea how to solve this issue or a knowledgable volunteer with the magic wand who can make it disapear ?.........thanks
In NT7, the Ninja guys decided that change the bar formation code to reset bars at a session boundary in addition to whenever a bar actually closes. Some people like this, some don't. Of course in their infinite wisdom they decided to not give you an option of choosing how to do the reset (many have asked for it).
The WickedRenko does reset on a session boundary, mainly because I don't want my bars to depend on the start date that is loaded.
If you want to change this behavior, there is a line of code near the begining of the bar type code like the following:
Change that to this:
Save, recompile, restart, and you should be good to go.
excellent.......I just need to figure out how to recompile @BarsTypes.cs ..... I know it's F5 for indicators when using Tools-> Edit NinjaScript ...... I can edit the file in Notepad but what needs to be done next? ....... obviously I am not a programmer
I was wondering if anyone else is experiencing a problem with SBSrenko NT7 bar accuracy ...... basically, around the session start or finish I get a random bar with either wrong body size or tail size ....... I am reffering to the SBSrenko bars posted in the message #12 in this thread ..... if anyone is willing to share a solution to this problem I'd greatly appreciate it ..... thanks
It's a known problem. You can try WickedRenko from aslan which doesn't have the problem.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.
The following user says Thank You to Big Mike for this post: