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)
Thanks a lot, compiling manually went good and it works like a charm now.
I think the other files (@ATR etc.) caused the problem. Errrors I got pointed that way. Don't know why, I selected replace during install (after making a copy of the original files in a subdirectory, maybe that was the problem?). But anyway, it's working now and it's lightning fast. Great job! and thanks again for your help.
I removed those as actual plots. But they're still there as a data series and they're public, which means you can use them in strategies and anything else. If you get a new HH, then that value on that bar has a value, otherwise it's zero, for example.
Yes, I usually set the plots greater than 0 for true, my strategies get same error on compiling and I have to set "using priceactionswingbase" under declarations and edit elsewhere, anyway to compile strategies without getting error and having to edit when using Strategy Builder?
Do you have an old version? I think I first made this using an Addon but I thought I refactored it so we wouldn't have to. Maybe I did post that, don't remember.
I agree you shouldn't have to go: "using priceactionswingbase" and I'm not seeing why you would have to. Can you try getting the latest version? Because priceactionswingbase doesn't exist in the latest version.
Also, can you see if this will compile? It does for me. If it doesn't, try the latest version. If it still doesn't, let me know. (I've made some changes since the last post but I thought they were cosmetic changes...)
You're familiar with the PriceActionSwing code? I'm trying to make a small change and can't find the SwingDurationStyle enum. I did a text search. Is it part of DLL somewhere? I'm just looking for the definition mostly, but would like to add another element too.
Hello, Any suggestions how to set the PriceActionSwing indicator code in NinjaTrader 8 Strategy Builder? I get this error when compiling in SB "No overload for method 'PriceActionSwingV2' takes 7 arguments.
I am using PriceActionSwingV21 indicator.
Thanks in advance
I don't use Strategy Builder so I wouldn't know... but we can still try and figure it out. I might have something to try...
That error will likely only come from an improper instantiation of a PriceActionSwingV2() object. Attached is a screen shot of the constructors. As you can see, one overload has no parameters and the other, just like with all Ninja indicators, it will allow you to put an input series for the other overload.
I don't know how you enter parameters or if you even can in Strategy Builder. But if you can, try entering zero parameters.
Hi traderpards,
Thanks for your quick response. I have attached here the code script for the strategy as created by Strategy Builder, when compiled I get the error mentioned above.
Please take a look. Thanks again.