Автор:
Разместил:   Дата: 2006-01-11 00:00
Комментарии: (0)   Рейтинг:

Re: Color on Histogram

· To: ribau@xxxxxxxxxxxxx
· Subject: Re: Color on Histogram
· From: joachim@xxxxxxxxxxxx
· Date: Tue, 03 Nov 1998 18:08:35 -0800
· CC: omega-list@xxxxxxxxxx
· References: <36425a1e.21943951@xxxxxxxxxxxxxxxxxx>
· Resent-Date: Tue, 3 Nov 1998 18:08:22 -0800
· Resent-From: omega-list@xxxxxxxxxx
· Resent-Message-ID: <"Z2F421.0.Ry7.MSxFs";@mx1>
· Resent-Sender: omega-list-request@xxxxxxxxxx


Yes this works well on EOD data. Different spin. I do not work with Interday data...I am sure others do. However you can streamline you code a little, I am sure others will give you more pointers.


Type : Indicator, Name : MACDRiseFall



{indicator MACDRiseFall same results as TS MACD
with variation-- colour changes in Histogram}
Input: FastMA(12),SlowMA(26),MacdMA(9);

Plot1(MACD(Close,FastMA,SlowMA),"MACD");
Plot2(XAverage(MACD(Close,FastMA,SlowMA),MacdMA),"MACDAvg");

Value1 = (Plot1-Plot2);
If Value1 > Value1[1] then Plot3(Value1,"MAup"){ Blue Histogram}
Else Plot4(Value1,"MAdn"); {Red Historgram}





Good Trading
John


 
Реклама:

Rambler's Top100

Страница создана за 0.032 секунды