PureBytes Links
Trading Reference Links
|
First set a goal
say 20%in 60days
Filter=Close<100;
NumColumns=1;
t1=LLV(Low,60); /get the lowest low value in the last 60 days
t2=ValueWhen(t1==Low,BarIndex()); //get the bar where the lowest low
occur
t3=(High-t1)/t1; //get the % gain from the lowest low to now
t4=Cum(Status("barinrange")); //make sure the bar in range of your
test period
t5=floor(t1/1.00); //floor the data to put it in
a group
t6=ValueWhen(BarIndex()==t2,ADX(15)); // value of adx(15) on the
date of the lowest low
i usually group the data by flooring the price or this does if give
you range.
i never like the idea that a indicator like adx(15) can mean the same
at $5.00 vs $25.00 you will not get the same % move on that number.
so i divided 5/1.00 dollar put it in a 5 group and the 25 would be in
the 25.00 group.
why stop there divide it by .50 or whatever to get your group
one you get 20% gain you need to find the common denominator?
this is just a start
nick
i am not a good writer maybe someone can write a tutorial.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|