首页 > > 详细

通达信股海星辰价投黄金共振搭档套装指标 主副图 源码附图



DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);

X_1:=6;

X_2:=2;

X_3:=CLOSE;

X_4:=LOW;

X_5:=HIGH;

A1:EXPMEMA(SLOPE(X_3,X_1)*X_1+X_3,X_1);

A2:EXPMEMA(FORCAST(X_3,4),4);

IF(A1>=REF(A1,1),A1,DRAWNULL),COLORRED,LINETHICK2;

IF(A1<REF(A1,1),A1,DRAWNULL),COLORGREEN,LINETHICK2;

IF(A2>=REF(A2,1),A2,DRAWNULL),COLORRED,LINETHICK2;

IF(A2<REF(A2,1),A2,DRAWNULL),COLORGREEN,LINETHICK2;

X_6:=A1>REF(A1,1) OR A2>REF(A2,1);

X_7:=NOT(X_6);

STICKLINE(X_6,LOW,HIGH,0,1),COLORRED;

STICKLINE(X_6,CLOSE,OPEN,3,1),COLORRED;

STICKLINE(X_7,LOW,HIGH,0,1),COLORGREEN;

STICKLINE(X_7,CLOSE,OPEN,3,1),COLORGREEN;

X_8:=X_6 AND HHV(REF(X_6,1),1)=0;

X_9:=NOT(X_6) AND HHV(REF(X_6,1),1)=1;

DRAWICON(X_8,LOW,1);

DRAWICON(X_9,HIGH,2);

X_10:=CROSS(A1,A2);

X_11:=CROSS(A2,A1);

X_12:=12;

X_13:=26;

X_14:=9;

X_15:=EMA(X_3,X_12)-EMA(X_3,X_13);

X_16:=EMA(X_15,X_14);

X_17:=(X_15-X_16)*2;

X_18:=CROSS(X_15,X_16) OR (X_17>REF(X_17,1) AND REF(X_17,2)>REF(X_17,1));

X_19:=(X_3-LLV(X_4,9))/(HHV(X_5,9)-LLV(X_4,9))*100;

X_20:=SMA(X_19,3,1);

X_21:=SMA(X_20,3,1);

X_22:=3*X_20-2*X_21;

X_23:=CROSS(X_20,X_21) OR (X_22>REF(X_22,1) AND REF(X_22,2)>REF(X_22,1));

X_24:=REF(X_3,1);

X_25:=SMA(MAX(X_3-X_24,0),6,1)/SMA(ABS(X_3-X_24),6,1)*100;

X_26:=SMA(MAX(X_3-X_24,0),12,1)/SMA(ABS(X_3-X_24),12,1)*100;

X_27:=SMA(MAX(X_3-X_24,0),24,1)/SMA(ABS(X_3-X_24),24,1)*100;

X_28:=CROSS(X_25,X_27) OR (X_25>REF(X_25,1) AND REF(X_25,2)>REF(X_25,1));

X_29:=IF(OPEN=CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>9.8,AMOUNT,AMOUNT/((HIGH-LOW)*2-ABS(OPEN-CLOSE))*(CLOSE-LOW));

X_30:=X_29/AMOUNT*100;

X_31:=AMOUNT*X_30/10000000000;

X_32:=AMOUNT/100000000-X_31;

X_33:=X_31-X_32;

X_34:=X_33>IF(MA(X_33>0,5)*2>1.5,MA(X_33>0,5)*2,1.5);

X_35:=HHV(X_8,X_2)>0 AND HHV(X_23,X_2)>0 AND HHV(X_18,X_2)>0 AND HHV(X_28,X_2)>0 AND X_34;

X_36:=X_35 AND REF(X_35,1)=0;

DRAWICON(X_36,LOW*0.99,11);

X_37:=REF(CLOSE,1);

X_38:=SMA(MAX(CLOSE-X_37,0),5,1)/SMA(ABS(CLOSE-X_37),5,1)*100;

X_39:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);

X_40:=HIGH-REF(HIGH,1);

X_41:=REF(LOW,1)-LOW;

X_42:=SUM(IF(X_40>0 AND X_40>X_41,X_40,0),10)*100/X_39;

X_43:=SUM(IF(X_41>0 AND X_41>X_40,X_41,0),10)*100/X_39;

X_44:=MA(ABS(X_43-X_42)/(X_43+X_42)*100,5);

X_45:=X_38+X_44;

X_46:=(X_44+REF(X_44,5))/2+X_38;

X_47:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));

X_48:=SMA(SMA(CROSS(X_45+(X_38-X_47),0),3,1),3,1);

X_49:=SMA(X_48,3,1);

X_50:=CROSS(X_48,X_49) AND X_48<40;

X_51:=HHV(X_8,X_2)>0 AND HHV(X_23,X_2)>0 AND HHV(X_18,X_2)>0 AND HHV(X_28,X_2)>0 AND HHV(X_50,X_2)>0;

X_52:=X_51 AND REF(X_51,1)=0;

DRAWICON(X_52,LOW*0.95,14);
联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。