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)
Hi, I am trying to create a currency composite indicator but get two errors I can't resolve in relation to the multi-series code. I am reading the instructions, but it is a little confusing to me. Thank you for any help.
Can you help answer these questions from other members on NexusFi?
If you are using NT 6.5 you can't dynamically specify the time frame in Init for MTF strategies. Replace the variable with a hard number, like 5 for 5 minutes, and it should work.
For the second issue, the MTF code is Closes (notice the s), for instance Closes[1][0] would refer to BarsArray[1] index bar[0]. And Highs[3][1] would be BarsArray[3] index[1], etc etc.
Thanks for responding so quickly, but I made the changes and I am still getting the same error on the first part and now a different error on the second part.
On the first one, I thought maybe the symbol needed to be "$GBPUSD" instead of "GBPUSD", but that didn't work either.
The second one I have no clue. I am not sure if I am supposed to be adding something to the variables or properties sections.
Will keep working on it, but thanks again for any help.
Well the extra BarsArray won't work (second error) until the first error is solved.
As for the first error, I can't say. You need to look at instrument manager (Control Center - Tools - Instrument Manager) and use the exact name listed there, which would be the same as loading a chart and using the exact name listed on the top left of the chart. For instance, for ES it would be "ES 03-10".
Yes, naturally, I missed the word "indicator" in the thread title!
Just write it as a strategy if you want to stick with 6.5, you can still plot from a strategy it's just more difficult. Or just "upgrade" (lol) to NT7.
Apparently the nt customer service representatives on the nt forum are not aware of that. He told me I could set "Overlay = false;", but then later retracted the post with no further instruction. I can't figure out what or how I am supposed to be telling it to plot, for example in the sma strategy, it uses:
But in another strategy I created using the wizard, it just uses "Add..." and the values are plotting, there is no "Plots" statement.
In the multi-series strategy I am using:
Add("AUDUSD", PeriodType.Minute, timeFrame);
But the values aren't plotting and I am not sure how I would write a Plot statement using the above add statement or even if I need one. Any help would be appreciated. Thanks.
The point of the exercise is that I would ultimately like to create a single bar chart that is a composite of any selected pairs and be able to place single entry and exit orders that would be automatically split between them, i.e. trade my own custom indices. During strong trends and volatile periods I would just have to focus one chart and I believe I would average out better over time.
I like to trade the gby.jpy, gbp.usd, and aud.jpy because they move the best of any of the pairs. While they move together for the most part, sometimes one will get hung up and won't budge while the other two are moving just fine. For example, the aud.jpy may give the best look initially but get hung up by the usd.jpy, whereas the gbp.jpy will move anyway because of the gbp.usd took off like a champ.
It wouldn't be appropriate at all times and it may be a crap idea at any time, but I think it's worthwhile to take a look at it.