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

RE: [amibroker] Need Help "Trendline Studies" with Parameters Function



PureBytes Links

Trading Reference Links




<SPAN 
class=619284521-07032003>Jim,
<SPAN 
class=619284521-07032003> 
What 
parameter do you wish to adjust? For instance if what you want to adjust is the 
MA period you could add a line
<SPAN 
class=619284521-07032003> 
<SPAN 
class=619284521-07032003>pds=param(default,min,max,step)  
(fill in the settings)
<SPAN 
class=619284521-07032003> 
then 
replace all the ma settings with pds
<SPAN 
class=619284521-07032003> 
<SPAN 
class=619284521-07032003>Sell=Cross(MA(C,pds),C);
<SPAN 
class=619284521-07032003> 
for 
more on the parameter function check out the help file...
 Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: jnk1997 
[mailto:jnk1997@xxxxxxxxx]Sent: Friday, March 07, 2003 4:31 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Need 
Help "Trendline Studies" with Parameters FunctionFirst, 
thank you Anthony Faragasso for this indicator.I would like to have the 
"parameters" function applied to this formula to enable the slider 
adjustment.Can someone please modify the forumula?Thanks in advance for 
your helpJim//Trendline Studies - Anthony Faragasso 
Sell=Cross(MA(C,10),C);//Notice the position of the variables 
Buy=Cross(C,MA(C,10));//Notice the position of the variables 
Plot(C,"",colorBlack,styleCandle); 
Plot(MA(C,10),"",colorYellow,styleLine); 
//PlotShapes(IIf(Buy,shapeUpArrow,shapeNone),colorGreen); 
//PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed); SO=ATR(1); 
//Shapes offset PlotShapes(Buy, colorBrightGreen, 0,C-SO ); 
PlotShapes(Sell*2, colorRed, 0,C+SO ); Send 
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.