PureBytes Links
Trading Reference Links
|
Jik
you'll also have to define pds,
pds=param("pds",default,min,max,step);
ie: pds=Param("pds",10,5,100,1);
Don
--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> Jim,
>
> What parameter do you wish to adjust? For instance if what you want
to
> adjust is the MA period you could add a line
>
> pds=param(default,min,max,step) (fill in the settings)
>
> then replace all the ma settings with pds
>
> Sell=Cross(MA(C,pds),C);
>
> for more on the parameter function check out the help file...
>
> Jayson
> -----Original Message-----
> From: jnk1997 [mailto:jnk1997@x...]
> Sent: Friday, March 07, 2003 4:31 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Need Help "Trendline Studies" with Parameters
Function
>
>
> 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
> ADVERTISEMENT
>
>
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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.
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/
|