Creating MACD (8,17,9) ?
Author: brixdude
Creation Date: 9/24/2008 7:23 PM
profile picture

brixdude

#1
I'm not much of a programmer, can anyone help me create a script to buy and sell for an MACD with a short period of 8, long period of 17, and a signal of 9?

This is so easy in Active Trader, why is it such a challenge in Wealth-Lab???

Thank you!
profile picture

Eugene

#2
1. On-the-fly:

a) Help > WealthScript Programming Guide > Indicators > Custom Indicators > "How to: Create a MACD with Custom Periods"
b) In the forums:
MACDExSeries( #Close, 12, 26 ); in Pro 5.0?
How to create indicator MACD histogram 12,26,9

2. As an additional indicator, accessible by rule-based strategies:

Download and unpack Community.Indicators binary which includes MACD with custom parameters.
profile picture

Eugene

#3
A note. Community.Indicators has just been updated with a new entry, MACD_Signal3, that allows to configure all its parameters interactively.
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).