飞狐超级节气九头副图指标
源码
Var1:=MA(CLOSE,5);
Var2:=MA(CLOSE,10);
Var3:=MA(CLOSE,20);
Var4:=MA(CLOSE,30);
Var5:=(Var1+Var2+Var3+Var4)/4;
Var6:=(Var5-REF(Var5,15))/REF(Var5,15)*100;
Var7:=(Var5-REF(Var5,15))/REF(Var5,15)*100;
Var8:=EMA(Var6,8);
=红色持股=: STICKLINE(Var6>1*REF(Var6,1),Var6,Var8,5,0);
=绿色持币=: STICKLINE(Var6<1*REF(Var6,1),Var6,Var8,5,1);
Var9:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)*100;
VarA:=(Var9>1*REF(Var9,1) AND Var9<-26 AND Var9>-40)*1.5;
VarB:=VOL/CAPITAL*100;
VarC:=LLVBARS(LOW,50);
VarD:=SUM(VOL,VarC);
VarE:=HHVBARS(HIGH,50);
VarF:=SUM(VOL,VarE);
Var10:=(CLOSE-REF(OPEN,VarE))/REF(OPEN,VarE)*100;
Var11:=VarF/CAPITAL*100;
Var12:=(CLOSE-REF(OPEN,VarC))/REF(OPEN,VarC)*100;
Var13:=VarD/CAPITAL*100;
Var14:=MA(CLOSE,3);
Var15:=REF(CLOSE,2)*0.865;
Var16:=REF(CLOSE,13)*0.772;
Var17:=MIN(Var15,Var16);
Var18:=MA(CLOSE,13);
Var19:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
Var1A:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
Var1B:=EMA(Var1A,9);
Var1C:=2*(Var1A-Var1B);
☆出手必赢☆: IF((CLOSE-Var17)/CLOSE<0.03 AND Var10<-35 AND SUM(VarB,5)/5<1.8,1,0)*10;
DRAWTEXT( ☆出手必赢☆, ☆出手必赢☆,'☆ ');
DRAWTEXT(Var1A<-50 AND Var19>7 AND Var1A<Var1B,-15,'短期见底');
DRAWTEXT(Var1A<-50 AND Var19>7 AND Var1A>=Var1B,Var6,'短线出击');
a:=LSOLARTERM(date);
DRAWTEXT(a=1,0,'●小寒'),colorblue;
DRAWTEXT(a=2,0,'●大寒'),colorblue;
DRAWTEXT(a=3,0,'●立春'),colorblue;
DRAWTEXT(a=4,0,'●雨水'),colorblue;
DRAWTEXT(a=5,0,'●惊蛰'),colorblue;
DRAWTEXT(a=6,0,'●春分'),colorblue;
DRAWTEXT(a=7,0,'●清明'),colorblue;
DRAWTEXT(a=8,0,'●谷雨'),colorblue;
DRAWTEXT(a=9,0,'●立夏'),colorblue;
DRAWTEXT(a=10,0,'●小满'),colorblue;
DRAWTEXT(a=11,0,'●芒种'),colorblue;
DRAWTEXT(a=12,0,'●夏至'),colorblue;
DRAWTEXT(a=13,0,'●小暑'),colorblue;
DRAWTEXT(a=14,0,'●大暑'),colorblue;
DRAWTEXT(a=15,0,'●立秋'),colorblue;
DRAWTEXT(a=16,0,'●处暑'),colorblue;
DRAWTEXT(a=17,0,'●白露'),colorblue;
DRAWTEXT(a=18,0,'●秋分'),colorblue;
DRAWTEXT(a=19,0,'●寒露'),colorblue;
DRAWTEXT(a=20,0,'●霜降'),colorblue;
DRAWTEXT(a=21,0,'●立冬'),colorblue;
DRAWTEXT(a=22,0,'●小雪'),colorblue;
DRAWTEXT(a=23,0,'●大雪'),colorblue;
DRAWTEXT(a=24,0,'●冬至'),colorblue;