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)
Working on automating The Holy Grail & Sharky's method
I checked the code in the ColoredMA that I posted a link to in my last post. It colors that Line based on the slope alone. Most of the colored MA's posted in the downlaod section are actually checking the angle of the line. That way you can differentiate between slowly rising and steeply rising, which some feel gives you an idea of the momentum of the trend.
You have to add code in several places to accomplish this. If you are comfortable with coding you can down load one of the colored ma's in the download section and copy the code snippets to your own code.
Good luck
Can you help answer these questions from other members on NexusFi?
Hi RBSailing, thanks , but the universal MA is just a MA with color depending on slope. I was looking for an indicator which gives the SLOPE of an MA! Do you have an idea where to go?
Regards Wolfsch
The indicators that I have seen that paint the line according to the trend and "slope"
of the line calculate the angle of the line and then filter that by fixed angle values to determine the color of the line.
If you import anyone of those and open it in the editor window you should be able to copy the relevant code.
Let me know if you are having problems or need help.
Thanks RBSailing, but I am unable to do something with a code . I am not a programmer!
So I really need help doing what you said would get the results I am ö
looking for. I would appreciate your help. my mail is [email protected]
I have added the code to calculate the angle of the slope of the indicator to the TEMA in the NT indicators. I have posted the resulting indicator in the download section. Just look for TEMA With Slope.
You can call this indicator in your strategy and get the value of the slope for each bar.
The code would be
TEMASlope(Close,13,false).MASlope[0]
this will return the slope of the line at the current bar. The "13 is the period of the TEMA.