主力抄底買賣公式、源碼[同花順公式]
相關標簽:
很直觀的抄底買賣指標,提示主力進入或大資金進入可跟隨主力進場V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主力撤: IF(V4<=0,V4,0),colorblue;主力進: IF(V4>=0,V4,0),COLORFF00FF;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大盤資金進場:IF(VB>=0,VB,0),colorred;大盤資金撤走:IF(VB<=0,VB,0),colorgreen;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趨勢線: EMA(V11,3);V12:=(趨勢線-REF(趨勢線,1))/REF(趨勢線,1)*100;準備現金: STICKLINE(趨勢線<=13,0,20,5,0),COLORCC9900;AA:=(趨勢線<=13) AND FILTER((趨勢線<=13),15);DRAWTEXT (AA,30,'準備現金'),COLORCC9900;買入股票: STICKLINE(趨勢線<=13 AND V12>13,0,50,5,0),COLOR0099FF;BB:= (趨勢線<=13 AND V12>13) AND FILTER((趨勢線<=13 AND V12>13),10) ;DRAWTEXT (BB,60,'買入股票'),COLOR0099FF;賣臨界: STICKLINE(趨勢線>90 AND 趨勢線>REF(趨勢線,1),100,95,15,1),COLORFFFF00;見頂清倉:FILTER(趨勢線>90 AND 趨勢線<REF(趨勢線,1) AND 主力進<REF(主力進,1),8);DRAWTEXT( 見頂清倉,90,'逃頂'),coloryellow;CC:=(趨勢線>=90 AND V12) AND FILTER((趨勢線>=90 AND V12),10);STICKLINE(大盤資金進場 AND 趨勢線<13,0,30,10,0),colorred;STICKLINE(大盤資金撤走 AND 趨勢線>90,0,30,10,0),colorgreen;STICKLINE(主力進 AND 趨勢線<13,0,40,10,0),COLORFF00FF;STICKLINE(主力撤 AND 趨勢線>90,0,40,10,0),colorblue;VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*VAR2-2*VAR3;VAR5:=LLV(LOW,5);VAR6:=HHV(HIGH,5);VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);VAR9:=3*VAR7-2*VAR8;VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VARB:=POW(MA(LOW,5),2)+MA(LOW,5);VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;VARE:=SMA(VARD,3,1)*1.5-100;VARF:=SMA(VARE,3,1);VAR10:=3*VARE-2*VARF;VAR11:=(HIGH+LOW+CLOSE*2)/4;VAR12:=EMA(VAR11,13);VAR13:=STD(VAR11,13);VAR14:=(VAR11-VAR12)*100/VAR13;VAR15:=EMA(VAR14,5);VAR17:=EMA(VAR15,13)+200-100;VAR18:=EMA(VAR17,10);VAR19:=3*VAR17-2*VAR18;VAR1A:=VAR2+VAR7+VARE+VAR17;VAR1B:=VAR3+VAR8+VARF+VAR18;VAR1C:=VAR4+VAR9+VAR10+VAR19;VAR1D:=(HIGH+LOW+CLOSE)/3;VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;VAR23:=EMA(VAR22,24);VAR24:=STD(VAR22,24);VAR25:=(VAR22-VAR23)/VAR24*100;VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));VAR27:=EMA(VAR25,5);VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2;VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;VAR2D:=EMA(VAR2C,7);VAR2E:=(VAR2A+VAR2C)/2/1.1;超短:EMA(VAR2E,3),colorred ;短線:EMA(超短,5),colorwhite;趨勢線:EMA((VAR2B+VAR2D)/2,2) ,coloryellow;DRAWICON(CROSS(趨勢線,0),0,1);DRAWICON(CROSS(100,超短),100,2);DRAWTEXT(趨勢線>REF(趨勢線,1)AND REF(趨勢線,1)<REF(趨勢線,2)AND COUNT(CROSS(超短,短線),3)=1 AND 短線<30,短線,'看底');
TIPTEXT(ISNULL(REFX(&CLOSE,1)),0,' www.kzuj.com.cn '),colorred;
TIPTEXT(ISNULL(REF(CLOSE,1)),0,'同花順程序化交易');
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 1145508240 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容