【通达信免费源码】短逃拐点指标 副图 波段 无未来函数
I:=ma(BArslAst(HIGH=HHV(HIGH,16))*IF(CLOSE<OPEN,vol,1),3);
R:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE>OPEN,VOL,1),4);
短线逃顶:=IF(I,0,1),COLORGREEN;
DRAWICON(短线逃顶,98,8);
VAR1K:=ema(C,12)-EMA(C,20);
VAR2K:=EMA(VAR1K,9);
牛魔王A:=(OPEN<=MA(CLOSE,5) AND OPEN<=MA(CLOSE,10) AND OPEN<=MA(CLOSE,30) AND CLOSE>=MA(CLOSE,5) AND CLOSE>=((SUM(CLOSEVOL100,28)/SUM(VOL100,28))100)/100 AND (VAR2K-REF(VAR2K,1))>0 AND (VAR1K-REF(VAR1K,1))>0);
DRAWICON(牛魔王A,98,6);
易股:=(VAR1K>VAR2K AND REF(VAR1K,1)<=REF(VAR2K,1) AND VAR1K<0 AND VAR2K<-0.2 AND (-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100)>45 AND (VAR2K-REF(VAR2K,1))>0);
DRAWICON(易股,90,4);
VAR2J:=LLV(LOW,10);
VAR3J:=HHV(HIGH,25);
{警戒线:= 2.8*VAR1J;
减仓线:= 3.2*VAR1J;
动力线:=EMA((CLOSE-VAR2J)/(VAR3JO-VAR2J)*4,4);
DRAWICON(crOSS(动力线,警戒线),99,5);}
VAZ4:=(CLOSE-LLV(CLOSE,126))/(HHV(CLOSE,126)-LLV(CLOSE,126))*100;
VAZ24:=VAZ4=0;
STICKLINE(VAZ24>0,-3,-9,1,2), ,COLORRED,LINETHICK3 ;
VAZ25:=VAZ4=100;
STICKLINE(VAZ25>0,101,105,1,2), ,COLORGREEN,LINETHICK2;
{N: dma(AMOUNT/VOL/100,VOL/CAPITAL)/CLOSE;}{N日平均:EMA(成本比,N);}
睡猫: IF(C<MA(EMA(CLOSE,34)*0.82,5) AND CLOSE/DMA(AMOUNT/VOL/100,VOL/CAPITAL)<0.64{下轴成本为0.64},30,0)LINETHICK2,COLORFFFF00;
南极: ((((MA(CLOSE,5))-CLOSE)/CLOSE>3/100) AND (((MA(CLOSE,10))-(MA(CLOSE,5)))/(MA(CLOSE,5))>0.03) AND (LLV(CLOSE,30)=LLV(CLOSE,120)))*40,LINETHICK2,COLOR33FFCC;
VAR9A:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);
VAR9B:=SUMBARS(VOL,CAPITAL);
VAR9C:=IF(CLOSE>LLV(CLOSE,VAR9B),1,-1);
VAR9D:=IF(VAR9A>LLV(VAR9A,VAR9B),1,-1);
VAR9E:=VAR9C*VAR9D;
VAR9F:=IF(VAR9E=-1,1,0);
YJFH: (VAR9F AND CLOSE=LLV(CLOSE,120))*48,COLOR3300CC, LINETHICK1,STICK,COLORRED;
VARP3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARP4:=SMA(VARP3,3,1);
VARP5:=SMA(VARP4,3,1);
VARP6:=3VARP4-2VARP5;
VARP7:=SMA(CLOSE/HHV(HIGH,120),3,1)*100;
VARP9:=VARP7>REF(VARP7,20) AND VARP7>75 AND FILTER(VARP7/REF(LLV(LOW,20),10)>1.18,20);
VARPC:=SMA(MAX(CLOSE-(REF(CLOSE,1)),0),6,1)/SMA(Abs(CLOSE-(REF(CLOSE,1))),6,1)*100;
DRAWTEXT(VARP7<68 AND BARSLAST(CROSS(68,VARP7))>2 AND VARP5<30 AND CROSS(VARP6,VARP5),-5,'★'),COLORYELLOW;
VARI1:=(CLOSE+HIGH+LOW+OPEN)/4;
VARI8:=MA(VARI1,34);
VARI9:=(VARI1-VARI8)/VARI8*10;
VARIB:=0.6*VOL/WINNER(CLOSE) ;
牛魔王: IF(VARIB>=1000000 AND VARI9<-1.618,70,0), , COLORYELLOW;
DRAWICON(VARIB>=1000000 AND VARI9<-1.618,70,0) ;
VA1:=REF(CLOSE,1);
VA2:=SMA(MAX(CLOSE-VA1,0),7,1)/SMA(ABS(CLOSE-VA1),7,1)*100;
VA3:=SMA(MAX(CLOSE-VA1,0),13,1)/SMA(ABS(CLOSE-VA1),13,1)*100;
VA4:=BARSCOUNT(CLOSE);
VA6:=VA2<20 AND VA3<25 AND VA4>50;
DHSZ: (VA6)*70,LINETHICK2,COLORFF9933;
J:=(REF(C,1)+REF(C,2)+REF(C,3)+REF(C,4)+REF(C,5))/5;
J1:=J<COST(10) AND C/J>1.025 AND (HHV(C,5)-LLV(C,5))/LLV(C,5)*100>7 ;
J2:= J1 AND REF(C,5)/REF(C,1)>1.003 AND MA(INDEXC,3)>=REF(MA(INDEXC,3),1);
地瓜: (FILTER(J2,10))*28,LINETHICK2,COLOR99CCCC;
VAR3:=REF(HIGH,1)*1.1;
VAR4:=HIGH*1.1;
VAR5:=(VAR4VOL+VAR3(CAPITAL-VOL))/CAPITAL;
VAR6:=REF(LOW,1)*0.9;
VAR7:=LOW*0.9;
VAR8:=(VAR7VOL+VAR6(CAPITAL-VOL))/CAPITAL;
VAR9:=EMA(VAR8,30);
VARA:=EMA(VAR5,30);
VARB:=VARA-2;
VARC:=IF(CLOSE<=VAR9,VARB,VARA);
VARD:=MA(CLOSE,80)-MA(CLOSE,10)/17;
{出手:}STICKLINE(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)100,MA((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)100,2)),80,0,3,0),LINETHICK3,COLORCC6699 , ;
{赢:}DRAWTEXT(FILTER(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)100,MA((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)100,2)),4),78,'★-赢'), ,COLORRED ;
买入: IF(CROSS((4SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))100,5,1)-
3SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))100,5,1),3,1)),(8)),58,0),STICK,COLOR0099FF,LINETHICK6;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARFVOL+VARE(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
STICKLINE(VAR20,0,95,5,0),LINETHICK2,COLORRED,;
VAT3:=REF(CLOSE,1);
VAT4:=SMA(MAX(CLOSE-VAT3,0),6,1)/SMA(ABS(CLOSE-VAT3),6,1)*100;
我卖: (CROSS(80,VAT4))*82,STICK,LINETHICK6,COLOR9900CC ;
快逃: IF(CROSS((3SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100,5,1)-2SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100,5,1),3,1)),90),60,0),STICK,LINETHICK4,COLORGREEN;
VARO2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VARO3:=SMA(SMA(VARO2,3,1),3,1);
VARO4:=EMA(VARO3,5);
VARO5:=LLV(LOW,26);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)4,4)25;
STICKLINE(CROSS(VARO4,10) AND VARO4>10,25,0,8,0),COLORYELLOW,;
建仓区: IF((VARO7<10),80,100), ,LINETHICK2 COLOR00CCFF;
派发区: IF((VARO7>90),20,0), , LINETHICK2 COLOR6699FF;
VAY3:=(CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100;
VAYA:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
DRAWTEXT(CROSS(((CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100),(EMA(VAY3,18))) AND CLOSE<VAYA,HIGH+82,'★←-买卖信号成功率为80-95%')COLORYELLOW;
天马行空线:=MA(COST(85),5);
训马线:=MA(COST(15),5);
黑马线:=MA(COST(50),5);
天马踏地线:=MA(COST(1),7);
牵马绳:=EMA(CLOSE,3);
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!