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

Re: [amibroker] Changeing Code from [graph0, graph1] To Plot.



PureBytes Links

Trading Reference Links

Have you tried to use Plot()?  What do you get?
 
 
----- Original Message -----
From: Mohammed
Sent: Tuesday, February 26, 2008 3:42 PM
Subject: [amibroker] Changeing Code from [graph0, graph1] To Plot.

Hi all,

Please any one can help to change the following code,

outsidebar = Outside();

insidebar = H <= Ref(H,-1) AND L >= Ref(L,-1);

upbar = H > Ref(H,-1) AND L >= Ref(L, -1);

downbar = L < Ref(L,-1) AND H <= Ref(H,-1);

barcolor=IIf(outsidebar, 1,

               IIf(downbar,   4,

               IIf(upbar,        5,

               IIf(insidebar,6, 0 ) ) ) );

var1=MA( Avg , 34);

var2=MA( Avg ,5);

var3=var2-var1;

var4=var3-MA(var3,5);

Graph0=var4;

Graph0Style=2+4;

Graph1=Wilders(var4,5);

Graph1Style=5;

Graph0BarColor=Barcolor;

 I would like to use (Plot) function instead of (graph0, graph1).

Thank you an advance.

Regards


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.1/1299 - Release Date: 2/26/2008 9:08 AM
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___