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

[amibroker] How can I get more than two Param to display on chart?



PureBytes Links

Trading Reference Links

HI,
This is the formula that I am using, it will only display one EMA and 
the Bands. I would really like to get ti to display all three .

Does any one have any ideas on how this can be done.
Thank you,
Dennis

 

sp = Param( "EMA Period", 12, 2, 100 );
r = EMA(C, sp );
Plot( r, "EMA("+WriteVal(sp,1.0)+")", ParamColor("", colorGreen ) ); 

s = Param( "EMA Period", 10, 2, 100 );
m = EMA(C, s );
Plot( m, "EMA("+WriteVal(s,1.0)+")", ParamColor("", colorRed ) ); 

x= Param( "cond1", .05, .001,.2,.001 ); 
cond1= EMA(C,13)+EMA(C,13)*x;
Cond2= EMA(C,13)-EMA(C,13)*x;
 
Plot(C, "Price",colorYellow, styleBar );
Plot(cond1,"upper band",ParamColor("",colorBlue),1);
Plot(cond2,"Lower band",ParamColor("",colorBlue),1);


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Naturally Painless & Spray Away Backaches & Joint Pain. $19.97
http://www.challengerone.com/t/l.asp?cid=2867&lp=m331.html
http://us.click.yahoo.com/tJIe0D/79VGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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