LC:=REF(CLOSE,1);
rsi5:=((SMA(maX((CLOSE - LC),0),5,1) / SMA(Abs((CLOSE - LC)),5,1)) * 100); TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10); HD:=(HIGH - REF(HIGH,1)); LD:=(REF(LOW,1) - LOW); DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10); DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10); pdi:=((DMP * 100) / TR1); mdi:=((DMM * 100) / TR1); ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5); AV:=(RSI5 + ADX); DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5); 0,COLORFF00FF; wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,13) - LLV(LOW,13))); NEWvol:=(RSI5 - WR10); 階段底部:=(AV + NEWVOL); 一本:=LLV(階段底部,1); stICKLINE(crOSS(階段底部,0),0,-10,0.1,1),LINETHICK6,COLORRED; STICKLINE((一本 >193 ),100,90,0.1,1),LINETHICK6,COLORGREEN; Y1:=LLV(L,17); Y2:=SMA(ABS(L-REF(L,1)),17,1); Y3:=SMA(MAX(L-REF(L,1),0),17,2); Q:=-(ema(IF(L<=Y1,Y2/Y3,-3),1)); STICKLINE(CROSS(Q,0),15,0,4,0), , COLORYELLOW; 強(qiáng)拉升: IF(CROSS(Q,0),1,0),COLORYELLOW; Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00,LINETHICK2; STICKLINE(CROSS(Q1,-24),20,0,4,0), , COLORMAGENTA; 加強(qiáng)拉升:=IF(CROSS(Q1,-24),1,0),COLORMAGENTA; VAR1:=EMA(EMA(CLOSE,9),9); 控盤:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; LOWV:=LLV(LOW,9); HIGHV:=HHV(HIGH,9); RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3); K:=EMA(RSV,3); D:=MA(K,3); STICKLINE(K>D , K,D ,1.1,0),COLORRED,LINETHICK2; STICKLINE(D>K,K,D,1.1,0),COLORGREEN,LINETHICK2; 逃頂線:90,COLORGREEN; 一槍光:=147,COLORCYAN; 抄底線:=10,COLORGREEN; R1:=1; R2:=((((2*CLOSE)+HIGH)+LOW) / 4); R4:=LLV(LOW,5); R5:=HHV(HIGH,4); C1:=(EMA((((R2-R4)/(R5-R4))*100),4)*R1),COLORFF00FF,LINETHICK2; C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*R1),COLORFFFFFF,LINETHICK2; 條:=CROSS(C1,C2) AND C1<40; STICKLINE(條,0,-10,2,0),COLORRED;
本文指標(biāo)含有選股公式如下: 強(qiáng)拉升速逃頂之強(qiáng)拉升選股指標(biāo)公式 強(qiáng)拉升速逃頂之加強(qiáng)拉升選股指標(biāo)公式
[天涯股市公式分享]通達(dá)信副圖指標(biāo):條件加強(qiáng)拉升
買:=IF("KDJ.J"<0,10,0); 條件:=CROSS(9.9,買); VAR1:=(2*CLOSE+HIGH+LOW)/4; VAR2:=LLV(LOW,5); VAR3:=HHV(HIGH,5); VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5); MA1:=MA(VAR4,2); AA:STICKLINE(VAR4>MA1,VAR4,MA1,3,1),COLORRED; BBB:STICKLINE(VAR4>MA1 AND
REF(VAR4,1)<30,VAR4,MA1,3,1),COLORRED; STICKLINE(VAR4<=MA1,VAR4,MA1,3,1),COLORFFCC66; DRAWICON(CROSS(9.9,買),VAR4-12,5); STICKLINE(CROSS(9.9,買),VAR4+5,MA1-4,3,1),COLORYELLOW; XXX:=STICKLINE(BBB,VAR4+5,MA1-4,3,1),COLORYELLOW; STICKLINE(FILTER(XXX ,5)
,VAR4+5,MA1-4,3,1),COLORYELLOW; Y1:=LLV(L,17); Y2:=SMA(ABS(L-REF(L,1)),17,1); Y3:=SMA(MAX(L-REF(L,1),0),17,2); Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1)); STICKLINE(CROSS(Q,0),15,0,4,0), , COLORYELLOW; 強(qiáng)拉升: IF(CROSS(Q,0),1,0),COLORYELLOW; Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, ,
COLOR00FF00,LINETHICK2; STICKLINE(CROSS(Q1,-24),20,0,4,0), , COLORMAGENTA; 加強(qiáng)拉升: IF(CROSS(Q1,-24),1,0),COLORMAGENTA; VAR5:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4); 天:=( MA((VAR5-REF(VAR5,1))/REF(VAR5,1)*100,2)); 地:=( MA((VAR5-REF(VAR5,1))/REF(VAR5,1)*100,1)); STICKLINE(地>天 AND 地<0,10,0,1,0),COLORRED; 開始拉升:STICKLINE(地>天 AND 地<0,10,0,1,0)=1,COLORRED;
通達(dá)信加強(qiáng)拉升副圖指標(biāo)
RSVA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9)); VAR21:=SMA(RSVA2,9,1)+100; VAR11:=SMA(RSVA1,3,1); VAR51:=SMA(VAR11,3,1)+100; 頂?shù)拙€:=VAR51-VAR21+50; VAR2:=LLV(LOW,33); VAR3:=HHV(HIGH,21); VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100; 趨勢(shì):=100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1); 底線:10,COLORWHITE; 頂線:90,COLORWHITE; {強(qiáng)拉升} Y1:=LLV(L,17); Y2:=SMA(ABS(L-REF(L,1)),17,1); Y3:=SMA(MAX(L-REF(L,1),0),17,2); Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1)); STICKLINE(CROSS(Q,0),10,0,4,0), , COLORYELLOW; 強(qiáng)拉升: IF(CROSS(Q,0),1,0),COLORYELLOW; Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00,LINETHICK2; STICKLINE(CROSS(Q1,-24),20,0,4,0), , COLORMAGENTA; 加強(qiáng)拉升: IF(CROSS(Q1,-24),1,0),COLORMAGENTA; VAR22:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4); 天:=( MA((VAR22-REF(VAR22,1))/REF(VAR22,1)*100,2)); 地:=( MA((VAR22-REF(VAR22,1))/REF(VAR22,1)*100,1)); STICKLINE(地>天 AND 地<0,10,0,1,0),COLORRED; 開始拉升:STICKLINE(地>天 AND 地<0,10,0,1,0)=1,COLORRED; VAR1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; VAR2B:=SMA(VAR1B,9,1)+100; VAR3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR4B:=SMA(VAR3B,3,1); VAR5B:=SMA(VAR4B,3,1)+100; VAR6B:=VAR5B-VAR2B; 趨勢(shì)1: IF(VAR6B>45,VAR6B-45,0),COLOR00FFFF,LINETHICK2; VAR2Q:=REF(LOW,1); VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100; VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3); VAR5Q:=LLV(LOW,30); VAR6Q:=HHV(VAR4Q,30); VAR7Q:=IF(MA(CLOSE,58),1,0); VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q; STICKLINE(REF(趨勢(shì)1,1)< 趨勢(shì)1, 趨勢(shì)1,REF(趨勢(shì)1,1),3.5,0),COLOR000033; STICKLINE(REF(趨勢(shì)1,1)< 趨勢(shì)1, 趨勢(shì)1,REF(趨勢(shì)1,1),2.8,0),COLOR000055;
|