最新游戏动态通达信公式指标源码操盘铁律主图指标


最新游戏动态通达信公式指标源码操盘铁律主图指标
文章图片
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14
*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8
*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)
+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
马线:MA(牛线,6),COLORYELLOW;
乖离率:(C-牛线)/C*100,NODRAW,COLORGREEN;
涨停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORMAGENTA;
跌停:=IF((REF(C,1)-C)/C>0.097,1,0);
STICKLINE(跌停,OPEN,CLOSE,3,0),COLORGREEN;
KP:=SMA(AMOUNT,10,1)/10000;VAR11:=REF(KP,1);VAR21:=REF(KP,2);VAR31:=REF(KP,3);
涨停复制:=C>=(牛线,牛线)AND牛线>(马线,马线)AND
乖离率>=(0,0)AND乖离率<=(4,4)ANDCOUNT(KP>VAR11,1)
ANDVAR11>VAR21ANDVAR21>VAR31AND
COUNT(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))>0.099,13)>=1;
DRAWTEXT(涨停复制,L*0.95,'涨'),COLOR00FFFF;
DRAWTEXT(涨停复制,L*0.91,'停'),COLOR00FFFF;
DRAWTEXT(涨停复制,L*0.87,'复'),COLOR00FFFF;
DRAWTEXT(涨停复制,L*0.83,'制'),COLOR00FFFF;
VAR0:=SMA(MAX(CLOSE-REF(C,1),0),12,1)/SMA(ABS(CLOSE-REF(C,1)),15,1)*100;
DRAWTEXT(CROSS(82,VAR0),H*1.04,'快卖'),COLORWHITE;
S:=C-REF(C,1);
DX:=100*EMA(EMA(S,6),6)/EMA(EMA(ABS(S),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7)ANDCOUNT(DX<0,2)ANDCROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(买=1,5),L*0.96,'拉升'),COLORFFDE00;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWICON(CROSS(DA-DB,0),L*0.98,7);
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;
DRAWICON(CROSS(84,JH),H*1.04,8);
字:=STRCAT(STRCAT(STRCAT(STRCAT('名称:',STKNAME),'代码:'),CODE),'');
板块:=STRCAT('概念板块:',GNBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,STRCAT(字,板块)),COLORYELLOW;
YC:=REF(CLOSE,1);
止损价位:=(YC*1.0035*97+0.2)/99.65;
DRAWTEXT_FIX(C!=0,0.02,0.05,0,'★=================='),COLORRED;
DRAWTEXT_FIX(C!=0,0.02,0.1,0,'操'),COLORRED;
DRAWTEXT_FIX(C!=0,0.02,0.15,0,'盘'),COLORRED;
DRAWTEXT_FIX(C!=0,0.02,0.2,0,'铁'),COLORRED;
DRAWTEXT_FIX(C!=0,0.02,0.25,0,'律'),COLORRED;
DRAWTEXT_FIX(C!=0,0.02,0.3,0,'★=================='),COLORRED;
DRAWTEXT_FIX(C!=0,0.04,0.1,0,'买入条件E13CCI'),COLORYELLOW;
DRAWTEXT_FIX(C!=0,0.04,0.15,0,'买入条件2:30以后'),COLORYELLOW;
DRAWTEXT_FIX(C!=0,0.04,0.2,0,STRCAT('止损价位',STRCAT(CON2STR(止损价位,2),'元'))),COLORYELLOW;
DRAWTEXT_FIX(C!=0,0.04,0.25,0,'线上:工作线下:休息'),COLORYELLOW;
E:=(HIGH+LOW+OPEN+2*CLOSE)/5;
明日阻力:=2*E-LOW;
明日支撑:=2*E-HIGH;
明日突破:=E+(HIGH-LOW);
明日反转:=E-(HIGH-LOW);
今日阻力:=REF(明日阻力,1);
今日支撑:=REF(明日支撑,1);
DRAWTEXT_FIX(C!=0,0.2,0.05,0,STRCAT('今日阻力:',STRCAT(CON2STR(今日阻力,2),'元'))),COLORFFFF00;
DRAWTEXT_FIX(C!=0,0.2,0.1,0,STRCAT('今日支撑:',STRCAT(CON2STR(今日支撑,2),'元'))),COLORRED;