以下是通达信一带一路(指标 主图 贴图)傻瓜操盘不赢也难(无源码的请下载附件导入)
DRAWTEXT_FIX(1,0.035,0.06,0,'主题投资----------')COLOR00FF00;
DRAWTEXT_FIX(1,0.12,0.06,0,EXTERNSTR(0,1))COLOR00FF00;
AA:=(CLOSE+OPEN+HIGH+LOW)/4;
N:=6;
A1:=EMA((EMA(AA,N-1)+EMA(AA,N)+EMA(AA,N+1))/3,3);
A2:=EMA((EMA(AA,N+2)+EMA(AA,N+3)+EMA(AA,N+4))/3,3),DOTLINE ;
A3:=EMA((EMA(AA,N+5)+EMA(AA,N+6)+EMA(AA,N+8))/3,3),DOTLINE ;
A4:=EMA((EMA(AA,N+11)+EMA(AA,N+9)+EMA(AA,N+10))/3,3);
{A5:=EMA((EMA(AA,N+15)+EMA(AA,N+16)+EMA(AA,N+17))/3,3);};
IF(A1>=A2 OR A1>=A3 OR A1>=A4,A1,A1),COLORRED;
IF(A1>=A2 OR A1>=A3 OR A1>=A4,A2,A2),COLORRED,DOTLINE;
IF(A1>=A2 OR A1>=A3 OR A1>=A4,A3,A3),COLORRED,DOTLINE;
IF(A1>=A2 OR A1>=A3 OR A1>=A4,A4,A4),COLORRED;
IF(A1<=A2 OR A1<=A3 OR A1<=A4,A1,DRAWNULL),COLORGREEN;
IF(A1<=A2 OR A1<=A3 OR A1<=A4,A2,DRAWNULL),COLORGREEN,DOTLINE;
IF(A1<=A2 OR A1<=A3 OR A1<=A4,A3,DRAWNULL),COLORGREEN,DOTLINE;
IF(A1<=A2 OR A1<=A3 OR A1<=A4,A4,DRAWNULL),COLORGREEN;
A:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=9.8/100;
STICKLINE(A,H,L,0,0),COLORYELLOW,LINETHICK2;
STICKLINE(A AND CLOSE=OPEN AND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORYELLOW,LINETHICK1;
B:=(REF(CLOSE,1)-CLOSE)/CLOSE>=9.8/100;
STICKLINE(B,H,L,0,0),COLORGREEN,LINETHICK2;
STICKLINE(B AND CLOSE=OPEN AND HIGH=LOW AND CLOSE<REF(CLOSE,1),REF(CLOSE,1),H,0,0),COLORGREEN,LINETHICK1;
STICKLINE(B,O,C,3,0),COLOR008800;
STICKLINE(B,O,C,2,0),COLOR00AA00;
STICKLINE(B,O,C,1,0),COLOR00CC00;
STICKLINE(B,O,C,0.2,0),COLOR00FF00;
STICKLINE(A,O,C,3,0),COLOR008888;
STICKLINE(A,O,C,2,0),COLOR00AAAA;
STICKLINE(A,O,C,1,0),COLOR00CCCC;
STICKLINE(A,O,C,0.2,0),COLOR00FFFF;
{DRAWKLINE(HIGH,OPEN,LOW,CLOSE); };
838355677.jpg
|