收集:中国股票市场经济分析网
[飞狐]"仙人指路"指标原码
MA1:=(LOW+HIGH+CLOSE)/3;
MA2:= MA(MA1,2);
MA3:=MA(CLOSE,15) COLORMAGENTA;
MA4:= MA(CLOSE,18);
var1:=(3*C+H+L+O)/6;
var2:=EMA(var1,10);
var3:=REF(var2,1);
var4:=(REF(HIGH,1)+REF(LOW,1))/2;
var5:=MA(CLOSE,20)+2*STD(CLOSE,20);
var6:=REF(CLOSE,1);
var7:=SMA(MAX(CLOSE-var6,0),7,1)/SMA(ABS(CLOSE-var6),7,1)*100;
var8:=CROSS(79,var7);
var9:=FILTER(var8,4);
var10:=(HIGH+LOW+CLOSE)/3;
var11:=SUM(MAX(0,HIGH-REF(var10,1)),26)/SUM(MAX(0,REF(var10,1)-LOW),26)*100;
var12:=REF(MA(var11,3),2.2);
var13:=CROSS(var12,var11) AND var11>150;
FILLRGN(MA3>MA4,MA3,MA4),ColorFF;
stickLINE(var2>var3,var3,var2,6,1),coloryellow,LINETHICK2;
stickLINE(var2<var3,var3,var2,6,1),ColorF10011,LINETHICK2;
箱顶:HHV(MA2,10)LINETHICK,coloryellow;
箱底: LLV(MA2,13)LINETHICK,colorwhite;
partline(箱顶<ref(箱顶,1) or 箱顶=ref(箱顶,1),箱顶),coloryellow;
partline(箱底>ref(箱底,1) or 箱底=ref(箱底,1),箱底),colorwhite;
三十日均价:MA(C,30),POINTDOT,coloree66ee;
二十日均价:MA(C,20),POINTDOT,colorgreen;
十日均价:MA(C,10),POINTDOT,colorred;
DRAWICON(CROSS(var4,var5),HIGH*1.035,1);
DRAWTEXT(CROSS(var4,var5),HIGH*1.02,’卖出’) , colorgreen;
DRAWICON(var9,HIGH*1.035,1);
DRAWTEXT(var9,HIGH*1.02,’卖出’) , colorgreen;
DRAWTEXT(var13,HIGH,’逃顶’),COLORwhite;