相關標簽:
很實用的魔鬼通道
指標,信號提示,可以關注,作為參考,與大家分享
日線鎖定:=IFF(PERIOD==4,1,0);
僅限日線使用:IFF(日線鎖定==0,CLOSE,DRAWNULL),NODRAW;
N:=20;
M:=32;
P1:=80;
P2:=100;
VAR1:=(C+H+O+L)/4;
魔鬼賣出:IFF(日線鎖定,XMA(VAR1,N)*(1+P1/1000),DRAWNULL),COLORGREEN,LINETHICK3;
魔鬼買入:IFF(日線鎖定,XMA(VAR1,M)*(1-P2/1000),DRAWNULL),COLORRED,LINETHICK3;
幅度:IFF(日線鎖定,100*(魔鬼賣出-魔鬼買入)/魔鬼買入,DRAWNULL),NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(日線鎖定 AND 魔鬼賣出>LOW AND 魔鬼賣出<HIGH,魔鬼賣出,MAX(魔鬼賣出,MAX(OPEN,CLOSE)),8,0),COLORGREEN;
STICKLINE(日線鎖定 AND 魔鬼賣出>MIN(C,O) AND 魔鬼賣出<MAX(C,O),魔鬼賣出,MAX(OPEN,CLOSE),8,0),COLORGREEN;
STICKLINE(日線鎖定 AND 魔鬼賣出>LOW AND 魔鬼賣出<HIGH,魔鬼賣出,HIGH,0,0),COLORGREEN;
STICKLINE(日線鎖定 AND 魔鬼賣出<LOW,OPEN,CLOSE,8,0),COLORGREEN;
STICKLINE(日線鎖定 AND 魔鬼賣出<LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(日線鎖定 AND 魔鬼買入>LOW AND 魔鬼買入<HIGH,魔鬼買入,MIN(MIN(OPEN,CLOSE),魔鬼買入),8,0),COLORYELLOW;
STICKLINE(日線鎖定 AND 魔鬼買入>MIN(C,O) AND 魔鬼買入<MAX(C,O),魔鬼買入,MIN(OPEN,CLOSE),8,0),COLORYELLOW;
STICKLINE(日線鎖定 AND 魔鬼買入>LOW AND 魔鬼買入<HIGH,魔鬼買入,LOW,0,0),COLORYELLOW;
STICKLINE(日線鎖定 AND 魔鬼買入>HIGH,OPEN,CLOSE,8,0),COLORYELLOW;
STICKLINE(日線鎖定 AND 魔鬼買入>HIGH,HIGH,LOW,0,0),COLORYELLOW;
DRAWICON(日線鎖定 AND (CROSS(C,魔鬼買入) OR (L<魔鬼買入)),LOW,1);
DRAWICON(日線鎖定 AND (CROSS(C,魔鬼賣出) OR (H>魔鬼賣出)),HIGH+(HIGH-low)/2,2);DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'
程序化交易模型'),COLORRED;