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 -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I am not sure how to code both Minute frame as BarsInProcess = 0 and SBSRenko as BarsInProcess = 1 together. I also am not familiar with setting up Add(PeriodType.Custom....) for SBSRenko.
Do you have an example of code like this or is there a strategy/indicator somewhere here that I can learn from?
I appreciate your reply.
Many thanks,
-traderjh
Can you help answer these questions from other members on NexusFi?
BarsInProgress, just add each one and the first one listed will be BarsInProgress == 1, second one will be BarsInProgress == 2, etc. The underlying chart data will be BarsInProgress == 0. If this doesn't make sense, search NT help file for BarsInProgress and it will show more detail.
I coded a simple strategy to display OHLC on both Minute and SbSRenko. Minute OHLC data is showing good but SbSRenko is not showing. I added SbSRenko into Data Series and it is still not showing. What am I missing here? See code below:
Ok, its been a while and I was thinking the minute would need to be BarsInProgress ==1 and the better renko would need to be BarsInProgress == 2, but if its working then I guess not
I just read the help file, and if the 60 minute data is not your base chart, then it needs to be BarsInProgress==1 and the better renko needs to be BarsInProgress==2. Other thing is a 300 better renko is a huge setting, are you sure that's the correct number?
300 better renko is actually 30 when I set the Control Center's pip quote setting to 1/10.
What I am trying to achieve is to use 60 minute chart for handling orders and to call data from better renko's open/close prices for checking the conditions. Which is more sense to use 2 Add()s for minutes and better renko in 60 minute chart like you mentioned above (1 and 2) or just one Add() with better renko in 60 min chart with BarsInProgress==0 and BarsInProgress==1?
In the code from earlier post, I was trying to retrieve live prices to make sure I coded properly but they seems not in sync with data box.
If 60 minutes is your base chart, then I am not really sure. You can try commenting out the line "Add(PeriodType.Minute,60);" and see if it changes anything. If not, then I guess it doesn't matter and I have no other unhelpful suggestions for you try.