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

RE: [amibroker] I keep getting a straight line with Param



PureBytes Links

Trading Reference Links




<SPAN 
class=388305104-14072003>Dennis,
<SPAN 
class=388305104-14072003> 
I 
assume that what you you are after is to use X as a multiplier for your cond1 
and 2 and that you wish to plot these calculations around your price plot. If so 
you may wish to re think the values you have set for the parameter. There is 
also no need to to plot the value. Plotting the default setting is what you see 
when you find that straight line. 
 
<SPAN 
class=388305104-14072003> 
try 
this
<FONT 
color=#282828> 
x= Param( "cond1", .05, .001,.2<FONT 
color=#282828>,.001 ); 

cond1= EMA(C<FONT 
face=Arial>,13)+EMA(C,13<FONT 
color=#282828><FONT color=#0000ff 
face=Arial>)*x;<FONT 
color=#0000ff>
Cond2= EMA(C<FONT 
face=Arial>,13)-EMA(C,13<FONT 
color=#282828>)*x;
 
Plot(<FONT 
color=#000000>C<FONT 
color=#282828>, "Price"<FONT 
color=#282828>,<FONT 
color=#000000>colorGreen<FONT 
face=Arial>, style<SPAN 
class=388305104-14072003>bar 
);
Plot(cond1,"upper 
band",<FONT 
color=#0000ff>ParamColor(<FONT 
color=#ff00ff>"",<FONT 
color=#000000>colorBlue<FONT 
size=2>),1<FONT 
color=#282828>);<FONT 
size=2>
Plot(cond2,"Lower 
band",<FONT 
color=#0000ff>ParamColor(<FONT 
color=#ff00ff>"",<FONT 
color=#000000>colorBlue<FONT 
size=2>),1<FONT 
color=#282828><FONT face=Arial 
size=2>);<SPAN 
class=388305104-14072003>
<SPAN 
class=388305104-14072003> 
<SPAN 
class=388305104-14072003> 
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: theoldchartreader 
[mailto:theoldchartreader@xxxxxxxxx]Sent: Sunday, July 13, 2003 11:42 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] I keep 
getting a straight line with ParamHI,I have tried 
for hours, I give up, can some one please help me?I am trying to use the 
moving averages to make a envelope around the price. I would like to use 
Param for adjusting the lines to fit the price action.x= Param( 
"cond1", .01, 10, 100 );Plot (x,"", 
ParamColor("",colorBlue));PlotOHLC( Open, High,  Low, Close, 
"Price",colorGreen, styleBar );cond1= EMA(C,13)+EMA(C,13)*.3;Cond2= 
EMA(C,13)-EMA(C,13)*.3;Thank you,DennisSend 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT 









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 the Yahoo! Terms of Service.