以下是通达信沿途打劫副图源码
通达信沿途打劫副图源码
山还是山:SMA(C,125,1),COLORYELLOW;
B1:=MA(C,1);
B2:SMA(SMA(SMA(B1,2,1),2,1),2,1),COLORRED;
SMA2:MA(B2,2);
箱顶:HHV(MA(B2,2),58),COLOR00AAFF;
10:=EMA(CLOSE,10);
25:EMA(CLOSE,25),COLORWHITE;
40:EMA(CLOSE,40),COLOR00AA00;
80:EMA(CLOSE,80),COLORFFFF00;
125:SMA(C,125,1),COLORYELLOW;
VAR1:=(100 – ((90 * (HHV(HIGH,21) – CLOSE)) / (HHV(HIGH,21) – LLV(LOW,21))));
VAR3:=(100 – MA(((100 * (HHV(HIGH,6) – CLOSE)) / (HHV(HIGH,6) – LLV(LOW,6))),34));
分水岭:SMA(MA(C,5),430,1),COLORB48F33,LINETHICK2;
买:DRAWTEXT(CROSS(VAR1,VAR3) AND B2>SMA2,(LOW * 0.97),’←⊙买’),COLORRED;
DRAWTEXT(CROSS(C,10) AND VAR3>1 AND B2>SMA2,L*0.99,’←※’),COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(C,25) AND VAR3>1 AND B2>SMA2,L*0.99,’←◇’),COLORGREEN,LINETHICK2;
DRAWTEXT(CROSS(C,40) AND VAR3>1 AND B2>SMA2,L*0.99,’←□’),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(C,80) AND VAR3>1 AND B2>SMA2,L*0.99,’←○’),COLORCCFF66,LINETHICK2;
DRAWTEXT(CROSS(C,125) AND VAR1>1,L*0.99,’←△’),COLORYELLOW,LINETHICK2;DIFF:=EMA(CLOSE,12) – EMA(CLOSE,26);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
在犹豫中上扬:0,COLORYELLOW;
在无奈中叹息:STICKLINE(DIFF>EMA(DIFF,4) AND DIFF>REF(DIFF,1) ,-0.3 ,0 ,8 ,0 ),COLORRED;
在清醒时套牢:STICKLINE(DIFF>EMA(DIFF,4) AND DIFF<REF(DIFF,1) ,-0.3 ,0 ,8 ,0 ),COLORWHITE;
STICKLINE(DIFF<EMA(DIFF,4) AND DIFF>REF(DIFF,1) ,-0.3 ,0 ,8 ,0 ),COLORYELLOW;
在憧憬中毁灭:STICKLINE(DIFF<EMA(DIFF,4) AND DIFF<REF(DIFF,1) ,-0.3 ,0 ,8 ,1 ),COLORFFBB44;
STICKLINE(K>EMA(K,4) AND K>REF(K,1) ,-0.3 ,0 ,8 ,0 ),COLORRED;
STICKLINE(K>EMA(K,4) AND K<REF(K,1) ,0.1 ,0 ,8 ,1 ),COLORWHITE;
STICKLINE(K<EMA(K,4) AND K>REF(K,1) ,0.2 ,0 ,8 ,0 ),COLORYELLOW;
备钱:(K<EMA(K,4) AND K>REF(K,1));
评论(0)