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

[EquisMetaStock Group] Re: MACD Trigger Signal



PureBytes Links

Trading Reference Links

1.  Double-click the indicator-line you want to change.
2.  Click on the top-left tab, "Color/Style".
3.  Pick a color.


--Johnathan


--- In equismetastock@xxxxxxxxxxxxxxx, "Paul Harris" 
<paul_vicmar@xxx> wrote:
>
> { User inputs }
> 
> Dear All
> 
> This is MACD code I have been using coutsey of Jose Silva at 
metastock
> tools.com. Can anyone, Jose if you are reading, advise me what to 
do
> to change the colour of the trigger signal line to another colour,
> blue for example. 
> 
> { MACD & Histogram
> http://www.metastocktools.com }
> 
> shortPds:=Input("shorter MACD periods",1,260,12);
> longPds:=Input("longer MACD periods",2,2600,26);
> triggerPds:=Input("MACD signal periods",1,260,9);
> plot:=Input("plot: [1]MACD, [2]Histogram, [3]Signals",1,3,1);
> 
> { MACD }
> Mac:=Mov(C,shortPds,E)-Mov(C,longPds,E);
> 
> { Signal }
> Signal:=Mov(Mac,triggerPds,E);
> 
> { Histogram }
> Hist:=Mac-Signal;
> 
> { Signals }
> buy:=Cross(Mac,Signal);
> sell:=Cross(Signal,Mac);
> 
> { Plot in own window }
> If(plot=1,Signal,0);
> If(plot=1,Mac,If(plot=2,Hist,buy-sell))
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/