aa:=winner(c+c*n2/100)*100;
bb:=winner(c+c*n1/100)*100;
aa-bb
5£©¹É¼ÛÏ·½N1%ÖÁN2%´¦µÄ³ïÂ루%£©
(winner(c-c*n1/100)-winner(c-c*n2/100))*100;
6£©ÊÕÅ̼ÛN%´¦µÄÌ×ÀÎÅÌ 100-(winner(c*N/100))*100;
7£©ÊÕÅ̼ÛN%´¦µÄ»ñÀûÅÌ winner(c*N/100)*100;
8£©ÏÂÓ°Ïß (MIN(O,C)-L)/L*100;
9£©ÉÏÓ°Ïß (h-max(o,c))/max(o,c)*100;
10£©±¾ÖÜÆÚµÄÕǵø·ù (c-ref(c,1))/ref(c,1)*100;
11£©Õñ·ù (h-l)/l*100;
12£©¾ùÏß½ð²æ£¨M.NΪ¾ùÏßÖÜÆÚ£© cross(ma(c,m),ma(c,n))
13£©¾ùÏ߶àÍ·ÅÅÁÐ
a1:=ma(c,n1);
a2:=ma(c,n2);
a3:=ma(c,n3);
a4:=ma(c,n4);
count(a1>a2 and a2>a3 and a3>a4,3);
14£© ¾ùÏß¿ÕÍ·ÅÅÁÐ
a1:=ma(c,n1);
a2:=ma(c,n2);
a3:=ma(c,n3);
a4:=ma(c,n4);
count(a1<a2 and a2<a3 and a3<a4,3);
15£©NÈÕ¾ùÏßÏòÏÂ
aa:=ma(c,n);
bb:=ref(aa,2);
aa<bb
16£©ÏòÇ°NÈÕÖÁMÈÕ³öÏÖ¹ý¾ùÏßËÀ²æ£¨P1<P2£©
aa:=ma(c,p1);
bb:=ma(c,p2);
cc:=ref(cross(bb,aa),n);
count(cc,m);
17£©½ñÈճɽ»Á¿´óÓÚNÈÕÒÔÀ´µÄ¾ùÁ¿ VOL>MA(VOL,N);
18£©µÍλÃܼ¯
A1:=COST(85);
A2:=COST(15);
A3:=A1-A2;
A4:=(A1+A2)/2;
A5:=A3/A4*100<10;
B1:=HHV(H,120);
B2:=LLV(L,120);
B3:=B1-B2;
B4:=(A4-B2)<B3/2;
A5 AND B4;
19£©»»ÊÖÂÊ VOL/CAPITAL*100;
20£©NÈÕÓ¯¿÷¡¾½»Ò×֪ʶmacd.org.cnÊÕ¼¯ÕûÀí¡¿
V1:=VOL/SUM(VOL,N);
V2:=DMA(CLOSE,V1);
V3: (CLOSE-V2)/V2*100;
21)Ç¿ÊÆÕûÀí
{²ÎÊýM¡¢N·Ö±ð´ú±íÖÜÆںͷù¶È m:1 20 2 n:1 20 5}
a1:=abs(close-open)/open<0.015;
a2:=count(a1,m)=m;
a3:=ref(o,m)<ref(close,m) and
ref(close,m)/ref(close,m+1)>1+n/100;
a2 and a3
22)¸ß¿ª´óÒõ
{²ÎÊým,n·Ö±ð´ú±í·ù¶È m:1 10 4 n:1 20 5}
OPEN>CLOSE AND OPEN/REF(C,1) >= 1+M/100 AND CLOSE/OPEN<=1-N/100
23)µÍ¿ª´óÑôÏß
{²ÎÊým,n·Ö±ð´ú±í·ù¶È m:1 10 4 n:1 20 7}
OPEN<CLOSE AND OPEN/REF(C,1) <= 1-M/100 AND CLOSE/OPEN>=1+N/100