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)
Greetings. New to the forum, hello all. New to attempted scripting in NT as well.Trying to find a piece of code that will allow me to condense the many lines I have compiled, saying for example, && CCI (50) [0]<CCI (50) [1]...right up to say [20]. Have ordered the C# Dummies book, but not arrived yet. All help appreciated.
Can you help answer these questions from other members on NexusFi?
Not too sure how any of this works yet, the forum, and not sure of what you mean by '#' at the task bar Fat Tails, but have taken a snipp of the code and attached it.
So with my small amount of knowledge I know that this is redundant. I have to write a line for each of the look back periods, where I want the indicator to be clear of. In this case, the MACD at a certain setting, has to be clear of itself for 17 bars back. In other words, if this current bar is not the highest during the look back period...1 to 17....a line will not be drawn over price. Hope that helps ?
PS. # is a button available for you when you post a message on the forum - it is in the same place that you have buttons for changing font, aligning etc.
Hi again Gregid. I tried your suggestion every which way, but the compiler just kept generating errors. Being new, I am assuming the 'bool validFlag and for(int" ...the first two lines, go in the initialize section of the editor. The 'if' statement goes under the 'OnBarUpdate' area. In a few months I'll look back and laugh, but for now, all help appreciated
Hi again Gregid. I tried your suggestion every which way, but the compiler just kept generating errors. Being new, I am assuming the 'bool validFlag and for(int" ...the first two lines, go in the initialize section of the editor. The 'if' statement goes under the 'OnBarUpdate' area. In a few months I'll look back and laugh, but for now, all help appreciated
The whole block goes into OnBarUpdate.
Posting a screenshot of the errors along with the code generating the errors makes finding the problem much easier.