用过就知道 疯牛初现 通达信副图指标 源码 贴图
用过就知道 疯牛初现 通达信副图指标 源码 贴图
疯牛初现: 副图
VAR1:=MA((HIGH+LOW+2*CLOSE)/4,5);
VAR2:=EMA(VAR1,10)-EMA(VAR1,30);
VAR3:=EMA(VAR2,5);
VAR4:=(VAR2-VAR3)*5;
VAR5:=IF(VAR4<=VAR1,VAR1,VAR4);
VAR6:=FORCAST(FORCAST(VAR5,10),10);
趋势:IF(VAR5>VAR6,VAR5,VAR1),COLORYELLOW;
强势:MA(VAR1,5),COLORRED;
VAR7:=MA(HHV(VAR1,10),5);
主力:SMA(CLOSE,10,1),COLORCYAN;
疯牛:DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL),COLORRED,LINETHICK2;
年线:DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,250),VOL),POINTDOT,COLOR30CC00,LINETHICK2;
VAR8:=EMA(CLOSE,5);
VAR9:=EMA(CLOSE,10);
VAR10:=EMA(CLOSE,20);
VAR11:=EMA(CLOSE,30);
VAR12:=EMA(CLOSE,60);
VAR13:=EMA(CLOSE,90);
VAR14:=EMA(CLOSE,125);
VAR15:=EMA(CLOSE,250);
VAR16:=1.809*LLV(LOW,250);
VAR17:=MA(CLOSE,10)-EMA(CLOSE,10)*100;
VAR18:=MA(VAR17,5);
VAR19:=3*(VAR18-VAR17);
VAR20:=((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*200-100)/2-REF(CLOSE,5);
VAR21:=SMA(SMA(VAR20,5,1),5,1);
VAR22:=MA(MA(VAR21,5),5);
VAR23:=3*VAR22-5*VAR21;
VAR24:=EMA(VAR23,10);
VAR25:=MA(CLOSE,20)/MA(CLOSE,20)-REF(CLOSE,20)/CLOSE*100;
VAR26:=DMA(SMA(EMA(VAR25,5),5,1),VOL/REF(VOL,5));
VAR27:=SMA(EMA(VAR25,10),5,1);
VAR28:=(-100)*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
VAR29:=(-100)*(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8));
VAR30:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);
VAR31:=HIGH-REF(HIGH,1);
VAR32:=REF(LOW,1)-LOW;
VAR33:=SMA(IF(VAR31>0 AND VAR31>VAR32,VAR31,0),14,1);
VAR34:=SMA(IF(VAR32>0 AND VAR32>VAR31,VAR32,0),14,1);
VAR35:=VAR33*100/VAR30;
VAR36:=VAR34*100/VAR30;
VAR37:=SMA(ABS(VAR36-VAR35)/(VAR36+VAR35)*100,14,1);
VAR38:=(VAR37+REF(VAR37,6))/2;
DRAWTEXT(CROSS(VAR19,50) AND VAR8>VAR9 AND VAR9>VAR10 AND VAR10>VAR11 AND VAR11>VAR12 AND VAR12>VAR13 AND VAR13>VAR14 AND VAR14>VAR15 AND 疯牛>VAR15 AND VAR25>VAR26 AND VAR26>VAR27 AND VAR27>(-100) AND VAR28>(-20) AND VAR29>(-20) AND (-30)>VAR24 AND VAR24>VAR23 AND VAR35>VAR37 AND VAR37>VAR38 AND VAR38>VAR36,年线,61),COLORYELLOW;
DRAWTEXT(CROSS(VAR19,200) AND VAR8>VAR9 AND VAR9>VAR10 AND VAR10>VAR11 AND VAR11>VAR12 AND VAR12>VAR13 AND VAR13>VAR14 AND VAR14>VAR15 AND VAR15>年线 AND 年线>VAR16 AND VAR25>VAR26 AND VAR26>VAR27 AND VAR27>(-100) AND VAR28>(-20) AND VAR29>(-20) AND VAR35>VAR37 AND VAR37>VAR38 AND VAR38>VAR36,年线,62),COLORYELLOW;