通达信猎庄喜悲指标(源码)
阶段卖出线:3.1, COLORWHITE;
卖出线:3.5,COLORMAGENTA;
动力:EMA((CLOSE-LLV(L,10))/(HHV(H,25)-LLV(L,10))*4,4),COLORGREEN;
VAR1:=(CLOSE-MA(C,6))/MA(C,6)*100;
VAR2:=(CLOSE-MA(C,12))/MA(C,12)*100;
VAR3:=(CLOSE-MA(C,24))/MA(C,24)*100;
VAR4:=(VAR1+2*VAR2+3*VAR3)/6;
VAR5:=MA(VAR4,3);
VAR6:=(CLOSE-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
VAR7:=SMA(VAR6,3,1);
VAR8:=SMA(VAR7,3,1);
VAR9:=3*VAR7-2*VAR8;
关注:IF(CROSS(VAR9,VAR8) AND COUNT(VAR5<-9,2)>=1,1,0),COLORCYAN;
VARA:=REF(L,1)*0.9;
VARB:=LOW*0.9;
VARC:=(VARB*VOL+VARA*(CAPITAL-VOL))/CAPITAL;
VARD:=EMA(VARC,30);
VARE:=CLOSE-REF(C,1);
VARF:=MAX(VARE,0);
VAR10:=ABS(VARE);
VAR11:=SMA(VARF,7,1)/SMA(VAR10,7,1)*100;
VAR12:=SMA(VARF,13,1)/SMA(VAR10,13,1)*100;
VAR13:=SMA(MAX(VARE,0),6,1)/SMA(ABS(VARE),6,1)*100;
VAR14:=-200*(HHV(H,60)-CLOSE)/(HHV(H,60)-LLV(L,60))+100;
VAR15:=(CLOSE-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
VAR16:=SMA((SMA(VAR15,4,1)-50)*2,3,1);
VAR17:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR18:=SMA(VAR17,4,1);
VAR19:=SMA(VAR18,3,1);
VAR1A:=(HHV(H,30)-CLOSE)/CLOSE*100;
VAR1B:=VAR13<=25 AND VAR14<-95 AND VAR1A>20 AND VAR16<-30 AND VAR19<30 AND (VARD-CLOSE)>=-0.25 AND VAR11<22 AND VAR12<28;
↑导弹:STICKLINE(VAR1B,0.1,1.5,2,0),COLORRED;
VAR1D:=SMA(V,5,1);
VAR1E:=(VAR1D-LLV(VAR1D,10))/(HHV(VAR1D,10)-LLV(VAR1D,10))*100;
VAR1F:=SMA(VAR1E,3,1);
VAR20:=100-VAR1F;
VAR21:=REF(VAR20,1)>REF(VAR20,2) AND VAR20<34;
VAR22:=CLOSE-LLV(L,34)/(HHV(H,34)-LLV(L,34))*100;
VAR23:=FILTER(VAR21,3);
VAR24:=SMA(VAR22,3,1);
走:STICKLINE(VAR23 AND VAR24>60,3.5,0,0,0),COLORMAGENTA;
VAR25:=CROSS(MA(INDEXV,31),MA(INDEXV,2));
VAR26:=LLV(INDEXL,60);
VAR27:=IF(INDEXC>VAR26*1.15,VAR25,0);
大盘顶:STICKLINE(VAR27>0.2,3.75,3.6,50,0),COLORRED;
VAR28:=CROSS(MA(INDEXV,14),MA(INDEXV,51));
VAR29:=HHV(INDEXH,125);
VAR2A:=IF(INDEXC< VAR29,VAR28,0);
VAR2B:=(INDEXC-REF(INDEXC,26))/REF(INDEXC,26)*100;
大盘底:STICKLINE(VAR2B<-9.5 AND VAR2A>0.2,0.3,0,50,0),COLORGREEN;
STICKLINE(CLOSE>(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,0,0,10,0),COLORRED;
DRAWICON(VAR23 AND VAR24>60,0.5,6),COLORMAGENTA;
DRAWICON(动力>阶段卖出线,阶段卖出线,5);
- 上一篇公式:通达信猎庄趋势主图指标(源码)
- 下一篇公式:通达信彩色双量指标(源码)