【通达信免费源码】强龙趋势波段指标主图 波段 无未来函数 操盘控盘
VAR1:=IF(DATE<2342.459961*500,1,DRAWNULL);
主趋势线:EMA(EMA(CLOSE,10),10),COLORRED,LINETHICK3;
VAR2:=IF(DATETODAY(DATE)<9881,1,DRAWNULL);
VAR3:=主趋势线>REF(主趋势线,1);
IF(VAR3-1,主趋势线,DRAWNULL),COLORGREEN,LINETHICK3;
VAR4:=EMA(CLOSE,5)>EMA(CLOSE,20);
VAR5:=EMA(CLOSE,5)<EMA(CLOSE,20);
VAR6:=EMA(CLOSE,5)>EMA(CLOSE,10);
VAR7:=EMA(CLOSE,5)<EMA(CLOSE,10);
VAR8:=CLOSE<OPEN;
STICKLINE(VAR4,HIGH,LOW,0,0),COLORRED;
STICKLINE(VAR4,OPEN,CLOSE,3,1),COLORRED;
STICKLINE(VAR4 AND VAR8,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(VAR5,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(VAR5,OPEN,CLOSE,3,1),COLORGREEN;
STICKLINE(VAR5 AND VAR8,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(VAR5 AND VAR6,HIGH,LOW,0,1),COLORWHITE;
STICKLINE(VAR5 AND VAR6,OPEN,CLOSE,3,1),COLORWHITE;
STICKLINE(VAR5 AND VAR6 AND VAR8,OPEN,CLOSE,3,0),COLORWHITE;
STICKLINE(VAR4 AND VAR7,HIGH,LOW,0,0),COLORWHITE;
STICKLINE(VAR4 AND VAR7,OPEN,CLOSE,3,1),COLORWHITE;
STICKLINE(VAR4 AND VAR7 AND VAR8,OPEN,CLOSE,3,0),COLORWHITE;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!