通达信真金白银副图指标 源码 贴图
2024-03-08 10:39:00来源:本站整理浏览:1227
通达信真金白银副图指标 源码 贴图
X_1:=(CLOSE/REF(CLOSE,1)-1)*100;
X_2:=VOL*CLOSE;
X_3:=SUM(X_2,2)/SUM(VOL,2);
X_4:=EMA(X_3,10);
X_5:=IF((X_3-X_4)*20/X_3>1,(X_3-X_4)*200/X_3,0);
X_6:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20;
X_7:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20;
X_8:=16*SMA(X_6,12,1);
红柱:IF(X_8>0,IF(X_8>96,96,X_8),0),COLORRED,LINETHICK3;
X_9:=REF(CLOSE,1);{公式网WWW.GPXIAZAI.COM}
X_10:=SMA(MAX(CLOSE-X_9,0),2,1)/SMA(ABS(CLOSE-X_9),2,1)*100;
X_11:=100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2));
X_12:=X_10-X_11/10;
X_13:=X_12/10;
IF(X_13<=0 AND CLOSE/REF(CLOSE,1)<1.001,X_13=1.75,X_13=2.8);
X_14:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),2,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),2,1)*100-100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2))/10)/10*(1+(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*10);
活跃度:X_14,NODRAW;
STICKLINE(活跃度>=6 AND 红柱>0 AND 活跃度+红柱>1.5,0,活跃度,2,0),COLORMAGENTA;
STICKLINE(活跃度>=6 AND 红柱>0 AND 活跃度+红柱>1.5,0,6,2,0),COLORRED;
X_15:=VMACD.DIF-REF(VMACD.DIF,1)>0.05 AND COUNT(CLOSE/REF(CLOSE,1)>1.09,16)<2 AND CLOSE=HHV(HIGH,60) AND CLOSE/REF(CLOSE,1)>1.07 AND NOT(HIGH=LOW) AND COUNT(CLOSE>OPEN,6)<=4 AND CLOSE/REF(CLOSE,9)<1.2;
STICKLINE(X_15 AND CLOSE/REF(CLOSE,1)>1.05,0,10,2,0),COLORYELLOW;
X_16:=SMA(MAX(CLOSE-X_9,0),12,1)/SMA(ABS(CLOSE-X_9),12,1)*100;
X_17:=SMA(MAX(CLOSE-X_9,0),56,1)/SMA(ABS(CLOSE-X_9),56,1)*100;
X_18:=HHV(HIGH,30);
X_19:=LLV(LOW,30);
X_20:=REF((X_18/X_19-1)*100<=30,1);
X_21:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_22:=MA(CLOSE,3);
X_23:=MA(CLOSE,5);
X_24:=(X_22+X_23)/2;
X_25:=MA(CLOSE,30);
X_26:=X_23>=X_25 AND X_25>REF(X_25,1);
X_27:=X_24>=REF(X_24,1) AND REF(X_24,1)<REF(X_24,2);
X_28:=CLOSE>REF((OPEN-CLOSE)/2+CLOSE,2);
X_29:=CROSS(CLOSE,X_24) AND (X_27 OR X_28) AND X_26;
X_30:=活跃度>=6 AND 红柱>0 AND 活跃度+红柱>20 AND X_29 AND X_23>REF(X_23,1);
X_31:=EMA(CLOSE,6)-EMA(CLOSE,12);
X_32:=EMA(X_31,5);
X_33:=X_31-X_32;
X_34:=ABS(CLOSE-OPEN);
X_35:=VOL/((HIGH-LOW)*2-X_34);
X_36:=IF(CLOSE>OPEN,X_35*(HIGH-LOW),IF(CLOSE<OPEN,X_35*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-X_35*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-X_35*(HIGH-LOW),0-VOL/2));
X_37:=X_36/20/1.15;
X_38:=EMA(X_37*0.55+REF(X_37,1)*0.33+REF(X_37,2)*0.22,3);
X_39:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_40:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_41:=X_39<REF(X_40,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
X_42:=(HIGH+LOW+CLOSE)/3;
X_43:=(X_42-MA(X_42,14))/(0.015*AVEDEV(X_42,14));
X_44:=(X_42-MA(X_42,70))/(0.015*AVEDEV(X_42,70));
X_45:=IF(X_43>=150 AND X_43<200 AND X_44>=150 AND X_44<200,10,0);
X_46:=IF(X_43<=(-150) AND X_43>(-200) AND X_44<=(-150) AND X_44>(-200),(-10),X_45);
X_47:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
X_48:=100-ABS(X_47);
X_49:=IF(X_48<90,X_48,100);
X_50:=IF(MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20>0,MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20,0);
X_51:=IF(X_44>=200 AND X_43>=150,15,IF(X_44<=(-200) AND X_43<=(-150),(-15),X_46))+60;
X_52:=X_50>48 AND X_51>60 AND X_49<100;
STICKLINE(X_38>0 AND X_33>0,X_33/30,0,1,0),COLORMAGENTA;
STICKLINE(X_38>0 AND X_33<0,0,X_33/30,1,0),COLORGREEN;
STICKLINE(X_41 AND COUNT(X_41,30)=1,0,0.05,2,0),COLORMAGENTA;
STICKLINE(X_52 AND COUNT(X_52,30)=1,0,0.05,2,0),COLORRED;
X_53:=DBQRV.ZS*0.55+REF(DBQRV.ZS,1)*0.33+REF(DBQRV.ZS,2)*0.22;
X_54:=EMA(X_53,8);
X_55:=EMA(X_53,3);
X_56:=X_55;
X_57:=X_56>0;
X_58:=FORCAST((2*CLOSE+HIGH+LOW)/4*0.618+CLOSE*0.382,3);
X_59:=(X_58-MA(X_58,9))/MA(X_58,9)*100;
X_60:=MIN(EXIST(X_58,55),9);
X_61:=EMA(X_59,X_60)*X_60;
X_62:=MA(X_61,3);
X_63:=MA(X_61,5);
X_64:=X_63>3 AND X_61<REF(X_61,1) AND CROSS(X_62,X_61);
X_65:=FILTER(X_64,5);
DRAWICON(FILTER(X_65=1,3),40,2),COLORCYAN;
STICKLINE(FILTER(X_65=1,5),35,0,0.35,1),COLORGREEN;
强势区:80,POINTDOT,COLORRED,LINETHICK2;
强弱分水岭:50,POINTDOT,COLORYELLOW,LINETHICK3;
弱势区:20,POINTDOT,COLORGREEN,LINETHICK2;
X_2:=VOL*CLOSE;
X_3:=SUM(X_2,2)/SUM(VOL,2);
X_4:=EMA(X_3,10);
X_5:=IF((X_3-X_4)*20/X_3>1,(X_3-X_4)*200/X_3,0);
X_6:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20;
X_7:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20;
X_8:=16*SMA(X_6,12,1);
红柱:IF(X_8>0,IF(X_8>96,96,X_8),0),COLORRED,LINETHICK3;
X_9:=REF(CLOSE,1);{公式网WWW.GPXIAZAI.COM}
X_10:=SMA(MAX(CLOSE-X_9,0),2,1)/SMA(ABS(CLOSE-X_9),2,1)*100;
X_11:=100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2));
X_12:=X_10-X_11/10;
X_13:=X_12/10;
IF(X_13<=0 AND CLOSE/REF(CLOSE,1)<1.001,X_13=1.75,X_13=2.8);
X_14:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),2,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),2,1)*100-100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2))/10)/10*(1+(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*10);
活跃度:X_14,NODRAW;
STICKLINE(活跃度>=6 AND 红柱>0 AND 活跃度+红柱>1.5,0,活跃度,2,0),COLORMAGENTA;
STICKLINE(活跃度>=6 AND 红柱>0 AND 活跃度+红柱>1.5,0,6,2,0),COLORRED;
X_15:=VMACD.DIF-REF(VMACD.DIF,1)>0.05 AND COUNT(CLOSE/REF(CLOSE,1)>1.09,16)<2 AND CLOSE=HHV(HIGH,60) AND CLOSE/REF(CLOSE,1)>1.07 AND NOT(HIGH=LOW) AND COUNT(CLOSE>OPEN,6)<=4 AND CLOSE/REF(CLOSE,9)<1.2;
STICKLINE(X_15 AND CLOSE/REF(CLOSE,1)>1.05,0,10,2,0),COLORYELLOW;
X_16:=SMA(MAX(CLOSE-X_9,0),12,1)/SMA(ABS(CLOSE-X_9),12,1)*100;
X_17:=SMA(MAX(CLOSE-X_9,0),56,1)/SMA(ABS(CLOSE-X_9),56,1)*100;
X_18:=HHV(HIGH,30);
X_19:=LLV(LOW,30);
X_20:=REF((X_18/X_19-1)*100<=30,1);
X_21:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
X_22:=MA(CLOSE,3);
X_23:=MA(CLOSE,5);
X_24:=(X_22+X_23)/2;
X_25:=MA(CLOSE,30);
X_26:=X_23>=X_25 AND X_25>REF(X_25,1);
X_27:=X_24>=REF(X_24,1) AND REF(X_24,1)<REF(X_24,2);
X_28:=CLOSE>REF((OPEN-CLOSE)/2+CLOSE,2);
X_29:=CROSS(CLOSE,X_24) AND (X_27 OR X_28) AND X_26;
X_30:=活跃度>=6 AND 红柱>0 AND 活跃度+红柱>20 AND X_29 AND X_23>REF(X_23,1);
X_31:=EMA(CLOSE,6)-EMA(CLOSE,12);
X_32:=EMA(X_31,5);
X_33:=X_31-X_32;
X_34:=ABS(CLOSE-OPEN);
X_35:=VOL/((HIGH-LOW)*2-X_34);
X_36:=IF(CLOSE>OPEN,X_35*(HIGH-LOW),IF(CLOSE<OPEN,X_35*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-X_35*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-X_35*(HIGH-LOW),0-VOL/2));
X_37:=X_36/20/1.15;
X_38:=EMA(X_37*0.55+REF(X_37,1)*0.33+REF(X_37,2)*0.22,3);
X_39:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_40:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
X_41:=X_39<REF(X_40,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
X_42:=(HIGH+LOW+CLOSE)/3;
X_43:=(X_42-MA(X_42,14))/(0.015*AVEDEV(X_42,14));
X_44:=(X_42-MA(X_42,70))/(0.015*AVEDEV(X_42,70));
X_45:=IF(X_43>=150 AND X_43<200 AND X_44>=150 AND X_44<200,10,0);
X_46:=IF(X_43<=(-150) AND X_43>(-200) AND X_44<=(-150) AND X_44>(-200),(-10),X_45);
X_47:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
X_48:=100-ABS(X_47);
X_49:=IF(X_48<90,X_48,100);
X_50:=IF(MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20>0,MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20,0);
X_51:=IF(X_44>=200 AND X_43>=150,15,IF(X_44<=(-200) AND X_43<=(-150),(-15),X_46))+60;
X_52:=X_50>48 AND X_51>60 AND X_49<100;
STICKLINE(X_38>0 AND X_33>0,X_33/30,0,1,0),COLORMAGENTA;
STICKLINE(X_38>0 AND X_33<0,0,X_33/30,1,0),COLORGREEN;
STICKLINE(X_41 AND COUNT(X_41,30)=1,0,0.05,2,0),COLORMAGENTA;
STICKLINE(X_52 AND COUNT(X_52,30)=1,0,0.05,2,0),COLORRED;
X_53:=DBQRV.ZS*0.55+REF(DBQRV.ZS,1)*0.33+REF(DBQRV.ZS,2)*0.22;
X_54:=EMA(X_53,8);
X_55:=EMA(X_53,3);
X_56:=X_55;
X_57:=X_56>0;
X_58:=FORCAST((2*CLOSE+HIGH+LOW)/4*0.618+CLOSE*0.382,3);
X_59:=(X_58-MA(X_58,9))/MA(X_58,9)*100;
X_60:=MIN(EXIST(X_58,55),9);
X_61:=EMA(X_59,X_60)*X_60;
X_62:=MA(X_61,3);
X_63:=MA(X_61,5);
X_64:=X_63>3 AND X_61<REF(X_61,1) AND CROSS(X_62,X_61);
X_65:=FILTER(X_64,5);
DRAWICON(FILTER(X_65=1,3),40,2),COLORCYAN;
STICKLINE(FILTER(X_65=1,5),35,0,0.35,1),COLORGREEN;
强势区:80,POINTDOT,COLORRED,LINETHICK2;
强弱分水岭:50,POINTDOT,COLORYELLOW,LINETHICK3;
弱势区:20,POINTDOT,COLORGREEN,LINETHICK2;
- 上一篇公式:通达信资金流研判副图指标 源码 贴图
- 下一篇公式:通达信抄底优化选股指标 源码 贴图