MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

A B C D E F G H I J K L M N O P R S T U V W Y Z #

SMA Ribbon by Jose Silva

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: tombom53 <tombom53__at__yahoo.com>
To: equismetastock__at__yahoogroups.com <equismetastock__at__yahoogroups.com>
Date: Tuesday, May 23, 2006, 5:05:27 PM
Subject: [EquisMetaStock Group] Cloud in Metastock

In the Ichimoku indicator the clouds area are colored in Metastock. I wonder if it´s possible to have the area between two MA:s in color also. If that´s possible, how to create such an indicator.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: Jose Silva <josesilva22__at__yahoo.com>
To: equismetastock__at__yahoogroups.com <equismetastock__at__yahoogroups.com>
Date: Tuesday, May 23, 2006, 8:41:34 PM
Subject: [EquisMetaStock Group] Re: Cloud in Metastock

Try something like this:


SMA Ribbon

{CCopyright 2005-2006 Jose Silva.
For personal use only.
http://www.metastocktools.com }

{ User inputs }
pds1:=Input("SMA 1 periods",1,2600,21);
pds2:=Input("SMA 2 periods",1,2600,10);
plot:=Input("Plot filler? [1]Yes, [0]No",
0,1,1);

{ SMAs }
sma1:=Mov(C,pds1,S);
sma2:=Mov(C,pds2,S);

{ Fillers }
even:=Frac(Cum(1)/2)=0;
odd:=Frac(Cum(1)/2)<>0;
filler1:=If(plot,If(even,sma1,sma2),sma1);
filler2:=If(plot,If(odd,sma1,sma2),sma2);

{ Plot on price chart }
sma1; { <- Red }
filler1; { <- Green, heavier weight }
filler2; { <- Green, heavier weight }
sma2 { <- Blue }



Source / From: TOP
Metastockusers[at]yahoogroups[dot]com  

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.

TradeStation® Pro, TradeStation® 2000i, OptionStation®, SuperCharts®, PowerEditor® and EasyLanguage®
are registered trademarks of TradeStation Technologies, Inc. Other names and marks referred to are the property of their respective owners.

All information provided on this website is for educational purposes only. Trading involves risk, including possible loss of principal and other losses.

Ten i inne materiały na tej stronie zostały zamieszczone zostały jedynie w celach edukacyjnych, nie ponoszę żadnej odpowiedzialno¶ci za ich stosowanie.

Gra na giełdzie i rynkach walutowych (FOREX) niesie ze sob± ryzyko poważnych strat finansowych!