[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: Custom Indicators and Custom Colors



PureBytes Links

Trading Reference Links

>The suggestion that MS add multiple color custom formula functions is an
>excellent one.  The piecemeal workarounds are too time consuming
>compared to the programming that could eliminate it.  A technicolor MACD
>is relatively simple to rig.  Widner's recent S&R formula is an example
>of indistinguishable output when 12 S&R levels are simultaneously
>displayed in one color.  We'll see if Equis sharpens this anytime soon.

As such have send your excellent suggestion send "CC"ed to
suggestions@xxxxxxxxx

thanks too for your MACDxx, Multi colored MACDxx + OscPxx
functions & formulas usable as and in explorations etc.,

Regards,
Ton Maas
Ms-IRB@xxxxxxxxx


-----Oorspronkelijk bericht-----
Van: Craig DeHaan <cdehaan@xxxxxxxxxxxx>
Aan: metastock@xxxxxxxxxxxxx <metastock@xxxxxxxxxxxxx>
Datum: zondag 18 oktober 1998 5:19
Onderwerp: Re: Custom Indicators and Custom Colors


Chris ß,
Bad news.  If you want each of the three MAs (two for the MACD and one
as the trigger) displayed in unique colors you'll have to build them
from scratch.  There's no facility to preset or differentiate colors or
styles in custom indicators producing multiple outputs; this happens
only in some of their prepackaged ones -- canned MACD, Aroon, Mesa
SineWave, and a few others.

I hadn't thought to chart each MA of the MACD.  Seems it could get very
confusing once adding a combined trigger to the soup.  Is that why you
coin it a "triple screen"?  For me the resulting convergence/divergence
value of the MAs (hence the name) with a scaled threshold level or
another MA trigger crossover is clearer to understand.  An alternative
3-way display method is the MACD (or OscP), its MA trigger, and a
histogram of their difference.

This could be done in different ways, like:

With the indicator pulldown, invoke 'Price Oscillator' and set the
desired parameters including color and style.  Then pull a moving
average over the MACD (or OscP) for a desired trigger MA and select
another color or style.  Finally create a custom formula of the
MACD-trigger difference and plot it scaled opposite hand in the same
window using a "histogram" line style and a third color.

Exploration, system test, and expert code references would be --

OscP(5,34,E,$) for MACD
[and more succinct than Mov(C,5,E)-Mov(C,34,E)]
Mov(OscP(5,34,E,$),9,E) for the trigger

OscP(8,17,E,$) - Mov(OscP(8,17,E,$),9,E) for the histogram of the MACD -
trigger difference

With this stereo representation its easier to sense the trend and, as
importantly, its context, be it above or below 0; trigger trend rising
or falling, etc.

The suggestion that MS add multiple color custom formula functions is an
excellent one.  The piecemeal workarounds are too time consuming
compared to the programming that could eliminate it.  A technicolor MACD
is relatively simple to rig.  Widner's recent S&R formula is an example
of indistinguishable output when 12 S&R levels are simultaneously
displayed in one color.  We'll see if Equis sharpens this anytime soon.

Craig


Christian Baude wrote:
>
> I would like to use a MACD using different Fast/Slow Moving Averages,
> and different exponential signal lines, eg 6/27 trig 9 days, etc., and
> create a "Triple Screen" of the various MACD.
>
> How can I have different colors for the lines?  MACD and trigers are
> all the same color.
>
> Checked the manual, there is no "custom" color function for individual
> lines.
>
> Tried the following to no avail, all the same color.
>
> MACD (5/35/4) Histogram
>
> period1:=5;
> period2:=35;
> period3:=4;
> (Mov(C,period1,E) - Mov(C,period2,E))-(Mov((Mov(C,period1,E) -
> Mov(C,period2,E)),period3,E))
>
> What am I missing?  Must I actually build each indicator in a window
> frame?
>
> -= Chris ß =-