通達(dá)信彩帶趨勢(shì)主圖指標(biāo)公式
- 指標(biāo)類(lèi)別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類(lèi): 趨勢(shì)
- 畫(huà)線(xiàn)方法: 主圖
- 日期:2022-05-24 來(lái)源:互聯(lián)網(wǎng)
通達(dá)信彩帶趨勢(shì)主圖指標(biāo)公式:
MA14:=MA(C,14);
STICKLINE(H<MA14 ,H,L,10,0),COLOR000000;
STICKLINE(H<MA14 ,H,L,0.1,0),COLOR666666;
STICKLINE(H<MA14 ,O,C,8,0),COLOR666666;
STICKLINE(H<MA14 AND C>O,O,C,8,0),COLOR8F8F8F;
CC:=(3*C+H+L+O)/6;
MA6:=EMA(MA(IF(MA(CC,3)>MA(CC,4),MA((CC+3*H)/4,3),
REF(MA((CC+3*L)/4,3),1)),3),5);
REF(MA6,1), COLOR8A8A8A;
REF(MA6,2), COLOR898989;
REF(MA6,3), COLOR888888;
REF(MA6,4), COLOR878787;
REF(MA6,5), COLOR868686;
REF(MA6,6), COLOR858585;
REF(MA6,7), COLOR848484;
REF(MA6,8), COLOR838383;
REF(MA6,9), COLOR828282;
REF(MA6,10), COLOR818181;
REF(MA6,11), COLOR808080;
REF(MA6,12), COLOR7A7A7A;
REF(MA6,13), COLOR797979;
REF(MA6,14), COLOR787878;
REF(MA6,15), COLOR777777;
REF(MA6,16), COLOR767676;
REF(MA6,17), COLOR757575;
REF(MA6,18), COLOR747474;
REF(MA6,19), COLOR737373;
REF(MA6,20), COLOR727272;
REF(MA6,21), COLOR717171;
REF(MA6,22), COLOR707070;
REF(MA6,23), COLOR6A6A6A;
REF(MA6,24), COLOR696969;
STICKLINE(L<MA14 AND C>O AND H>MA14 ,H,L,0.1,0),COLORDD66CC;
STICKLINE(L<MA14 AND C<O AND H>MA14,H,L,0.1,0),COLORFFCC66;
STICKLINE(L<MA14 AND C>O AND H>MA14 ,O,C,8,0),COLORDD66CC;
STICKLINE(L<MA14 AND C<O AND H>MA14,O,C,8,0),COLORFFCC66;
STICKLINE(L>MA14 AND C>O AND H>MA14,H,L,0.1,0),COLOR0066FF;
STICKLINE(L>MA14 AND C<O AND H>MA14,H,L,0.1,0),COLOR66FF66;
STICKLINE(L>MA14 AND C>O AND H>MA14,O,C,8,0),COLOR0066FF;
STICKLINE(L>MA14 AND C<O AND H>MA14,O,C,8,0),COLOR66FF66;
A0:=FROMOPEN;
P:=PERIOD ;
A:=IF(P=1,A0,IF(P=2,A0/5,IF(P=3,A0/15,IF(P=4,A0/30,
IF(P=5,A0/60,IF(P=0,0,1))))));
均價(jià)線(xiàn):=IF(CAPITAL>0,SUM(AMOUNT,A)/100/SUM(VOL,A),
SUM(CLOSE*VOL,A)/SUM(VOL,A));
額勢(shì):=IF(CAPITAL>0,均價(jià)線(xiàn),1);
取勢(shì):=IF(SMA(額勢(shì),3,2)>SMA(額勢(shì),5,3),(O+2*HHV(H,2))/3,(O+2*LLV(L,2))/3);
短1:=(EMA(取勢(shì),1)+MA(取勢(shì),3)+MA(取勢(shì),5))/3;
短2:=(EMA(取勢(shì),3)+MA(取勢(shì),6)+MA(取勢(shì),9))/3;
短01:=EMA((短1+短2+MA(短2,5))/3,2.637),COLORFFC0F0,LINETHICK2;
趨勢(shì)線(xiàn)1:=SMA(FORCAST(CLOSE,13),5,1),COLORFFFF00,LINETHICK1;
趨勢(shì)線(xiàn)2:(EMA(SMA(FORCAST(取勢(shì),12),4,1),4)+趨勢(shì)線(xiàn)1)/2,COLORFFFF00,
LINETHICK1;
趨勢(shì)線(xiàn)3:(EMA(SMA(FORCAST(取勢(shì),12),20,1),4)+趨勢(shì)線(xiàn)1)/2,COLORFFFF00,
LINETHICK1;
IF(趨勢(shì)線(xiàn)1>REF(趨勢(shì)線(xiàn)1,1),趨勢(shì)線(xiàn)2,DRAWNULL),COLORFFAA00,LINETHICK2;
IF(趨勢(shì)線(xiàn)1<REF(趨勢(shì)線(xiàn)1,1),趨勢(shì)線(xiàn)2,DRAWNULL),COLOR0088FF,LINETHICK2;
A00:="RSI.RSI1"(6,12,24);
ZF:=(C-REF(C,1))/REF(C,1)*100;
DRAWICON(CROSS(A00,50) AND ZF>3,L*0.98,1);
MA20:=MA(C,20),COLORWHITE,LINETHICK2;
乖離線(xiàn):=((C-REF(MA20,1))/20+MA20)*1.20;
賣(mài)點(diǎn):=CROSS(C,乖離線(xiàn));
X6:=REF(CLOSE,1);
X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100);
X8:=CROSS(79,X7) ;
X9:=FILTER(X8,4) ;
出貨:=X9;
條件A:=賣(mài)點(diǎn) AND C<O;
條件B:=出貨 AND C<O,LINETHICK1;
顯示A_B:=(REF(BARSLAST(條件A OR 條件B)>=4,1) AND 條件B ) OR 條件A;
限制性出現(xiàn)出貨:DRAWTEXT((REF(BARSLAST(條件A OR 條件B)>=4,1) AND 條件B ),
(HIGH * 1.02),'出貨'),COLOR9000F5;{賣(mài)點(diǎn)跟出貨在5天內(nèi)同時(shí)出現(xiàn)的時(shí)候,
不讓出貨顯示}
允許出現(xiàn)賣(mài)點(diǎn):DRAWTEXT(條件A ,H+0.13,'賣(mài)點(diǎn)'),COLOR00FF00;
STICKLINE(顯示A_B,O,C,8,0),COLORFF9933;
DRAWTEXT(顯示A_B,(H+L)/2,'★'),COLORDD99FF;
★:DRAWTEXT(C>MA(C,20) AND (MA(C,5)>MA(C,10) AND MA(C,5)<MA(C,20))
OR (C>MA(C,20) AND MA(C,5)>MA(C,10) AND MA(C,10)<MA(C,20))
OR(C>MA(C,20) AND MA(C,5)>MA(C,10) AND MA(C,10)<MA(C,20)),MA(C,20),'★')
,COLORFFFFFF;
通達(dá)信彩帶趨勢(shì)主圖指標(biāo)公式實(shí)例圖解:
通達(dá)信彩帶趨勢(shì)主圖指標(biāo)公式
- ·通達(dá)信籌碼多空趨勢(shì)指標(biāo)公式
- ·通達(dá)信牛霸天下趨勢(shì)指標(biāo)公式
- ·通達(dá)信主力趨勢(shì)走勢(shì)信號(hào)指標(biāo)公式
- ·通達(dá)信長(zhǎng)線(xiàn)趨勢(shì)指標(biāo)公式
- ·通達(dá)信大盤(pán)趨勢(shì)指標(biāo)公式
- ·通達(dá)信全天的成交重心主圖趨勢(shì)買(mǎi)賣(mài)指標(biāo)公式
- ·通達(dá)信錯(cuò)落有致趨勢(shì)買(mǎi)賣(mài)指標(biāo)公式
- ·通達(dá)信漲幅前兆趨勢(shì)指標(biāo)公式
- ·通達(dá)信神龍?jiān)谔熠厔?shì)指標(biāo)公式
- ·通達(dá)信天馬圖趨勢(shì)買(mǎi)賣(mài)指標(biāo)公式
- ·通達(dá)信弘歷趨勢(shì)王指標(biāo)公式
- ·通達(dá)信非趨勢(shì)擺動(dòng)指標(biāo)公式