飞狐买进卖出主图指标
源码
N1:=5;N2:=10;N3:=20;
STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa; STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb; STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc; STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;
STICKLINE(close>open,close,open,9,0 ),COLOr6666cc; STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd; STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee; STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff; STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff; STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc; STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc; MA1: MA(CLOSE,5); MA2: MA(CLOSE,13); MA3: MA(CLOSE,34); MA4: MA(CLOSE,60); SW1: (EMA(CLOSE,N1)*7+EMA(CLOSE,N2)*3)/10; SW2: DMA(EMA(CLOSE,N3),SUM(VOL/CAPITAL,5)/3); Var1:=REF(CLOSE,1); Var2:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100; DRAWTEXT(DATE>700101 AND CROSS(84,Var2),HIGH,'卖出'); Var3:=(2*CLOSE+HIGH+LOW)/4; Var4:=LLV(LOW,34); Var5:=HHV(HIGH,34); Var6:=EMA((Var3-Var4)/(Var5-Var4)*100,6); Var7:=EMA(0.667*REF(Var6,1)+0.333*Var6,4); Var8:=LLV(LOW,120); Var9:=HHV(HIGH,120); VarA:=Var9-Var8; DRAWTEXT(IF(COUNT(CLOSE0.3 AND COUNT(Var6>Var7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),LOW,'买进'),coloryellow;
移动端首页 | PC端
© by Gszb.com Mobile Web
飞狐买进卖出主图指标
源码
N1:=5;N2:=10;N3:=20;
STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc;
STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;
STICKLINE(close>open,close,open,9,0 ),COLOr6666cc;
STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;
MA1: MA(CLOSE,5);
MA2: MA(CLOSE,13);
MA3: MA(CLOSE,34);
MA4: MA(CLOSE,60);
SW1: (EMA(CLOSE,N1)*7+EMA(CLOSE,N2)*3)/10;
SW2: DMA(EMA(CLOSE,N3),SUM(VOL/CAPITAL,5)/3);
Var1:=REF(CLOSE,1);
Var2:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;
DRAWTEXT(DATE>700101 AND CROSS(84,Var2),HIGH,'卖出');
Var3:=(2*CLOSE+HIGH+LOW)/4;
Var4:=LLV(LOW,34);
Var5:=HHV(HIGH,34);
Var6:=EMA((Var3-Var4)/(Var5-Var4)*100,6);
Var7:=EMA(0.667*REF(Var6,1)+0.333*Var6,4);
Var8:=LLV(LOW,120);
Var9:=HHV(HIGH,120);
VarA:=Var9-Var8;
DRAWTEXT(IF(COUNT(CLOSE0.3 AND COUNT(Var6>Var7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),LOW,'买进'),coloryellow;