通达信短中长动力副图指标 陈大山老师指标集合改装 源码分享
DRAWGBK(CLOSE>0,RGB(10,10,10),RGB(10,10,10),0,1,0); DRAWBAND(3.2,RGB(0,111,0),3.5,RGB(0,111,0)); DRAWBAND(0.2,RGB(150,50,50),0.25,RGB(150,50,50)); X_1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),2,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),2,1)*100; X_2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,3)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,3)*100; X_3:=SMA(MAX(CLOSE-REF(CLOSE,1),0),8,3)/SMA(ABS(CLOSE-REF(CLOSE,1)),8,3)*100; X_4:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,3)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,3)*100; X_5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),21,3)/SMA(ABS(CLOSE-REF(CLOSE,1)),21,3)*100; X_6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,3)/SMA(ABS(CLOSE-REF(CLOSE,1)),34,3)*100; X_7:=X_1<25; X_8:=X_2<25; X_9:=X_3<25; X_10:=X_4<25; X_11:=X_5<25; GSZX:=X_6<25; STICKLINE(X_7>0,3.5,3,2,0),COLORFF1493; STICKLINE(X_8>0,3,2.5,2,0),COLORGREEN; STICKLINE(X_9>0,2.5,2,2,0),COLORRED; STICKLINE(X_10>0,2,1.5,2,0),COLORLIBLUE; STICKLINE(X_11>0,1.5,1,2,0),COLORWHITE; STICKLINE(GSZX>0,1,0.5,2,0),COLORMAGENTA; X_13:=LLV(LOW,8); X_14:=HHV(HIGH,21); X_15:=EMA((CLOSE-X_13)/(X_14-X_13)*4,4); X_16:=LLV(LOW,5); X_17:=HHV(HIGH,13); 公式在线网:=EMA((CLOSE-X_16)/(X_17-X_16),4)*4; X_19:=LLV(LOW,3); X_20:=HHV(HIGH,5); X_21:=EMA((CLOSE-X_19)/(X_20-X_19),4)*4; X_22:=X_15<=0.26; X_23:=公式在线网<=0.26; X_24:=X_21<=0.26; X_25:=X_22+X_23+X_24; X_26:=X_7+X_8+X_9+X_10+X_11+GSZX; X_27:=X_26>1; X_28:=X_26>2; X_29:=X_26>4; X_30:=X_26>5; X_31:=IF(X_27 AND X_30,1,0); X_32:=IF(X_28 AND X_29,1,0); 苦海:X_31>0 OR X_32>0,NODRAW,COLORBROWN; STICKLINE(苦海>0,0,0.5,2,0),COLORBROWN; 逃离:苦海<1 AND REF(苦海,1)>0,NODRAW,COLORMAGENTA; X_33:=(HIGH+LOW+CLOSE)/3; X_34:=(X_33-MA(X_33,14))/(0.015*AVEDEV(X_33,14)); X_35:=SMA(X_34,3,1); X_36:=SMA(X_35,3,1); X_37:=3*X_35-2*X_36; X_38:=EMA(X_37,5); X_39:=REF(CLOSE,1); X_40:=SMA(MAX(CLOSE-X_39,0),6,1)/SMA(ABS(CLOSE-X_39),6,1)*100; X_41:=(X_40-50)*5; X_42:=SMA(X_41,3,1); X_43:=SMA(X_42,3,1); X_44:=3*X_42-2*X_43; X_45:=EMA(X_44,5); X_46:=REF(X_45,1); X_47:=X_45>X_46; X_48:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; X_49:=SMA(X_48,3,1); X_50:=(X_49-50)*5; X_51:=SMA(X_50,3,1); X_52:=SMA(X_51,3,1); X_53:=3*X_51-2*X_52; X_54:=EMA(X_53,5); X_55:=X_47 AND NOT(REF(X_47,1)) AND (X_45<(-100) AND X_54<(-100)) AND X_38<(-100); 摸底:IF(X_55,1.7,0),COLORGREEN,LINETHICK2; 长线动力:X_15,COLORCYAN; 中线动力:公式在线网,COLORYELLOW; 短线动力:X_21,COLORRED;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
通达信短中长动力副图指标 陈大山老师指标集合改装 源码分享
DRAWGBK(CLOSE>0,RGB(10,10,10),RGB(10,10,10),0,1,0);
DRAWBAND(3.2,RGB(0,111,0),3.5,RGB(0,111,0));
DRAWBAND(0.2,RGB(150,50,50),0.25,RGB(150,50,50));
X_1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),2,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),2,1)*100;
X_2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,3)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,3)*100;
X_3:=SMA(MAX(CLOSE-REF(CLOSE,1),0),8,3)/SMA(ABS(CLOSE-REF(CLOSE,1)),8,3)*100;
X_4:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,3)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,3)*100;
X_5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),21,3)/SMA(ABS(CLOSE-REF(CLOSE,1)),21,3)*100;
X_6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,3)/SMA(ABS(CLOSE-REF(CLOSE,1)),34,3)*100;
X_7:=X_1<25;
X_8:=X_2<25;
X_9:=X_3<25;
X_10:=X_4<25;
X_11:=X_5<25;
GSZX:=X_6<25;
STICKLINE(X_7>0,3.5,3,2,0),COLORFF1493;
STICKLINE(X_8>0,3,2.5,2,0),COLORGREEN;
STICKLINE(X_9>0,2.5,2,2,0),COLORRED;
STICKLINE(X_10>0,2,1.5,2,0),COLORLIBLUE;
STICKLINE(X_11>0,1.5,1,2,0),COLORWHITE;
STICKLINE(GSZX>0,1,0.5,2,0),COLORMAGENTA;
X_13:=LLV(LOW,8);
X_14:=HHV(HIGH,21);
X_15:=EMA((CLOSE-X_13)/(X_14-X_13)*4,4);
X_16:=LLV(LOW,5);
X_17:=HHV(HIGH,13);
公式在线网:=EMA((CLOSE-X_16)/(X_17-X_16),4)*4;
X_19:=LLV(LOW,3);
X_20:=HHV(HIGH,5);
X_21:=EMA((CLOSE-X_19)/(X_20-X_19),4)*4;
X_22:=X_15<=0.26;
X_23:=公式在线网<=0.26;
X_24:=X_21<=0.26;
X_25:=X_22+X_23+X_24;
X_26:=X_7+X_8+X_9+X_10+X_11+GSZX;
X_27:=X_26>1;
X_28:=X_26>2;
X_29:=X_26>4;
X_30:=X_26>5;
X_31:=IF(X_27 AND X_30,1,0);
X_32:=IF(X_28 AND X_29,1,0);
苦海:X_31>0 OR X_32>0,NODRAW,COLORBROWN;
STICKLINE(苦海>0,0,0.5,2,0),COLORBROWN;
逃离:苦海<1 AND REF(苦海,1)>0,NODRAW,COLORMAGENTA;
X_33:=(HIGH+LOW+CLOSE)/3;
X_34:=(X_33-MA(X_33,14))/(0.015*AVEDEV(X_33,14));
X_35:=SMA(X_34,3,1);
X_36:=SMA(X_35,3,1);
X_37:=3*X_35-2*X_36;
X_38:=EMA(X_37,5);
X_39:=REF(CLOSE,1);
X_40:=SMA(MAX(CLOSE-X_39,0),6,1)/SMA(ABS(CLOSE-X_39),6,1)*100;
X_41:=(X_40-50)*5;
X_42:=SMA(X_41,3,1);
X_43:=SMA(X_42,3,1);
X_44:=3*X_42-2*X_43;
X_45:=EMA(X_44,5);
X_46:=REF(X_45,1);
X_47:=X_45>X_46;
X_48:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_49:=SMA(X_48,3,1);
X_50:=(X_49-50)*5;
X_51:=SMA(X_50,3,1);
X_52:=SMA(X_51,3,1);
X_53:=3*X_51-2*X_52;
X_54:=EMA(X_53,5);
X_55:=X_47 AND NOT(REF(X_47,1)) AND (X_45<(-100) AND X_54<(-100)) AND X_38<(-100);
摸底:IF(X_55,1.7,0),COLORGREEN,LINETHICK2;
长线动力:X_15,COLORCYAN;
中线动力:公式在线网,COLORYELLOW;
短线动力:X_21,COLORRED;