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)
I'm new here and have been working for the last few days on a strategy off a custom indicator. On Monday I had zero experience programming and now I think I actually have less somehow. I was just about to shoot myself till I thought I would ask here for some help.
I have a strategy based off the strategy walkthrough that Mike put up and when I used the code it is absolutely fraught with errors. I won't cut and paste the entire thing in here but if someone is looking at this and sees a problem please help me out.
[Description("")]
[GridCategory("Parameters")]
public bool BE2
{
get { return be2; }
set { be2 = value; }
}
#endregion
}
}
This piece of code returns three { or ; expected errors alone.
Additionally there are 128 lines of code in the strategy and in the error box there are errors preventing me from compiling on lines 133 through 150. I would fix them if only they existed.
Thanks in advance
if (Code = Fixed) return;
else kill self;
Can you help answer these questions from other members on NexusFi?
The problem is somewhere else most likely. I don't use NT anymore, so am only eyeballing it.
Post a screen shot of the compilation errors (the bottom of the page with all the error messages). Make sure you expand (widen) the columns so we can see everything. It should be telling you the filename of the problem script.
Start by deleting the strategy "MyMoneyMakerLearn". You may have to delete it using Windows Explorer from your Documents/NinjaTrader/bin/custom/strategy directory.
Then recompile. If there is still an error, you need to widen the "Error" column, because we can't see the full error message on the top error (duplicate namespace).