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)
If you have the version I converted, you'll need to delete all the "PriceActionSwing*" files in Indicators->Poncho directory and the AddOns directory. NT won't let you import if there are compiled files with the same class names, enums, etc.
You should delete files from the NT editor, I wouldn't do it directly from the file system, that could cause errors. Right click on the file and Remove and then try to import again.
The error you are getting is telling you that the compiler doesn't understand PriceActionSwing.Base.SwingStyle.Standard. You should add a using declaration to your using section:
And then change PriceActionSwing.Base.SwingStyle.Standard to SwingStyle.Standard.
Note: You are going to run into more issues if you are using NT8 as there's no PriceActionSwingPro method that takes 4 arguments, the method declaration takes a lot more than that.
My personal preference is to declare an object at the beginning of the class:
And then in State.Configure (or Initialize if you are using NT7) you can instantiate your object:
Forgot to mention that after you remove the files, you need to recompile, NT will still have the old files complied in the NinjaTrader.Custom.dll until you recompile.
Sorry but how do i recompile ? I delete the indicator from editor and i no longer have your indicator. How can recompile when it has been deleted? Can you please tell me in steps? Thank you
In the NinjaScript editor there's a box with an arrow pointing right. If you hover over it with your mouse, it'll show 'Compile'. Just click that after you've deleted the files. You'll hear a tone after the compile is completed, it should only take a second or two.
So it has been deleted. And at this point nothing is clicked and i have empty script window. Now do i just click compile with nothing on script window?