大智慧幻城趋势源码副图
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,21);
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,14);
VAR3:=REF(VAR2,1);
STICKLINE((VAR2>VAR3),CLOSE,OPEN,8,0),COLOR000033;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,7,0),COLOR000055;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,6,0),COLOR000077;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,5,0),COLOR000099;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,4,0),COLOR0000BB;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,2,0),COLOR0000DD;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,0.05,0),COLOR0000FF;
STICKLINE((VAR2>VAR3),LOW,HIGH,0.0,0),COLORRED;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,8,0),COLORBB3300;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,7,0),COLORFF5500;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,6,0),COLORFF7700;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,5,0),COLORFF9900;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,4,0),COLORFFBB00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,2,0),COLORFFDD00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,0.05,0),COLORFFFF00;
STICKLINE((VAR3>VAR2),LOW,HIGH,0.0,0),COLORCYAN;
STICKLINE((OPEN>CLOSE),CLOSE,OPEN,0,0),COLORCYAN;
STICKLINE((OPEN<CLOSE),CLOSE,OPEN,0,0),COLORRED;
C4:=CROSS(VAR2,VAR3);
C5:=CROSS(VAR3,VAR2);
DRAWTEXT(C4,LOW-0.3,'买'),COLORRED;
DRAWTEXT(C5,HIGH+0.3,'卖'),COLORGREEN;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1),'小心变盘'),COLORYELLOW;
RSI:="RSI.RSI1";
DRAWTEXT(CROSS(83,RSI),H*1,' 注意'),COLORYELLOW;
MA1:EMA(CLOSE,5);
MA2:EMA(CLOSE,21);
PARTLINE(MA1,MA1>MA2,RGB(255,0,0),MA1<MA2,RGB(255,255,0)),LINETHICK3;
DRAWICON(CROSS(MA1,MA2),MA1,7);
DRAWICON(CROSS(MA2,MA1),MA1,8);
- 上一篇公式:动向指标 掌握主力动向
- 下一篇公式:资金拐点 红色方框出现买入