东风导弹幅图源码
主力: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2;
见底信号:=10, LINETHICK2,COLORRED ;
{买入时机1: IF(CROSS(主力,见底信号),100,10),LINETHICK2,COLORYELLOW;}
追涨: 50,POINTDOT;
VAR10:CROSS(主力,见底信号);
STICKLINE(VAR10,37, 39, 4.4,0),COLORYELLOW;
STICKLINE(VAR10,33, 37, 5,0),COLORYELLOW;
STICKLINE(VAR10,28, 33, 6,0),COLORYELLOW;
STICKLINE(VAR10,10, 28, 7,0),COLORYELLOW;
STICKLINE(VAR10,98, 100, 0.5,0),COLORYELLOW;
STICKLINE(VAR10,96, 98, 1.5,0),COLORYELLOW;
STICKLINE(VAR10,93, 96, 3,0),COLORYELLOW;
STICKLINE(VAR10,89, 93, 4,0),COLORYELLOW;
STICKLINE(VAR10,75, 89, 5,0),COLORYELLOW;
STICKLINE(VAR10,8, 75, 4,0),COLORYELLOW;
{火焰}
STICKLINE(VAR10,9, 5, 5,0),COLOR0000FF;
STICKLINE(VAR10,5, 0, 4,0),COLOR0000FF;
STICKLINE(VAR10,-5, 0, 3,0),COLOR0000FF;
STICKLINE(VAR10,-10, -5, 2,0),COLOR0000FF;
STICKLINE(VAR10,-10, -15, 1,0),COLOR0000FF;
STICKLINE(VAR10,-15, -20, 0.5,0),COLOR0000FF;
STICKLINE(VAR10,8, 5, 2,0),COLOR00FFFF;
STICKLINE(VAR10,5, 0, 1,0),COLOR00FFFF;
STICKLINE(VAR10,-5, 0, 0.25,0),COLOR00FFFF;
{字体及五星红旗}
STICKLINE(VAR10,85, 80, 3,0),COLOR0000FF;
{DRAWTEXT(VAR10,83,''),COLORYELLOW;}
STICKLINE(VAR10,67, 69, 1,0),COLORYELLOW;
STICKLINE(VAR10,59, 61, 1,0),COLORYELLOW;
STICKLINE(VAR10,51, 53, 1,0),COLORYELLOW;
STICKLINE(VAR10,43, 45, 1,0),COLORYELLOW;
{钢圈}
STICKLINE(VAR10,89, 89, 4,0),COLORFF0000;
STICKLINE(VAR10,75, 75, 4,0),COLORFF0000;
STICKLINE(VAR10,39, 39, 4,0),COLORFF0000;
STICKLINE(VAR10,10, 10, 6,0),COLORFF0000;
DRAWTEXT(VAR10,65, '东'),COLORFF0000;
DRAWTEXT(VAR10,50, '风'),COLORFF0000;
DRAWTEXT(VAR10,30, '导'),COLORFF0000;
DRAWTEXT(VAR10,17, '弹'),COLORFF0000;
东风发射幅图
X_1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_2:=SMA(X_1,3,1);
X_3:=SMA(X_2,3,1);
X_4:=3*X_2-2*X_3;
X_5:=LLV(X_4,2)=LLV(X_4,8);
小钢炮:CROSS(X_4,3),STICK,COLORYELLOW;
DRAWTEXT(小钢炮,20,3),COLORYELLOW;
STICKLINE(小钢炮,30,0,4,0),COLORLIMAGENTA;
STICKLINE(小钢炮,60,0,0.05,0),COLORYELLOW;
DRAWICON(小钢炮>0,58,38);
DRAWICON(小钢炮>0,59,38);
DRAWICON(小钢炮>0,60,38);
DRAWICON(小钢炮>0,61,38);
X_6:=REF(LOW,1);
X_7:=SMA(ABS(LOW-X_6),5,1)/SMA(MAX(LOW-X_6,0),5,1)*100;
X_8:=EMA(IF(CLOSE*1.3,X_7*10,X_7/20),3);
X_9:=LLV(LOW,30);
X_10:=HHV(X_8,30);
X_11:=IF(MA(CLOSE,58),1,0);
X_12:=EMA(IF(LOW<=X_9,(X_8+X_10*2)/2,0),3)/618*X_11;
X_13:=IF(X_12>28,28,X_12);
X_14:=STICKLINE(X_13>(-100),0,X_13,3,0);
X_15:=X_14;
X_16:=20;
X_17:=SMA(X_1,3,1);
X_18:=SMA(X_17,3,1);
X_19:=3*X_17-2*X_18;
X_20:=LLV(X_19,2)=LLV(X_19,8);
X_21:=(2*CLOSE+HIGH+LOW)/4;
X_22:=LLV(LOW,5);
X_23:=HHV(HIGH,5);
X_24:=EMA((X_21-X_22)/(X_23-X_22)*100,5);
X_25:=EMA(X_24,3);
X_26:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_27:=IF(X_26<=3,20,0);
X_28:=IF(X_26<5,40,0);
X_29:=IF(CROSS(X_19,3),50,0);
X_30:=REF(CLOSE,1);
X_31:=SMA(MAX(CLOSE-X_30,0),5,1)/SMA(ABS(CLOSE-X_30),5,1)*100;
X_32:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);
X_33:=HIGH-REF(HIGH,1);
X_34:=REF(LOW,1)-LOW;
X_35:=SUM(IF(X_33>0 AND X_33>X_34,X_33,0),10);
X_36:=SUM(IF(X_34>0 AND X_34>X_33,X_34,0),10);
X_37:=X_35*100/X_32;
X_38:=X_36*100/X_32;
X_39:=MA(ABS(X_38-X_37)/(X_38+X_37)*100,5);
X_40:=X_31+X_39;
X_41:=(X_39+REF(X_39,5))/2+X_31;
X_42:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
X_43:=X_31-X_42;
X_44:=X_40+X_43;
X_45:=IF(CROSS(X_44,0),1,0);
在持续制作:X_29 AND X_45;
STICKLINE(在持续制作,35,0,1,0),COLORYELLOW;
STICKLINE(在持续制作,20,1.5,8,0),COLORYELLOW;
STICKLINE(在持续制作,40,0,5,0),COLORRED;
STICKLINE(在持续制作,65,30,4,0),COLORYELLOW;
STICKLINE(在持续制作,80,22,3,0),COLORGREEN;
STICKLINE(在持续制作,85,55,2,0),COLORWHITE;
STICKLINE(在持续制作,100,67,0.01,0),COLORLIBLUE;
STICKLINE(在持续制作,67,33,0.01,0),COLORRED;
STICKLINE(在持续制作,33,1.5,0.01,0),COLORLIBLUE;
DRAWICON(在持续制作>0,96,38);
DRAWICON(在持续制作>0,98,38);
DRAWICON(在持续制作>0,100,38);
DRAWICON(在持续制作>0,102,38);
DRAWICON(在持续制作>0,104,38);
DRAWTEXT(在持续制作,80,4),COLORMAGENTA;