| 
 PureBytes Links 
Trading Reference Links 
 | 
Hi Wavemechanic, 
  
You missed out one of the four values
required in a Param function. I added the second value of 0.05 and it seems to
work fine: 
  
Co_Efficient = Param( "Co_Efficient", .05,0.05, 1.0, .05 ); 
  
Regards, 
 
Gordon Sutherland 
 
  
-----Original Message----- 
From: wavemechanic
[mailto:wd78@xxxxxxxxxxxx]  
Sent: Thursday, 16 December 2004
4:53 p.m. 
To: amibroker@xxxxxxxxxxxxxxx 
Subject: Re: [amibroker] Param
Slider not working for thsi one 
  
----- Original Message -----  
 
Sent: Wednesday,
December 15, 2004 10:36 PM 
 
Subject: [amibroker]
Param Slider not working for thsi one 
 
 
Hi, 
The slider does nto work for this one only. I am lost why? 
 
The step variable in PARAM is missing. 
 
 
 
Period = 9; 
Co_Efficient = Param( "Co_Efficient", .05, 1.0, .05 ); 
EMACalculated=EMA(Close,Period); 
 
UpperChannel=EMACalculated+EMACalculated*Co_Efficient; 
LowerChannel=EMACalculated-EMACalculated*Co_Efficient; 
Plot(UpperChannel,"UpperChannel",ColorRed,styleLine); 
Plot(LowerChannel,"LowerChannel",ColorWhite,styleLine); 
Plot(EMACalculated,"EMA " + Period,ColorGreen,styleLine); 
 
Regards 
 
Suresh 
 
 
 
 
 
Check
AmiBroker web page at: 
http://www.amibroker.com/ 
 
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
 
 
 
 
 
 
Check
AmiBroker web page at: 
http://www.amibroker.com/ 
 
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
 
 
 
 
 
  
Check AmiBroker web page at: 
http://www.amibroker.com/ 
 
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
  
 
| Yahoo! Groups Sponsor | 
 
ADVERTISEMENT
 ![click here]()  |  
  | 
 
![]()  |  
 
 
 
Yahoo! Groups Links 
   |   
 |