DDE金指--大智慧L2有DDE金指,通达信有,难道飞狐就没有?
DRAWTEXTEX(CLOSE,1,0,0,STKLABEL+' '+STKNAME+''),colorFFFF;
DDX:="DDX.DDX";
Y:=SYSPARAM(1);
持股线:=EMA(CLOSE,26);
PARTLINE(MA(CLOSE,3)>持股线,持股线),LINETHICK2,colorFF00FF;
PARTLINE(MA(CLOSE,3)<持股线,持股线),LINETHICK2,colorFFFF00;
WW1:=FILTER(OPEN<REF(LOW,1) AND CLOSE>OPEN AND VOL>REF(VOL,1),13);
LC:=REF(CLOSE,1);
JH:=(SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1))*100;
SZ:=FILTER(CROSS(JH,40) AND CROSS("DDX.DDX1","DDX.DDX3"),13);
SQ:=FILTER(CROSS(70,JH) AND "DDX.DDX"<0 AND CROSS("DDX.DDX2","DDX.DDX1"),74);
SX:=FILTER(CROSS(JH,30) AND CROSS("DDX.DDX1","DDX.DDX2"),7);
SD:=FILTER(CROSS(60,JH) AND CROSS("DDX.DDX3","DDX.DDX1"),22);
AA:=IF(CAPITAL<1,SZ,SX);
BB:=IF(CAPITAL<1,SQ,SD);
W10:=BARSLAST(AA);
W11:=BARSLAST(BB);
W12:=IF(W10>0 AND W10<W11,W10,0);
W13:=IF(W11>0 AND W11<W10,W11,0);
VERTLINE(AA),LINEDOT,colorFF;
VERTLINE(BB),LINEDOT,colorFB00;
CC:=REF(HHV(CLOSE,120),1);
DD:=REF(LLV(CLOSE,120),1);
WW:=100*(CLOSE-DD)/(CC-DD);
EE:=AMOUNT;
FF:=EMA(EE,5)/REF(EMA(EE,5),5);
霸占:=FILTER(FF>=2 AND WW<35 AND BARSCOUNT(CLOSE)>30 OR FF>=2 AND WW<100 AND BARSCOUNT(CLOSE)<50,90);
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),color22FF;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,1,0),color22FF;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5,0),color66FF;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),color99FF;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.5,0),colorDDFF;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),colorDDFF;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,8,0),colorFF2200;
STICKLINE(CLOSE<=OPEN,HIGH,LOW,1,0),colorFF2200;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,5,0),colorFF6600;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,3,0),colorFF9900;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,1.5,0),colorFFDD00;
STICKLINE(CLOSE<=OPEN,HIGH,LOW,0,0),colorFFDD00;
STICKLINE(霸占,CLOSE,OPEN,10,0),colorFF;
STICKLINE(霸占,HIGH,LOW,1,0),colorFF;
STICKLINE(WW1,CLOSE,OPEN,10,0),colorFF00FF;
STICKLINE(WW1,HIGH,LOW,1,0),colorFF00FF;
STICKLINE(AA,CLOSE,OPEN,10,0),colorFFFF;
STICKLINE(AA,HIGH,LOW,1,0),colorFFFF;
STICKLINE(BB,CLOSE,OPEN,10,0),colorFF00;
STICKLINE(BB,HIGH,LOW,1,0),colorFF00;
DRAWTEXTEX(CLOSE,1,20,100,'主力入场: '+NUMTOSTR(W12[Y],0)+' 天'),color8BB2CA;
DRAWTEXTEX(CLOSE,1,20,180,'主力回吐: '+NUMTOSTR(W13[Y],0)+' 天'),color8BB2CA;
DRAWTEXTEX(CLOSE,1,260,10,'千钧【DDE金指】红色牛股 黄s买入 粉色洗盘 绿色卖出'),colorFFFF;
|