通達信量學(xué)畫線主圖指標(biāo)公式
基本概況:
- 指標(biāo)類別: 通達信指標(biāo)
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)語言: 簡體中文
- 指標(biāo)來源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-08-29 00:00:00
內(nèi)容介紹:
通達信量學(xué)畫線主圖指標(biāo)公式:
均線數(shù):=0;
畫線虛實:=1;
顯3121刻度:=0;
顯買賣點:=1;
半分位:=(O+C)/2;
峰邊距:=5;
回踩誤差千分之:=2;
畫將1黃2元3全4:=2;
精準(zhǔn)計數(shù)周期:=240;
低1開2收3高4:=1;
基準(zhǔn)點前N天:=0;
昨半分位:=REF(半分位,1);
STICKLINE(ISLASTBAR,昨半分位,昨半分位,10,0);
DRAWTEXT(ISLASTBAR,昨半分位,' 昨半分位');
X_1:=1991015;
X_2:=TESTSKIP(DATE>X_1);
STICKLINE(REF(LOW,1)>HIGH,HIGH,REF(LOW,1),5,0),COLORGRAY;
STICKLINE(REF(HIGH,1)
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0,0.045,0,FGBLOCK),COLORGREEN;
X_3:=240;
X_4:=CONST(HHV(REF(HIGH,1),X_3));
X_5:=CONST(LLV(REF(LOW,1),X_3));
X_6:=X_4-X_5;
X_7:=LOW-X_6*0.03;
X_8:=HIGH+X_6*0.03;
X_9:=CLOSE>500;
X_10:=MAX(CLOSE,OPEN);
X_11:=MIN(CLOSE,OPEN);
X_12:=基準(zhǔn)點前N天;
X_13:=畫線虛實;
X_14:=IF(X_9,HIGH,X_10);
X_15:=IF(X_9,LOW,X_11);
X_16:=IF(CLOSE>OPEN,IF(X_13=0,LOW,X_15),IF(X_13=0,HIGH,X_14));
X_17:=回踩誤差千分之/1000;
X_18:=CURRBARSCOUNT;
X_19:=精準(zhǔn)計數(shù)周期;
X_20:=X_18<=X_19;
X_21:=IF(低1開2收3高4=1,LOW,IF(低1開2收3高4=2,OPEN,IF(低1開2收3高4=3,CLOSE,HIGH)));
X_22:=IF(基準(zhǔn)點前N天=0,X_21,REF(X_21,基準(zhǔn)點前N天));
WEN98編_基準(zhǔn)價:IF(X_20,CONST(X_22),DRAWNULL),DOTLINE,COLORLIGRAY;
X_23:=WEN98編_基準(zhǔn)價;
X_24:=X_23*X_17;
X_25:=ABS(LOW-X_23)<=X_24;
X_26:=ABS(OPEN-X_23)<=X_24;
X_27:=ABS(CLOSE-X_23)<=X_24;
X_28:=ABS(HIGH-X_23)<=X_24;
X_29:=X_25 OR X_26 OR X_27 OR X_28 AND X_20 AND X_18!=基準(zhǔn)點前N天+1;
X_30:=COUNT(X_29,X_19);
精準(zhǔn)點個數(shù):IF(X_30>0,X_30+1,0),NODRAW,COLORMAGENTA;
X_31:=峰邊距;
X_32:=REF(HIGH,X_31)=HHV(HIGH,2*X_31+1);
X_33:=FILTER(X_32,X_31);
X_34:=BACKSET(X_33,X_31+1);
X_35:=FILTER(X_34,X_31);
X_36:=REF(HIGH,BARSLAST(X_35));
X_37:=REF(MAX(CLOSE,OPEN),X_31)=HHV(MAX(CLOSE,OPEN),2*X_31+1);
X_38:=FILTER(X_37,X_31);
X_39:=BACKSET(X_38,X_31+1);
X_40:=FILTER(X_39,X_31);
X_41:=REF(MAX(CLOSE,OPEN),BARSLAST(X_40));
X_42:=REF(LOW,X_31)=LLV(LOW,2*X_31+1);
X_43:=FILTER(X_42,X_31);
X_44:=BACKSET(X_43,X_31+1);
X_45:=FILTER(X_44,X_31);
X_46:=REF(LOW,BARSLAST(X_45));
X_47:=REF(MIN(CLOSE,OPEN),X_31)=LLV(MIN(CLOSE,OPEN),2*X_31+1);
X_48:=FILTER(X_47,X_31);
X_49:=BACKSET(X_48,X_31+1);
X_50:=FILTER(X_49,X_31);
X_51:=REF(MIN(CLOSE,OPEN),BARSLAST(X_50));
X_52:=IF(畫線虛實=0,X_36,X_41);
X_53:=IF(畫線虛實=0,X_46,X_51);
STICKLINE(X_52=REF(X_52,1) AND 峰邊距>0,X_52,X_52,5,0),COLOR990099;
STICKLINE(X_53=REF(X_53,1) AND 峰邊距>0,X_53,X_53,5,0),COLOR009900;
K中:(HIGH+LOW)/2,NODRAW,COLORYELLOW;
X_54:=MA(CLOSE,5);
MA5角度:ATAN((X_54/REF(X_54,1)-1)*100)*180/3.1416,NODRAW;
X_55:=均線數(shù);
年線250:IF(X_55>=6 AND X_55<7,MA(CLOSE,250),DRAWNULL),COLORBLUE;
趨勢120:IF(X_55>=5 AND X_55<7,MA(CLOSE,120),DRAWNULL),COLORGRAY;
決策60"
相關(guān)推薦: