PureBytes Links
Trading Reference Links
|
Hi: This is something I had laying around,you will would have to
break it up into parts to create your new list but this may get you
going . The other method may be easier if you can figure it out.I was
using it alittle differently so you will have to work on it.top1 is
the part you will start with Good luck Donald
d1:=5;
d2:=34;
d3:=3;
d4:=5;
d5:=56;
d6:=10;
top1:=If(d1>d2 AND d1>d3 AND d1>d4 AND d1>d5 AND d1>d6,d1,
If(d2>d1 AND d2>d3 AND d2>d4 AND d2>d5 AND d2>d6,d2,
If(d3>d1 AND d3>d2 AND d3>d4 AND d3>d5 AND d3>d6,d3,
If(d4>d2 AND d4>d3 AND d4>d1 AND d4>d5 AND d4>d6,d4,
If(d5>d2 AND d5>d3 AND d5>d4 AND d5>d1 AND d5>d6,d5,
If(d6>d2 AND d6>d3 AND d6>d4 AND d6>d1 AND d6>d1,d6,
0))))));
{bot1:=If(d1<d2 AND d1<d3 AND d1<d4 AND d1<d5 AND d1<d6,-1,
If(d2<d1 AND d2<d3 AND d2<d4 AND d2<d5 AND d2<d6,-2,
If(d3<d1 AND d3<d2 AND d3<d4 AND d3<d5 AND d3<d6,-3,
If(d4<d2 AND d4<d3 AND d4<d1 AND d4<d5 AND d4<d6,-4,
If(d5<d2 AND d5<d3 AND d5<d4 AND d5<d1 AND d5<d6,-5,
If(d6<d2 AND d6<d3 AND d6<d4 AND d6<d1 AND d6<d1,-6,
0))))));}
bot1;
top1;
--- In equismetastock@xxxxxxxxxxxxxxx, "youplaoups123"
<youplaoups123@xxxx> wrote:
> Hello
>
> I've just a problem to make ascending sort of data
> Example:
>
> My 4 last closes are 10,20,15,5
> And I would like to create an indicator (with indicator builder)
> which will sort me by order ascending these 4 closes (5,10,15,20)
> before applying a mathematic formula
>
> Thank you and sorry for my English
>
> Franck
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/BefplB/TM
---------------------------------------------------------------------~->
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/
|