正點財經(jīng)首頁     加入收藏
            指標首頁 通達信指標 同花順指標 大智慧指標 飛狐指標 指標教程 指標實戰(zhàn) 指標百科 股市學院
            指標源碼搜索: 熱詞:買賣  黑馬  K線  牛股  量能  波段  頂?shù)?/a>  抄底  成本  逃頂  MACD  漲停  換手率
            你的位置: > 正點財經(jīng) > 炒股指標公式 > 通達信指標公式 > 正文

            通達信支撐壓力買賣底買頂逃指標公式

            通達信指標公式源碼概況:
            • 指標類別: 通達信指標公式
            • 授權(quán)方式: 免費版
            • 指標評級: ★★★★★
            • 指標分類: 趨勢
            • 畫線方法: 主圖
            • 日期:2020-10-30 來源:互聯(lián)網(wǎng)
            通達信指標公式源碼介紹:

            通達信支撐壓力買賣底買頂逃指標公式:包含未來函數(shù):PEAK - 前M個ZIG轉(zhuǎn)向波峰值,PEAKBARS - 前M個ZIG轉(zhuǎn)向波峰到當前距離TROUGH - 前M個ZIG轉(zhuǎn)向波谷值,TROUGHBARS - 前M個ZIG轉(zhuǎn)向波谷到當前距離

            漲停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
            STICKLINE(漲停,O,C,1,0),COLORYELLOW;
            ZDF:=(C-REF(C,1))/REF(C,1)*100;
            STICKLINE(ZDF<-9.9,O,C,1,0),COLORBLUE;
            VAR3:=LLV(HIGH,240);
            VAR4:=100*(CLOSE-VAR3)/VAR3;
            VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
            VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
            VAR7:=0;
            VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
            VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
            VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
            VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
            VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
            VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
            VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
            VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
            VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
            VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
            VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
            VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
            買1:=VAR10;
            買2:=(VAR11+VAR13+VAR15+VAR17);
            賣1:=(VAR12+VAR14+VAR16+VAR18);
            B:IF(買1>0 OR 買2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
            S:IF(賣1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN;
            VAR100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
            VAR200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
            VAR300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34));
            F:IF(CROSS(VAR200,MA(VAR300,5)),LOW * 0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLORFF00FF;
            DRAWTEXT(CROSS(S,賣1),S,'←逃'),COLORWHITE,LINETHICK1;
            DRAWTEXT(CROSS(B,買1),B,'←準備'),COLORRED,LINETHICK1;
            {價:}
            {JC1:=(REF(C,3)+REF(C,5)+REF(C,7)+REF(C,8)+REF(C,13)+REF(C,21))/6;
            參考價1:SMA(JC1,5,1),CIRCLEDOT,COLORGREEN;
            IF(C>=參考價1,參考價1,DRAWNULL),CIRCLEDOT,COLOR0000FF;}
            PH:=TROUGHBARS(2,5,1);
            LL:=HHV(H,PH);
            TJ1:=LL=HIGH AND LL<REF(LL,1);{//=1}
            TS:=SUMBARS(TJ1,2);
            TJ:=PEAKBARS(2,5,1)=1 AND TS>=PH;
            DRAWICON(TJ,HIGH*1.01+0.02,2);
            警告燈:IF(TJ,HIGH*1.008,DRAWNULL),CROSSDOT,LINETHICK2,COLORCYAN;
            PL:=BARSLAST(TJ);
            支撐:IF(BARSLAST(TJ1),
            REF(LOW,BARSLAST(TJ1)),DRAWNULL),COLOREA91B5;
            壓力:IF(BARSLAST(TJ),REF(HIGH,PL),DRAWNULL),COLORYELLOW;
            TJ_2:=LOW>REF(REF(LOW,TS),PL);
            DRAWTEXT(ISLASTBAR,壓力,'壓力'),COLORYELLOW;
            DRAWTEXT(ISLASTBAR,支撐,'支撐'),COLOREA91B5;
            HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;
            AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
            QY:=BACKSET(AA,HIGHN+1);
            CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
            DRAWICON(CC,H*1.02,2);
            DDD:=BARSLAST(CC);
            GDTS:=IF(CC,CURRBARSCOUNT,0);
            DINGBU:=IF(DDD,REF(H,DDD),H);{頂部}
            DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
            DINGBU1:=REF(DINGBU,DDD+1);
            GDCS1:=CONST(DINGBUTS);
            DINGBUTS1:=REF(DINGBUTS,DDD+1);
            GDCS2:=CONST(DINGBUTS1);
            DINGBU2:=REF(DINGBU1,DDD+1);
            MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
            高點壓力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,LINETHICK2;
            DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT;
            DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT;
            AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
            QY1:=BACKSET(AA1,LOWN+1);
            CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
            DRAWICON(CC1,L*0.98,1);
            DD1:=BARSLAST(CC1);
            DDTS:=IF(CC1,CURRBARSCOUNT,0);
            YDB:=IF(DD1,REF(L,DD1),L);
            DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
            DDCS1:=CONST(DDTS1);
            ZDB:=REF(YDB,DD1+1);
            DDTS2:=REF(DDTS1,DD1+1);
            DDCS2:=CONST(DDTS2);
            低點支撐:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2;
            ZGSTAR:=(高點壓力+低點支撐)/2;
            ZGEND:=CONST((高點壓力+低點支撐)/2);
            STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);
            中軌:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK2;
            DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENTA,POINTDOT,;
            DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,POINTDOT;
            VAR1:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);
            STICKLINE(VAR1>90,L,L*0.92,0.1,0),COLORRED;
            DRAWTEXT(VAR1>90,LOW*0.92,'B'),COLORRED;
            買線:=EMA(CLOSE,2);
            賣線:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
            B11:IF(CROSS(買線,賣線),L-0.02,DRAWNULL),CROSSDOT,LINETHICK4,COLORRED;
            S11:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK4,COLORGREEN;
            VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;
            S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK4,COLORGREEN;
            A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));
            B1:=REF(C,A1+1)> C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");
            DRAWTEXT(B1> 0,L-0.02,'M底'),COLOR00FFFF;{MACD底背離}
            A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));
            B2:=REF(C,A2+1)> C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");
            DRAWTEXT(B2,L-0.10,'K底'),COLORFF00FF;{KDJ底背離}
            A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));
            B3:=REF(C,A3+1)> C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");
            DRAWTEXT(B3> 0,L-0.18,'R底'),COLOR0000FF;{RSI底背離}
            C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));
            D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)> "MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");
            DRAWTEXT(D1> 0,H+0.16,'M頂'),COLOR00FF00;{MACD頂背離}
            C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));
            D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)> "KDJ.K" AND CROSS("KDJ.D","KDJ.K");
            DRAWTEXT(D2> 0,H+0.08,'K頂'),COLORFFFFCC;{KDJ頂背離}
            C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));
            D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)> "RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1");
            DRAWTEXT(D3> 0,H+0.04,'R頂'),COLORFF9900;{RSI頂背離};

            通達信支撐壓力買賣底買頂逃指標公式實例圖解:

            通達信支撐壓力買賣底買頂逃指標公式

            通達信支撐壓力買賣底買頂逃指標公式

            • 風云榜
            • 總點擊榜
            • 最新指標
            月點擊榜指標公式
            更多指標百科
            關(guān)于我們 | 商務(wù)合作 | 聯(lián)系投稿 | 聯(lián)系刪稿 | 合作伙伴 | 法律聲明 | 網(wǎng)站地圖
            无码专区一va亚洲天堂,久久综合无码人妻,日本一本之道之视频在线不卡,97久久精品视频,久久人人妻人人做人人爱,人妻少妇久久精品无码视频,少妇无码av无码专区线yy,鲁丝片av无码中文字幕