和主力机构拼赢了-精品通达信指标公式源码分享
N:=55.00 ;
N2:=13.00 ;
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
S: IF(VAR6>N,VAR6-N,0);
STICKLINE(REF(S,1)<S,S,REF(S,1),5,0),COLORYELLOW;
STICKLINE(REF(S,1)>S,S,REF(S,1),5,0),COLORFF00FF;
V1:=(2*CLOSE+HIGH+LOW)/4;
V2:=LLV(LOW,13);
V3:=HHV(HIGH,13);
V4:=EMA((V1-V2)/(V3-V2)*100,13);
V5:=EMA(0.667*REF(V4,1)+0.333*V4,2);
STICKLINE(V4>V5,V4,V5,4,1),COLORRED;
STICKLINE(V4<=V5,V4,V5,4,1),COLOR00FF00;
VARE:=30+(REF(CLOSE,1)-REF(OPEN,1))/REF(OPEN,1)*100/1.5;
VARF:=30+(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)*100/1.5;
VAR10:=CROSS("KDJ.K"(9,3,3),"KDJ.J"(9,3,3)) AND "KDJ.D"(9,3,3)>N2;
VAR11:=CROSS(REF("KDJ.K"(9,3,3),1),REF("KDJ.J"(9,3,3),1)) AND REF("KDJ.D"(9,3,3),1)>N2;
VAR12:=CROSS(REF("KDJ.K"(9,3,3),2),REF("KDJ.J"(9,3,3),2)) AND REF("KDJ.D"(9,3,3),2)>N2;
VAR13:=VAR10 OR VAR11 OR VAR12;
VAR14:=REF("BIAS.BIAS2"(6,12,24),1)>2;
VAR15:=REF("RSI.RSI1"(6,12,24),1)>(VARE+VARF)/1.8 AND REF("ROC.ROC"(12,6),1)-"ROC.ROC"(12,6)>0 AND VAR13 AND VAR14;
卖出:=VAR15*100/15,COLOR00FF00;
STICKLINE(卖出,80,78,6,0),COLOR00FF00;
VAR16:=3;
VAR17:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));
股价启动在即:IF(CROSS(VAR17,VAR16),100,0),COLORYELLOW;
秘密买点:IF((VAR17 <= 3),25,0),COLORFF00FF;
机构建增补仓:IF((VAR17 < 5),45,0),COLOR00FF00;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
VAR18:=PEAKBARS(3,15,1)<10;
VAR20:=IF(VAR18=1,2,0);
顶:= IF(VAR20=2,2,0);
顶A:IF(顶>REF(顶,1),50,0),COLORRED;
DRAWTEXT(顶A=50,45,'快逃'),COLOR00FF00;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!