真正无敌-精品通达信指标公式源码分享
天:0,COLORRED,POINTDOT;地:130,COLORRED,POINTDOT;
WFVAR51:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
WFVAR61:=SMA(WFVAR51,5,1);
WFVAR71:=SMA(WFVAR61,8,1);
WFVAR81:=(CROSS(WFVAR61,WFVAR71) AND (WFVAR71 < 10));
WFVAR91:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND WFVAR81);
WFVARA121:=IF((CLOSE > 1000),WFVAR81,WFVAR91);
逃遁:=WFVARA121;
STICKLINE(逃遁,130,0,0.1,0.1),COLORFF00FF;
DRAWTEXT(逃遁,130,'逃'),COLORRED;
VAR11:=REF(CLOSE,1);
VAR12:=(SMA(MAX(CLOSE-VAR11,0),17,1))/(SMA(ABS(CLOSE-VAR11),17,1))*100;
减仓:=CROSS(79,VAR12);
STICKLINE(减仓,130,0,0.1,0.1),COLORFF00FF;
DRAWTEXT(减仓,120,'减'),COLORYELLOW;
EMA13:=EMA(C,13);
EMA34:=EMA(C,34);
EMA55:=EMA(C,55);
GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );
GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);
GR4:=H=HHV(H,GR1);
GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);
GR6:=GR2 AND GR3 AND GR4;
GR7:=GR2 AND GR3 AND GR4 AND GR5;
见好:=GR6 AND GR7;
STICKLINE(见好,130,0,0.1,0.1),COLORFF00FF;
DRAWTEXT(见好,110,'见'),COLORRED;
YM:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
YZ1M:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;
YZ2M:=REF(C,1)>REF(O,1) AND O>MA(C,11);
独秀:=YZ1M AND YZ2M AND YM>10;
STICKLINE(独秀,130,0,0.1,0.1),COLORFF00FF;
DRAWTEXT(独秀,100,'独'),COLORYELLOW;
M1:=SUM((EMA((CLOSE + LOW)/(2),2))/(2.98),3);M2:=EMA(M1,21);
VAR1J:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) - EMA((CLOSE + LOW)/(2),3) - ((CLOSE + LOW)/(2))*(0.1);
VAR2J:=IF(((EMA((CLOSE + LOW)/(2),3) - VAR1J)*(5) > 0),(POW((EMA((CLOSE + LOW)/(2),3) - VAR1J)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) - VAR1J)*(5),2)))/(10));
VAR3J:=IF((VAR2J > 0),VAR2J - 0,(-1));
绝杀:=CROSS(VAR3J,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE + LOW)/(2),8));
STICKLINE(绝杀,130,0,0.1,0.1),COLORFF00FF;
DRAWTEXT(绝杀,90,'杀'),COLORRED;
空:=EMA(C,5);
均衡:=EMA(空,5);
中轨:=HHV(MA(H,13),13);
VAR5:=FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11);
加仓:=VAR5;
STICKLINE(加仓,130,0,0.1,0.1),COLORFF00FF ;
DRAWTEXT(加仓,80,'加'),COLORYELLOW;
上:=(SMA(HIGH,21,2) * 1.05);
下轨:=(SMA(LOW,21,2) * 0.969);AA10:=MA(CLOSE,8);
追击:=FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3)*10;
STICKLINE(追击,130,0,0.1,0.1),COLORFF00FF;
DRAWTEXT(追击,70,'追'),COLORRED;
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
JCCOUNT:=COUNT(CROSS(DIFF1,DEA1),BARSLAST(DEA1>=0));
二金:=CROSS(DIFF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21);
STICKLINE(二金,130,0,0.1,0.1),COLORFF00FF;
DRAWTEXT(二金,60,'金'),COLORYELLOW;
VAR2P:=REF(LOW,1);
VAR3P:=SMA(ABS(LOW-VAR2P),3,1)/SMA(MAX(LOW-VAR2P,0),3,1)*100;
VAR4P:=EMA(IF(CLOSE*1.2,VAR3P*10,VAR3P/10),3);
VAR5P:=LLV(LOW,38);
VAR6P:=HHV(VAR4P,38);
VAR7P:=IF(LLV(LOW,90),1,0);
VAR8P:=EMA(IF(LOW<=VAR5P,(VAR4P+VAR6P*2)/2,0),3)/618*VAR7P;
趋势P:=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);
底部P:= 10;
出手:=CROSS(趋势P,底部P);
STICKLINE(出手,130,0,0.1,0.1),COLORFF00FF;
DRAWTEXT(出手,50,'手'),COLORRED;
VAR1Z1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45));
VAR2Z1:=SMA(VAR1Z1,3,1);
VAR3Z1:=SMA(VAR2Z1,3,1);
VAR4Z1:=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);
抄底:=CROSS(VAR4Z1,10) AND VAR3Z1<12;
STICKLINE(抄底,130,0,0.1,0.1),COLORFF00FF ;
DRAWTEXT(抄底,40,'抄'),COLORYELLOW;
Y1:=EMA(EMA(C,5),5);Y2:=HHV(MA(H,13),13);
VAR51:=FILTER(Y1>REF(Y1,1)AND Y2<REF(Y2,1)AND C>REF(C,1),11);
追涨:=VAR51;
STICKLINE(追涨,130,0,0.1,0.1),COLORFF00FF;
DRAWTEXT(追涨,30,'涨'),COLORRED;
赢家:=3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1);下注:=CROSS(赢家,MA(赢家,15)) AND 赢家<35;
STICKLINE(下注,130,0,0.1,0.1),COLORFF00FF;
DRAWTEXT(下注,20,'注'),COLORYELLOW;
多方趋势:=(7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1));
空方趋势:= EMA(MA(多方趋势,5),7);
金矿:=CROSS(多方趋势,空方趋势) AND 空方趋势<35;
STICKLINE(金矿,130,0,0.1,0.1),COLORFF00FF;
DRAWTEXT(金矿,10,'矿'),COLORRED;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!