636公式
paogu2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
paogu3:=SMA(SMA(paogu2,3,1),3,1);
paogu4:=EMA(paogu3,5);
paogu5:= 3*paogu3-2*paogu4;
paogu6:=hhv(h,250);
paogu7:=llv(l,250);
paogu8:=VOL/MA(VOL,20)>1.5;
paogu9:=if(C>=100,(C+h+l+O)/4,AMOUNT/(V+0.01)/100);
明日阻力:=l+(paogu9-l)+(c-l);
明日支撑:=l+(c-paogu9);
今日阻力:=REF(明日阻力 , 1);
今日支撑:=REF(明日支撑 , 1);
STICKLINE(c>0,paogu6+paogu6,0,10,0),Color000000;
paogu10:=MA(CLOSE,26);
反压线:HHV(FORCAST(C,10),8),coloree8fff,linethick2;
paogu11:= MA(CLOSE,21),linethick0,Color00FFFF;
paogu12:= paogu11+3*STD(C,20),linethick0,Color00FFFF;
paogu13:= paogu11+2*STD(C,20),linethick0,ColorFF00FF;
paogu14:= paogu11-2*STD(C,20),linethick0,ColorF0FF00;
paogu15:= paogu11-2.9*STD(close,20),linethick0,Color00FF00;
M1:ma(c,1);
M5:=MA(c,5),ColorFFFfff;
m8:=ma(c,8);
M10:=MA(c,10),Color00Fff1;
M20:=MA(C,20),Color208fff;
m26:=ma(c,26);
M60:=MA(C,60),Color00ff00;
M125:=MA(C,125),Color00Ffff;
M250:=MA(C,250),Color00ff00;
paogu16:=EMA(C,5),colorff0000;
paogu17:=(REF(paogu16,1));
趋势线:EMA(SLOPE(c,21)*20+c,42) ,colorffffff,linethick2;
paogu18:=cross(paogu16,趋势线);
paogu19:=cross(趋势线,paogu16);
paogu20:=paogu18;
Var111:=IF(DATE>=10201201,0,1);
Var112:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
Var113:=EMA(CLOSE,3);
Var114:=(2*CLOSE+LOW+HIGH)/4*Var111;
Var115:=Var112-Var113;
反弹线:EMA(Var114,40)*0.85,color0000aa;
发财线:EMA(Var114,88)*0.7,color0000cc;
STICKLINE(C<=趋势线 AND C>O,C,O,4,1),COLORffff00;
STICKLINE(C<=趋势线 AND C<=O,C,O,4,1),COLORffff00;
STICKLINE(C<=趋势线 AND C<=O,H,L,0,1),COLORffff00;
STICKLINE(C<=趋势线 AND C>O,C,H,0,1),COLORffff00;
STICKLINE(C<=趋势线 AND C>O,O,L,0,1),COLORffff00;
STICKLINE(C>趋势线 AND C>=O,C,O,4,0),COLORred;
STICKLINE(C>趋势线 AND C>=O,H,L,0,0),COLORred;
STICKLINE(C>趋势线 AND C<O,C,O,4,1),COLORred;
STICKLINE(C>趋势线 AND C<O,O,H,0,0),COLORred;
STICKLINE(C>趋势线 AND C<O,C,L,0,0),COLORred;
paogu21:=LLV(LOW,21);
paogu22:=(((HIGH + LOW) + CLOSE) / 3);
paogu23:=(paogu22 + (paogu22 - paogu7));
paogu24:=wMA(paogu23,55) ;
paogu25:=IF((paogu23 > paogu24),paogu24,paogu23);
paogu26:=paogu22;
paogu27:=SUM(AMOUNT,5);
paogu28:=DMA(paogu26,(VOL / paogu27));
paogu29:=(((CLOSE - paogu28) / paogu28) * 100);
paogu30:=REF(wMA((((HIGH + LOW) + CLOSE) / 3),3),1);
paogu31:=((((HIGH + LOW) + CLOSE) / 3) > paogu30);
paogu32:=((((HIGH + LOW) + CLOSE) / 3) < paogu30);
EMA120:=EMA(C,120),COLORFFCC66;
EMA250:=EMA(C,250),COLORBLUE;
T1:=EMA(C,30)>EMA(C,60) and EMA(C,60)>EMA(C,90) ;
paogu33:=COUNT(CROSS(EMA(C,3),EMA(EMA(C,5),5)),2)=1;
paogu34:=COUNT(CROSS(EMA(EMA(C,5),5),EMA(EMA(C,5),5)),2)=1;
paogu35:=FILTER(paogu33 AND paogu34 and t1 ,2);
paogu36:=paogu35 and EMA(EMA(C,5),5);
ss:=cross(EMA(C,30),EMA(C,60)) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA(C,30),EMA120) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA(C,60),EMA(C,90)) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018
or cross(EMA(C,30),EMA(C,90)) AND c>o AND c>REF(C,1) AND C/REF(C,1)>=1.018 {AND CROSS(EMA30,EMA120)};
paogu37:=paogu35 and EMA(EMA(C,5),5) and paogu8 ;
paogu38:=CROSS((paogu23 - paogu24),0.16) and paogu8;
paogu39:= MA(CLOSE,1)>趋势线;
paogu40:= CROSS((paogu23 - paogu24),0.16);
paogu41:=MAX(EMA(CLOSE,5),MAX(EMA(CLOSE,10),MAX(EMA(CLOSE,20),EMA(CLOSE,30))));
paogu42:=MIN(EMA(CLOSE,5),MIN(EMA(CLOSE,10),MIN(EMA(CLOSE,20),EMA(CLOSE,30))));
paogu43:=(paogu41-paogu42)/paogu42*1000;
paogu44:=EMA(CLOSE,5)>REF(EMA(CLOSE,5),1) AND EMA(CLOSE,10)>REF(EMA(CLOSE,10),1) AND EMA(CLOSE,20)>REF(EMA(CLOSE,20),1) AND EMA(CLOSE,30)>REF(EMA(CLOSE,30),1) AND EMA(CLOSE,60)>REF(EMA(CLOSE,60),1),linethick0;
paogu45:=paogu43<2,linethick0;
paogu46:=COUNT(paogu45=1,4)>0;
paogu47:=CROSS(EMA(CLOSE,5),EMA(CLOSE,30));
paogu48:=paogu44 AND paogu46 AND paogu47 ;
paogu49:=paogu44 and cross(EMA(CLOSE,5),EMA(CLOSE,10));
paogu50:=(C-MA(C,13))/MA(C,13)*(-100);
paogu51:=REF(paogu50,1)/paogu50>=1.23 AND REF(paogu50,1)>=13 AND C/REF(C,1)>=1.02;
paogu52:=EMA((((H+C)/2+L+(C+L)/2)/3-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2))/(EMA(HHV(((H+C)/2+L+(C+L)/2)/3,21),2)-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2)),8)*100;
paogu53:=SMA(EMA(SMA((C+L)/2,3,1),3),5,1);
paogu54:=CROSS(MA(CLOSE,5),MA(CLOSE,30));
paogu55:=((((WINNER(CLOSE) * 100) - MA((WINNER(CLOSE) * 100),24))) / MA((WINNER(CLOSE) * 100),24)) * 100;
paogu56:=paogu54 AND CLOSE>MA(CLOSE,250);
k:=FILTER(paogu53>REF(paogu53,1)AND HHV(MA((H+C)/2,13),10)<REF(HHV(MA((H+C)/2,13),10),1)AND ((C+L)/2)>REF((C+L)/2,1),5) AND paogu52<88;
paogu100:=paogu54 AND CLOSE>MA(CLOSE,250) and paogu54 AND CLOSE<MA(CLOSE,60);
paogu101:=k and paogu37;
paogu102:=k and paogu38;
paogu110:=paogu54 AND CLOSE<MA(CLOSE,60) and paogu38;
paogu111:=paogu49 and paogu37 and paogu39;
paogu112:=paogu47 and k;
paogu113:=paogu47 and paogu44 and cross(EMA(CLOSE,5),EMA(CLOSE,10)) ;
paogu114:=paogu47 and k and cross(EMA(CLOSE,5),EMA(CLOSE,10));
paogu57:=REF((HIGH+LOW+OPEN+2*CLOSE)/5,1);
paogu58:=SMA(MAX((HIGH+LOW+OPEN+2*CLOSE)/5-paogu57,0),10,1)/SMA(ABS((HIGH+LOW+OPEN+2*CLOSE)/5-paogu57),10,1)*100;
paogu59:=IF(COUNT(paogu58<20,5)>=1 AND COUNT((HIGH+LOW+OPEN+2*CLOSE)/5=LLV((HIGH+LOW+OPEN+2*CLOSE)/5,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(paogu59,LOW,'底'),COLORRED;
买入:cross(ma(c,8),ma(c,26))and vol/capital>0.06 and c>open and ma(v,5)>ma(v,10) and v>ma(v,5) and ma(c,26)>ma(c,55) and ma(c,55)> ma(c,110)
;DRAWTEXT(CROSS( ma(c,8),ma(c,26)) and c>open and vol/capital>0.06 and ma(v,5)>ma(v,10) and v>ma(v,5) and ma(c,26)>ma(c,55) and ma(c,55)> ma(c,110),low,'买入'),coloryellow;
多头:count(ma(c,26)>=ref(ma(c,26),1),6)=6 and cross(ma(c,8),ma(c,26)) and ma(c,55)>ma(c,110) and ma(v,5)>ma(v,20);
DRAWTEXT(count(ma(c,26)>=ref(ma(c,26),1),6)=6 and cross(ma(c,8),ma(c,26)) and ma(c,55)>ma(c,110) and ma(v,5)>ma(v,20), low-0.2,'多头排列') ,coloryellow;
选股:=paogu37 and paogu38 and paogu8 and paogu39;
paogu60:=paogu49 and paogu18;
paogu61:=REF(EMA((o+h+l)/3,4),1);
paogu62:=EMA((o+h+l)/3,4),COLORYELLOW,LINETHICK1;
paogu63:=EMA(c,8);
paogu64:=EMA(c,20);
paogu65:= CROSS(paogu63,paogu64)AND(C>=O)AND paogu62>REF(paogu62,1);
paogu66:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),5,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),5,1)) * 100);
paogu67:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
paogu68:=(HIGH - REF(HIGH,1));
paogu69:=(REF(LOW,1) - LOW);
paogu70:=SUM(IF(((paogu68 > 0) AND (paogu68 > paogu69)),paogu68,0),10);
pagou71:=SUM( |