飞狐漓江全景图副图指标
源码
●空仓区:0,POINTDOT,COLORRED;
●持股区:0,POINTDOT,COLORGREEN;
●变盘点:0,POINTDOT,COLORYELLOW;
DRAWGBK(C>0, COLORRGB(255,255,0), COLORRGB(0,0,255),1);
A:=(3*c+l+o+h)/6;
DK:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)
+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210;
VA1:=EMA(DK,3);
VA2:=EMA(VA1,2);
LA:=VA1-VA2;
LB:=VA2-VA1;
桂林山水甲天下:-0.05,COLORGREEN,POINTDOT;
股市峰谷任逍遥:0.05,COLORFFFF00,POINTDOT;
FILLRGN(LA>LB,LA,0),COLOR339900;
FILLRGN(LA
STICKLINE(LA>LB,LB,0,1,0),COLOR559933;
STICKLINE(LA
DRAWICON(LA>LB,0,11);
DRAWICON(LA
DRAWICON(CROSS(LA,LB) OR CROSS(LB,LA),0,12);