飞狐理想超短副图指标
源码
N1:=13;
DRAWGBK(CLOSE
A1:=EMA((2*CLOSE+HIGH+LOW)/4,N1);
A2:=EMA(A1,2);
A3:=EMA(A2,2);
A4:=EMA(A3,2);
A5:=EMA(A4,2);
A6:=EMA(A5,2);
A7:=EMA(A6,2);
A8:=EMA(A7,2);
A9:=EMA(A8,2);
A10:=EMA(A9,2);
A11:=EMA(A10,2);
A12:=EMA(A11,2);
A13:=EMA(A12,2);
A14:=EMA(A13,2);
A15:=EMA(A14,2);
FILLRGN(A1>A15,A1,A15),LINETHICK3,colorFF;
STICKLINE(A1>A15,A1,A15,1,0),POINTDOT,LINETHICK1,colorFF0000;
下线1:HHV(FORCAST(CLOSE,10),18),colorE66878;
下线2:HHV(FORCAST(CLOSE,10),14),colorF0F000;
下线3:HHV(FORCAST(CLOSE,10),10),colorFFFF;
下线4:HHV(FORCAST(CLOSE,10),6),colorFF00;
上线:FORCAST(CLOSE,10),LINETHICK1,colorFF;
X1:=REF(HIGH,1)-REF(HIGH,2)>=REF(HIGH,1)*1.03;
X2:=CLOSE/OPEN>1.05 AND CLOSE-REF(CLOSE,1)>=X1;
X3:=X2+REF(CLOSE,1);
DRAWTEXT(X2 AND X3,HIGH+0.09,'∨'),colorFF00;
LC:=REF(CLOSE,1);
RSI:=(SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1))*100;
DRAWICON(CROSS(RSI,11),LOW*0.99,10),ALIGN1;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.1,0),colorFF;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.1,0),colorFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0),LINETHICK2,color5050FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0),color5050FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.6,0),color5F5FFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),color5F5FFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0),color6C6CFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0),color6C6CFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0),color7E7EFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0),color7E7EFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.3,0),color9D9DFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0),color9D9DFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),colorAFAFFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0),colorAFAFFF;
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,3,0),color9900;
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
A11:=MA(WINNER(CLOSE),9)*100;
B11:=CROSS(A11,1.8);
D11:=B11>0;
DRAWTEXT(D11,LOW-0.1,'┻'),colorFFFF;
LC:=REF(CLOSE,1);
RSI:=(SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1))*100;
E1:=CROSS(83,RSI);
DRAWTEXT(E1,HIGH+0.15,'Ⅹ'),colorFFAAFF;