通达信金准打牛主图源码
金准打牛主图源码
VAR1:=CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH;
VAR2:=REF(CLOSE,1)/REF(CLOSE,2)<=0.96 OR REF(OPEN,1)/REF(CLOSE,1)>=1.05;
VAR3:=HIGH/REF(CLOSE,1)>1.041 AND CLOSE>REF(CLOSE,1);
VAR4:=VAR2 AND VAR3;
VAR5:=REF(CLOSE,2)/REF(CLOSE,3)<1.099;
VAR6:=VAR4 AND VAR5;
VAR7:=COUNT(REF(VAR1,3),8) AND VAR6;
DRAWICON(VAR7,LOW*0.98,24);
DRAWTEXT(VAR7,LOW*0.95,227),COLORYELLOW;
VAR8:=OPEN>REF(HIGH,1) AND CLOSE<OPEN AND HIGH=OPEN;
VAR9:=VOL=HHV(VOL,30);
VAR10:=VAR8 AND VAR9;
VAR11:=BARSLAST(VAR10);
VAR12:=BETWEEN(VAR11,3,380);
VAR13:=LOW<REF(HIGH,VAR11) AND HIGH>REF(HIGH,VAR11);
VAR14:=COUNT(VAR13,VAR11)=1;
VAR15:=REF(HIGH,VAR11)/LOW<1.099;
VAR16:=VAR12 AND VAR13 AND VAR14 AND VAR15;
DRAWICON(VAR16,LOW*0.98,24);
DRAWTEXT(VAR16,LOW*0.95,228),COLORWHITE;
VAR17:=HIGH/MAX(CLOSE,OPEN)>1.03 AND LOW>REF(MAX(CLOSE,OPEN),1) AND LOW=MIN(OPEN,CLOSE) AND HIGH-MAX(CLOSE,OPEN)>MAX(OPEN,CLOSE)-MIN(OPEN,CLOSE) AND REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND CLOSE>OPEN;
VAR18:=VOL=HHV(VOL,30);
VAR19:=VAR17 AND VAR18;
VAR20:=BARSLAST(VAR19);
VAR21:=BETWEEN(VAR20,3,380);
VAR22:=LOW<REF(HIGH,VAR20) AND HIGH>REF(HIGH,VAR20);
VAR23:=COUNT(VAR22,VAR20)=1;
VAR24:=REF(HIGH,VAR20)/LOW<1.099 AND REF(CLOSE,1)<REF(HIGH,VAR20);
VAR25:=VAR21 AND VAR22 AND VAR23 AND VAR24;
DRAWICON(VAR25,LOW*0.98,11);
DRAWTEXT(VAR25,LOW*0.96,229),COLORWHITE;
VAR26:=STRCAT(HYBLOCK,71);
VAR27:=STRCAT(VAR26,DYBLOCK);
VAR28:=STRCAT(VAR27,71);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(VAR28,GNBLOCK)),COLORRED;
VAR29:=EMA(CLOSE,1);
VAR30:=EMA(CLOSE,21);
VAR31:=VAR29-VAR30;
VAR32:=MA(VAR31,3);
VAR33:=VAR31>=VAR32 AND VAR31>=REF(VAR31,1);
VAR34:=(HIGH+LOW+CLOSE)/3;
VAR35:=(VAR34-MA(VAR34,23))/(0.015*AVEDEV(VAR34,23));
VAR36:=VAR35>=(-50) AND VAR35>=REF(VAR35,1);
VAR37:=VOL>=REF(VOL,1);
VAR38:=VAR33 AND VAR36 AND VAR37;
VAR39:=HIGH>REF(HHV(HIGH,45),1) AND CLOSE>HIGH-0.2*(HIGH-LOW);
VAR40:=HIGH-LOW>REF(HHV(HIGH-LOW,9),1);
VAR41:=MA(CLOSE,10)>EMA(CLOSE,20) AND EMA(CLOSE,20)>EMA(CLOSE,30) AND REF(LOW,1)<REF(LOW,2) AND REF(HIGH,1)<REF(HIGH,2) AND CLOSE>=REF(HIGH,1)+0.05 AND VAR38;
STICKLINE(VAR41,OPEN,CLOSE,0.9,0),COLORWHITE;
DRAWTEXT(VAR41,LOW-0.1,230),COLORWHITE;
VAR42:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR43:=SMA(VAR42,3,1);
VAR44:=SMA(VAR43,3,1);
VAR45:=MA(CLOSE,5);
VAR46:=MA(CLOSE,10);
VAR47:=MA(CLOSE,30);
VAR48:=ATAN((VAR45/REF(VAR45,1)-1)*100)*180/3.1416;
VAR49:=SMA(EMA((VAR45-REF(VAR45,1))/REF(VAR45,1),3)*100,3,1);
VAR50:=EMA(VAR49-REF(VAR49,1),3);
VAR51:=(CLOSE-VAR47)/VAR47*100;
VAR52:=FILTER(COUNT(CROSS(VAR48,30),5)>=1 AND VAR45>REF(VAR45,1) AND VAR51>REF(VAR51,1) AND VAR46>REF(VAR46,1) AND VAR50>REF(VAR50,1) AND VAR49>REF(VAR49,1),10) AND CROSS(VAR43,VAR44);
DRAWTEXT(VAR52,LOW*0.973,231),COLORMAGENTA;
VAR53:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR54:=SMA(VAR53,3,1);
VAR55:=SMA(VAR54,3,1);
VAR56:=3*VAR54-2*VAR55;
VAR57:=CLOSE-REF(CLOSE,1);
VAR58:=100*EMA(EMA(VAR57,6),6)/EMA(EMA(ABS(VAR57),6),6);
VAR59:=LLV(VAR58,2)=LLV(VAR58,7) AND COUNT(VAR58<0,2) AND CROSS(VAR58,MA(VAR58,2));
DRAWTEXT(FILTER(VAR59=1,5),LOW-0.05,29),COLORYELLOW;
STICKLINE(VAR59,OPEN,CLOSE,2,0),COLORYELLOW;
- 上一篇公式:多空对比精准买点公式
- 下一篇公式:神奇CCI找主升抓主升浪指标,绝无未来函数(含精品指标、源码、选股条件){