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

[EquisMetaStock Group] Plotting a set of variables at a time by input function



PureBytes Links

Trading Reference Links

In the following example I want to plot as follows:

1) Plot all 3 variables of 1st set if input=1
2) Plot all 5 variables of 2nd set if input=2
3) Plot all 9 variables of 3rd set if input=3

Is it possible to plot these using the if function? Will somebody 
please demonstrate. 

Thanks in advance

Arun


---------------------------------------------------------------------

plot:=Input("plot: 1-1st set 2-2nd set 3-3rd set",1,3,1);


{ 1st set of variables }

x1:=formula1;
x2:=formula2;
x3:=formula3;


{ 2nd set of variables }

y4:=formula4;
y5:=formula5;
y6:=formula6;
y7:=formula7;
y8:=formula8;


{ 3rd set of variables }

z1:=formula9;
z2:=formula10;
z3:=formula11;
z4:=formula12;
z5:=formula13;
z6:=formula14;
z7:=formula15;
z8:=formula16;
z9:=formula17


{ Plot }

If(plot=1, x1, If(plot=2, y4, z1))) {?};
........?
---------------------------------------------------------------------



 
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/