Crossovers of a weekly MACD
Author: pundowealth
Creation Date: 10/17/2008 7:06 PM
profile picture

pundowealth

#1
What I basically want to do is go long on a positive cross over and short on a negative cross over set to a weekly MACD at 15,20,5 setting. This is what I did & since this is my first try can anyone tell me what I did right or WRONG, thanks!

CODE:
Please log in to see this code.
profile picture

Eugene

#2
Here's an optimized version:
CODE:
Please log in to see this code.


However, MACD parameters in Wealth-Lab are fixed at the original numbers 12,26. There are two solutions; for more details, see it answered in WL5 Wiki FAQ:
How do I create MACD indicator with custom parameters?
profile picture

pundowealth

#3
Thanks Eugene for your help & I'll start working on the customization of the MACD.
profile picture

pundowealth

#4
I tried to use the Community Indicators. 1st downloaded them & unzipped them. Next I saved them to Program Files\Fidelity Investments\Wealth-Lab Pro 5. Then I started up Wealth Lab & I was expecting when I selected "MACD Crosses below signal line" the Parameters(change rule parameters below) would facilitate the use of the 15,20,5 setting that I was looking for.

Did I install the program wrong or am I misunderstanding how it is to be used??

Or would the best approach be to just change the code to reflect the MACD that I am looking for??

Thanks
profile picture

Eugene

#5
QUOTE:
I was expecting when I selected "MACD Crosses below signal line" the Parameters(change rule parameters below) would facilitate the use of the 15,20,5 setting that I was looking for.

An indicator library doesn't affect the Rule Wizard per se - that's the WealthLab.Rules.dll prerogative.

To use any custom indicator in a rule-based strategy, you simply need to select a condition under "General Indicators" and then pick an indicator (i.e. MACDEx) from the dialog box. Notice the label that says "Click here to select an indicator".

This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).