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

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



PureBytes Links

Trading Reference Links

First, 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 help
Jim


//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 ); 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
New Yahoo! Mail Plus. More flexibility. More control. More power.
Get POP access, more storage, more filters, and more.
http://us.click.yahoo.com/Hcb0iA/P.iFAA/46VHAA/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/