通达信大才女变线指标主图+副图
X_95:=IF(X_93=MA(INDEXC,X_94),X_94,IF(X_93=X_82,26,IF(X_93=X_83,27,IF(X_93=X_84,28,IF(X_93=X_85,29,IF(X_93=X_86,30,IF(X_93=X_87,31,32)))))));
X_96:=EVERY(CLOSE/REF(CLOSE,1)>INDEXC/REF(INDEXC,1),5) OR COUNT(CLOSE/REF(CLOSE,1)>INDEXC/REF(INDEXC,1),9)=8;
X_97:=COUNT(X_96,2) AND DYNAINFO(4)>0 AND IF(CLOSE<OPEN,X_1<REF(VOL,1),1);
STICKLINE(X_97,X_9,X_9,5,0),COLORMAGENTA;
X_98:=REF(MIN(REF(LOW,BARSLAST(X_46)),REF(HIGH,BARSLAST(X_46)+1)),1);
X_99:=IF(X_46,REF(MAX(REF(LOW,BARSLAST(X_46)),REF(LOW,BARSLAST(X_52 AND CLOSE>OPEN*1.05))),1),MAX(REF(LOW,BARSLAST(X_46)),REF(LOW,BARSLAST(X_52 AND CLOSE>OPEN*1.05))));
X_100:=IF(BETWEEN(X_99,X_56,X_56*1.03),X_56,X_99);
X_101:=MAX(MAX(HHV((HIGH+CLOSE)/2,5),变线+MA(HIGH-变线,X_44)),IF(变线>REF(变线,1),变线*1.03,变线));
X_102:=IF(CLOSE<X_55,MIN(X_55,X_101),X_101);
X_103:=REF(X_102,1);
止赢:IF(CURRBARSCOUNT<=5,CONST(X_103),DRAWNULL),DOTLINE,COLORMAGENTA;
DRAWTEXT(ISLASTBAR,X_103,7),COLORMAGENTA;
预埋:IF(ISLASTBAR,X_102,DRAWNULL),NODRAW,COLORMAGENTA;
止损:IF(X_98=CONST(X_98),X_98,IF(ISLASTBAR,X_98,DRAWNULL)),DOTLINE,COLORGREEN;
DRAWTEXT(ISLASTBAR,止损,8),COLORGREEN;
X_104:=变线>X_59 AND COUNT(CLOSE>变线,5);
IF(X_104,变线,DRAWNULL),COLOR0045FF;
IF(变线<X_60,变线,DRAWNULL),COLORCYAN;
大财女变线副:
X_1:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN,VOL);
X_2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.096 AND CLOSE=HIGH;
X_3:=X_1>=REF(VOL,1)*1.9 AND (CLOSE>REF(CLOSE,1) OR CLOSE>OPEN);
X_4:=X_1<REF(X_1,1);
X_5:=EVERY(X_4,3);
X_6:=X_1=HHV(X_1,10) AND X_1>1.7*REF(VOL,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE>=OPEN AND HIGH-CLOSE<CLOSE-OPEN;
换手:X_1*10000/FINANCE(7),VOLSTICK;
五日换手:SUM(换手,5),NODRAW;
十日换手:SUM(换手,10),NODRAW;
二十日换手:SUM(换手,20),NODRAW;
X_7:=SUM(换手,60);
X_8:=SUM(换手,120);
X_9:=MA(换手,5);
平均换手5日:X_9,NODRAW;
X_10:=MA(换手,10);
平均换手10日:X_10,NODRAW;
X_11:=MA(换手,120);
平均换手120日:X_11;
X_12:=AMOUNT/VOL/100;
X_13:=MA(CLOSE,5);
X_14:=MA(CLOSE,6);
X_15:=MA(CLOSE,7);
X_16:=MA(CLOSE,8);
X_17:=MA(CLOSE,9);
X_18:=MA(CLOSE,10);
X_19:=MA(CLOSE,11);
X_20:=MA(CLOSE,12);
X_21:=MA(CLOSE,13);
X_22:=MA(CLOSE,14);
X_23:=MA(CLOSE,15);
X_24:=MA(CLOSE,16);
X_25:=MA(CLOSE,17);
X_26:=MA(CLOSE,18);
X_27:=MA(CLOSE,19);
X_28:=MA(CLOSE,20);
X_29:=MA(CLOSE,21);
X_30:=MA(CLOSE,22);
X_31:=MA(CLOSE,23);
X_32:=MA(CLOSE,24);
X_33:=MA(CLOSE,25);
X_34:=MA(CLOSE,26);
X_35:=MA(CLOSE,27);
X_36:=MA(CLOSE,28);
X_37:=MA(CLOSE,29);
X_38:=MA(CLOSE,30);
X_39:=MA(CLOSE,31);
X_40:=MAX(MAX(MAX(MAX(X_13,X_14),X_15),X_16),X_17);
X_41:=MAX(MAX(MAX(MAX(X_18,X_19),X_20),X_21),X_22);
X_42:=MAX(MAX(MAX(MAX(X_23,X_24),X_25),X_26),X_27);
X_43:=MAX(MAX(MAX(MAX(MAX(X_28,X_29),X_30),X_31),X_32),X_33);
X_44:=MAX(MAX(MAX(MAX(MAX(X_34,X_35),X_36),X_37),X_38),X_39);
X_45:=MAX(MAX(MAX(MAX(X_40,X_41),X_42),X_43),X_44);
X_46:=IF(X_45=X_13,5,IF(X_45=X_14,6,IF(X_45=X_15,7,IF(X_45=X_16,8,IF(X_45=X_17,9,IF(X_45=X_18,10,IF(X_45=X_19,11,IF(X_45=X_20,12,IF(X_45=X_21,13,IF(X_45=X_22,14,IF(X_45=X_23,15,IF(X_45=X_24,16,IF(X_45=X_25,17,IF(X_45=X_26,18,IF(X_45=X_27,19,IF(X_45=X_28,20,IF(X_45=X_29,21,IF(X_45=X_30,22,IF(X_45=X_31,23,IF(X_45=X_32,24,IF(X_45=X_33,25,DRAWNULL)))))))))))))))))))));
X_47:=IF(X_45=MA(CLOSE,X_46),X_46,IF(X_45=X_34,26,IF(X_45=X_35,27,IF(X_45=X_36,28,IF(X_45=X_37,29,IF(X_45=X_38,30,IF(X_45=X_39,31,DRAWNULL)))))));
X_48:=IF(BARSCOUNT(CLOSE)>=31,(X_45*3+MA(CLOSE,31))/4,MAX(MA(CLOSE,5),MA(CLOSE,BARSCOUNT(CLOSE))));
X_49:=X_48;
X_50:=X_1=HHV(X_1,X_47);
X_51:=X_1=LLV(X_1,X_47);
STICKLINE(X_50 AND CLOSE<=OPEN,X_1*10000/FINANCE(7),0,1.5,0),COLORGREEN;
STICKLINE(X_50 AND CLOSE>OPEN,X_1*10000/FINANCE(7),0,1.5,0),COLORRED;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VOL*10000/FINANCE(7),0,0.5,(-1)),COLOR00C0C0;
DRAWNUMBER(X_1>MA(X_1,120)*3,换手,ROUND(X_1/MA(X_1,120)));
IF(EVERY(换手<=X_11,30),X_11,DRAWNULL),COLORBLUE,LINETHICK4;
STICKLINE(REF(EVERY(换手<=X_11,30),1) AND X_3 AND 换手>X_11,0,0,5,0),COLORYELLOW;
量顶:REF(REF(换手,BARSLAST(换手=HHV(换手,X_47))),1),DOTLINE,COLORGRAY;
X_52:=MA(换手,X_47);
STICKLINE(量顶<X_11,换手,量顶,3,0),COLORBLUE;
STICKLINE(换手>量顶,换手,量顶,1.5,0),COLORYELLOW;
- 上一篇公式:通达信徐小明分时九转指标
- 下一篇公式:通达信双阴狂洗主图 选股公式(鹏腾2009版本)源码