以下是同花顺绝密操盘指标公式
适用于月线分析,自己看,挺好的一个指标,,,,,,
A:MA(CLOSE,3),CulorFF00FF,LINETHICK0;
A1:=(CLOSE+HIGH+LOW)/(3);
B:=EMA(A1,10);
B2:=REF(B,1);
MA20:=EMA(CLOSE,20);
DRAWTEXT((B>B2),ma20,’*’),Culorffff00;
DRAWTEXT((B<B2),ma20,’*’),coloryellow;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,8);
MA5:MA(CLOSE,5),coloryellow;
MA21:=EMA(CLOSE,21);
STICKLINE(VAR1<MA21,H,L,0,0),colorgreen;
STICKLINE(VAR1<MA21,C,O,8,0),Culor007700;
STICKLINE(VAR1<MA21,C,O,7,0),Culor008E00;
STICKLINE(VAR1<MA21,C,O,6,0),Culor009900;
STICKLINE(VAR1<MA21,C,O,5,0),Culor00A600;
STICKLINE(VAR1<MA21,C,O,4,0),Culor00B500;
STICKLINE(VAR1<MA21,C,O,3,0),Culor00C600;
STICKLINE(VAR1<MA21,C,O,2,0),Culor00D500;
STICKLINE(VAR1<MA21,C,O,1,0),Culor00E600;
STICKLINE(VAR1>MA21,H,L,0,0),Culor106fff;
STICKLINE(VAR1>MA21,C,O,8,0),Culor000084;
STICKLINE(VAR1>MA21,C,O,7,0),Culor000095;
STICKLINE(VAR1>MA21,C,O,6,0),Culor0000A2;
STICKLINE(VAR1>MA21,C,O,5,0),Culor0000B3;
STICKLINE(VAR1>MA21,C,O,4,0),Culor0000C8;
STICKLINE(VAR1>MA21,C,O,3,0),Culor0000D7;
STICKLINE(VAR1>MA21,C,O,2,0),Culor0000EA;
STICKLINE(VAR1>MA21,C,O,1,0),Culor0000FF;
STICKLINE(VAR1<VAR2 AND VAR1>MA21,H,L,0,0),Culorff5d10;
STICKLINE(VAR1<VAR2 AND VAR1>MA21,C,O,8,0),Culorff5d10;
STICKLINE(VAR1<VAR2 AND VAR1>MA21,C,O,5,0),Culorff7710;
STICKLINE(VAR1<VAR2 AND VAR1>MA21,C,O,2,0),Culorff9910;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,H,L,0,0),Culorff00ff;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,8,0),Culor8E008E;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,7,0),Culor9D009D;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,6,0),CulorB000B0;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,5,0),CulorC600C6;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,4,0),CulorD000D0;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,3,0),CulorE600E6;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,2,0),CulorF900F9;
STICKLINE(VAR1>VAR2 AND VAR1<MA21,C,O,1,0),CulorFF09FF;
MA2:=MA(CLOSE,10);
MA34:=MA(CLOSE,34);
VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
K:=SMA(VARF,3,1);
顶:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (K>79);
DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND
(K>79),H*1.02,’风险’),coloryellow;
评论(0)