指标公式第887篇:资金流突破

资金流突破主图

MA5:MA(C,5)DOTLINE;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
章鱼大哥1:=MACD>0;
章鱼大哥:=BARSLASTCOUNT(买线>=卖线 AND 章鱼大哥1)=1;
DRAWICON(章鱼大哥 ,L,9);
DRAWTEXT(章鱼大哥 ,LOW*0.98,' ★资金流入'),LINETHICK1,COLORYELLOW;
STICKLINE(买线>=卖线 AND 章鱼大哥1 ,LOW,HIGH,0.1,0),COLORRED;
STICKLINE(买线>=卖线 AND 章鱼大哥1,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(买线< 卖线,CLOSE,OPEN,3,0),COLORFFF000;
STICKLINE(买线< 卖线,LOW,HIGH,0.1,0),COLORFFF000;
ZYG1:=REF(HIGH,4)=HHV(HIGH,2*4+1);
ZYG2:=FILTER(ZYG1,3);
ZYG3:=BACKSET(ZYG2,3+1);
D1:=FILTER(ZYG3,3);
A2:=REF(LOW,3)=LLV(LOW,2*3+1);
V2:=FILTER(A2,3);
C2:=BACKSET(V2,3+1);
D2:=FILTER(C2,3);
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
E2:=(HIGH+LOW)/2;
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;
H2:=D1 AND NOT(D2 AND E1>=E2);
L1:=D2 AND NOT(D1 AND E1=E2);
X1:=REF(BARSLAST(H1),1)+1;
DRAWTEXT_FIX(CURRBARSCOUNT=60,0.4,0.01,0,''),COLORGREEN;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW; 
F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));
G1:=F1>REF(F1,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);
L2:=LD OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));
G2:=F2>REF(F2,1);
I2:=BACKSET(G2,2);
HD:=I2>REF(I2,1);
章鱼小哥2:=BACKSET(ISLASTBAR=1,BARSLAST(HD)+1);
章鱼哥2:=章鱼小哥2>REF(章鱼小哥2,1);
章鱼2:=BACKSET(章鱼哥2,REF(BARSLAST(HD),1)+2);章2:=章鱼2>REF(章鱼2,1);
突破线:REF(H,BARSLAST(章鱼哥2));
持仓线:REF(H,BARSLAST(章2));
章鱼Q:=CROSS(C,突破线);章鱼O:=CROSS(C,持仓线);
DRAWICON(章鱼Q OR 章鱼O ,L*0.96,13);STICKLINE(章鱼Q OR 章鱼O,H,L,0,0),COLORYELLOW;STICKLINE(章鱼Q OR 章鱼O,C,O,2,0),COLORYELLOW;
STICKLINE(章鱼Q OR 章鱼O,C,O,2,0),COLORYELLOW;
STICKLINE(章鱼Q OR 章鱼O,C,O,1,0),COLORYELLOW;

资金流突破副图

买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
章鱼大哥1:=MACD>0;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW; 
章鱼大哥:=BARSLASTCOUNT(买线>=卖线 AND 章鱼大哥1)=1;
STICKLINE(章鱼大哥,0,6,2,0),COLORRED;
DRAWICON(章鱼大哥 ,6,9);
DRAWTEXT(章鱼大哥 ,5.8,' ★开始流入'),LINETHICK1,COLORYELLOW;

资金流突破选股

买线:=EMA(C,2); 
卖线:=EMA(SLOPE(C,21)*20+C,42); 
BU:=CROSS(买线,卖线); 
SEL:=CROSS(卖线,买线); 
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); 
DEA:=EMA(DIF,9); 
QXSB:=NOT(CODELIKE('4')); 
QKCB:=NOT(CODELIKE('688')); 
QST:=IF(NAMELIKE('S'),0,1); 
QXX:=IF(NAMELIKE('*'),0,1); 
QBJ:=NOT(CODELIKE('8')); 
DD:=QXSB AND QST AND QKCB AND QXX AND QBJ; 
MACD:=(DIF-DEA)*2; 
章鱼大哥1:=MACD>0; 
章鱼大哥:BARSLASTCOUNT(买线>=卖线 AND 章鱼大哥1)=1 AND DD;

Comments

No comments yet. Why don’t you start the discussion?

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注