PureBytes Links
Trading Reference Links
|
Mark, try something like this:
---8<-------------------------------
{ http://www.metastocktools.com }
{ Indicator inputs }
STDpds:=Input("StdDev periods",2,260,30);
DevMulti:=Input("StdDev multiplier",0,10,2);
PerMulti:=Input("output % multiplier",0,1000,120)/100;
ATRpds:=Input("ATR periods",1,260,30);
{ Plot in own window }
(ATR(ATRpds)+DevMulti*Stdev(C,STDpds))
*(1+PerMulti)
---8<-------------------------------
jose '-)
http://www.metastocktools.com
--- In equismetastock@xxxxxxxxxxxxxxx, markumansky <no_reply@xxx> wrote:
>
> Can anyone help with coding the following indicator?
>
> [ATR (30) + 2 x Stand.Dev] x 120%.
>
> It would be nice if the number of ATR days, number of Stan.Dev and %
> multiplier could be individually amended to suit the market/stock.
>
> Thanks in advance.
>
> Mark
------------------------ Yahoo! Groups Sponsor --------------------~-->
Transfer from your equities account.
Receive up to $1,000 from GFT. Click here to learn more.
http://us.click.yahoo.com/aZttyC/X_xQAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|