【騰訊文檔】通達(dá)信【三線定勢(shì)】-扭轉(zhuǎn)乾坤-主副圖選股無(wú)未來(lái)支持手機(jī)電腦【通達(dá)信三線定勢(shì)-扭轉(zhuǎn)乾坤指標(biāo)系統(tǒng)】專為捕捉市場(chǎng)逆轉(zhuǎn)點(diǎn)設(shè)計(jì),集主圖趨勢(shì)分析、副圖細(xì)節(jié)確認(rèn)及精準(zhǔn)選股策略于一體,確保信號(hào)穩(wěn)定無(wú)未來(lái)函數(shù)干擾,手機(jī)與電腦通達(dá)信軟件無(wú)縫兼容。本指標(biāo)系統(tǒng)核心在于精準(zhǔn)識(shí)別趨勢(shì)
【通達(dá)信三線定勢(shì)-扭轉(zhuǎn)乾坤指標(biāo)系統(tǒng)】主圖指標(biāo)源碼 GSKZ1:=POW(10,6); GSKZ2:=IF(GSKZ1>0,1,0); GSKZ3:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10); GSKZ4:=HIGH-REF(HIGH,1); GSKZ5:=REF(LOW,1)-LOW; GSKZ6:=SUM(IF(GSKZ4>0 AND GSKZ4>GSKZ5,GSKZ4,0),20); GSKZ7:=SUM(IF(GSKZ5>0 AND GSKZ5>GSKZ4,GSKZ5,0),20); GSKZ8:=LLV(LOW,240); GSKZ9:=HHV(HIGH,240); 趨勢(shì)線:=(CLOSE-GSKZ8)/GSKZ8*100; 中線:=GSKZ7/GSKZ3/2*100; 散戶線:=(GSKZ9-CLOSE)/CLOSE*100; HH:=趨勢(shì)線/散戶線; GSKZ10:=HHV(CLOSE,20); GSKZ11:=EMA(GSKZ10,30)*1.03; GSKZ12:=EMA(GSKZ10,120)*1.03; GSKZ13:=(CLOSE+HIGH+LOW)/3; GSKZ14:=EMA(GSKZ13,10); GSKZ15:=REF(GSKZ14,1); 看漲:=IF(趨勢(shì)線>15 AND 趨勢(shì)線>中線,趨勢(shì)線,DRAWNULL); 超強(qiáng):=IF(趨勢(shì)線>30 AND 趨勢(shì)線>散戶線,趨勢(shì)線,DRAWNULL); HSL:=V/CAPITAL*100>5; XG:=(FILTER(看漲 OR 超強(qiáng) AND 趨勢(shì)線>=HHV(趨勢(shì)線,10) AND HSL AND OPEN/GSKZ14<1.08 AND OPEN/GSKZ11<1.1 AND OPEN/GSKZ12<1.2 AND CLOSE>GSKZ11 AND CLOSE>=REF(CLOSE,1)*1.05 AND 散戶線<60 AND 趨勢(shì)線<120,30))*GSKZ2; XGG:=REF(XG,1) AND C<O COLORWHITE,LINETHICK3; STICKLINE(XGG,OPEN,CLOSE,3,0),COLORGREEN; DRAWICON(XGG,LOW*0.99,34); DRAWTEXT(XGG,L*0.99,'三線定勢(shì)'),COLORYELLOW; 扭轉(zhuǎn)乾坤副圖 GPZBGSW1:=POW(10,6); GPZBGSW2:=IF(GPZBGSW1>0,1,0); GPZBGSW3:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10); GPZBGSW4:=HIGH-REF(HIGH,1); GPZBGSW5:=REF(LOW,1)-LOW; GPZBGSW6:=SUM(IF(GPZBGSW4>0 AND GPZBGSW4>GPZBGSW5,GPZBGSW4,0),20); GPZBGSW7:=SUM(IF(GPZBGSW5>0 AND GPZBGSW5>GPZBGSW4,GPZBGSW5,0),20); GPZBGSW8:=LLV(LOW,240); GPZBGSW9:=HHV(HIGH,240); 趨勢(shì)線:=(CLOSE-GPZBGSW8)/GPZBGSW8*100; 中線:=GPZBGSW7/GPZBGSW3/2*100; 散戶線:=(GPZBGSW9-CLOSE)/CLOSE*100; HH:=趨勢(shì)線/散戶線; GPZBGSW10:=HHV(CLOSE,20); GPZBGSW11:=EMA(GPZBGSW10,30)*1.03; GPZBGSW12:=EMA(GPZBGSW10,120)*1.03; GPZBGSW13:=(CLOSE+HIGH+LOW)/3; GPZBGSW14:=EMA(GPZBGSW13,10); GPZBGSW15:=REF(GPZBGSW14,1); 看漲:=IF(趨勢(shì)線>15 AND 趨勢(shì)線>中線,趨勢(shì)線,DRAWNULL); 超強(qiáng):=IF(趨勢(shì)線>30 AND 趨勢(shì)線>散戶線,趨勢(shì)線,DRAWNULL); HSL:=V/CAPITAL*100>5; XG:=(FILTER(看漲 OR 超強(qiáng) AND 趨勢(shì)線>=HHV(趨勢(shì)線,10) AND HSL AND OPEN/GPZBGSW14<1.08 AND OPEN/GPZBGSW11<1.1 AND OPEN/GPZBGSW12<1.2 AND CLOSE>GPZBGSW11 AND CLOSE>=REF(CLOSE,1)*1.05 AND 散戶線<60 AND 趨勢(shì)線<120,30))*GPZBGSW2; 選股:REF(XG,1) AND C<O COLORWHITE,LINETHICK3; 買入:=REF(C,BARSLAST(選股)),COLORYELLOW,NODRAW; 止贏:=REF(C,BARSLAST(選股))*1.01,COLORYELLOW,NODRAW ;最高:=REF(H,BARSLAST(選股)-1),COLORFF00FF,NODRAW; 止損:=REF(C,BARSLAST(選股))*0.97,COLORGREEN,NODRAW; 收盤:=REF(C,BARSLAST(選股)-1),COLORFF00FF,NODRAW; 漲幅:=(REF(C,BARSLAST(選股)-1)/買入-1)*155; 信號(hào)周期:=BARSLAST(選股),COLORYELLOW,NODRAW; 成績(jī):=(最高/買入-1)*100,COLORRED,NODRAW;STICKLINE(REF(選股,1) ,0,0.50,2,0),COLORGREEN; STICKLINE(REF(選股,1) AND 最高/買入>=1.01,0,0.50,2,0),COLORRED; DRAWICON(REF(選股,1) AND 成績(jī)>=1,0.68,5); DRAWICON(REF(選股,1) AND 成績(jī)<1,0.68,4); DRAWNUMBER(REF(選股,1),0.85,成績(jī)), COLORYELLOW;DRAWTEXT(REF(選股,1),0.8,' %'),COLORYELLOW; 三線乾坤選股 GPZBGSW1:=POW(10,6); GPZBGSW2:=IF(GPZBGSW1>0,1,0); GPZBGSW3:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10); GPZBGSW4:=HIGH-REF(HIGH,1); GPZBGSW5:=REF(LOW,1)-LOW; GPZBGSW6:=SUM(IF(GPZBGSW4>0 AND GPZBGSW4>GPZBGSW5,GPZBGSW4,0),20); GPZBGSW7:=SUM(IF(GPZBGSW5>0 AND GPZBGSW5>GPZBGSW4,GPZBGSW5,0),20); GPZBGSW8:=LLV(LOW,240); GPZBGSW9:=HHV(HIGH,240); 趨勢(shì)線:=(CLOSE-GPZBGSW8)/GPZBGSW8*100; 中線:=GPZBGSW7/GPZBGSW3/2*100; 散戶線:=(GPZBGSW9-CLOSE)/CLOSE*100; HH:=趨勢(shì)線/散戶線; GPZBGSW10:=HHV(CLOSE,20); GPZBGSW11:=EMA(GPZBGSW10,30)*1.03; GPZBGSW12:=EMA(GPZBGSW10,120)*1.03; GPZBGSW13:=(CLOSE+HIGH+LOW)/3; GPZBGSW14:=EMA(GPZBGSW13,10); GPZBGSW15:=REF(GPZBGSW14,1); 看漲:=IF(趨勢(shì)線>15 AND 趨勢(shì)線>中線,趨勢(shì)線,DRAWNULL); 超強(qiáng):=IF(趨勢(shì)線>30 AND 趨勢(shì)線>散戶線,趨勢(shì)線,DRAWNULL); HSL:=V/CAPITAL*100>5; XG:=(FILTER(看漲 OR 超強(qiáng) AND 趨勢(shì)線>=HHV(趨勢(shì)線,10) AND HSL AND OPEN/GPZBGSW14<1.08 AND OPEN/GPZBGSW11<1.1 AND OPEN/GPZBGSW12<1.2 AND CLOSE>GPZBGSW11 AND CLOSE>=REF(CLOSE,1)*1.05 AND 散戶線<60 AND 趨勢(shì)線<120,30))*GPZBGSW2; XGG:REF(XG,1) AND C<O; |
|
來(lái)自: 指標(biāo)公社 > 《TDX套裝指標(biāo)》