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

Re: [amibroker] Param Slider not working for thsi one



PureBytes Links

Trading Reference Links

Also try using whole number and then devide value by whatever factor is necessary.
 
Param function works better when whole numbers are used.
 
Co_Efficient = Param( "Co_Efficient", 5,5, 100, 5 );
 
Co_eff = Co_Efficient / 100;
 
 
----- Original Message -----
Sent: Wednesday, December 15, 2004 9:12 PM
Subject: RE: [amibroker] Param Slider not working for thsi one

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 -----

From: murthysuresh

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





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