小股民買觀注一圖定乾坤公式源碼[通達信公式]
相關標簽:
原理解析:
源碼:
M:=60;M1:=10;N:=30;N1:=10;小股民線: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORGREEN,LINETHICK2;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=3*K-2*D;主力線:EMA(J,6),COLORRED,LINETHICK2;VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=IF(VAR8>100,100,VAR8);吸籌:STICKLINE(VAR9>-120,0,VAR9,2,5),COLORMAGENTA;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走勢:CEILING(SMA(AA5,13,8)),COLORFF00FF;AA6:=SMA(AA3,21,8);買觀注: STICKLINE(走勢-AA6<-65,0,7,15,1);DRAWICON(FILTER(J>REF(J,1)AND 走勢>=REF(走勢,1)AND 走勢<25 ,5),走勢,3);賣觀注: STICKLINE(走勢-AA6>85,98,90,15,1),COLORFFFF00;DRAWICON(FILTER(J<REF(J,1)AND 走勢<=REF(走勢,1)AND J>85 ,5),J,6);金叉: CROSS(主力線,小股民線);DRAWTEXT(金叉,主力線,''),COLORRED;死叉: CROSS(小股民線,主力線);DRAWTEXT(死叉,小股民線,'☆'),COLOR00F300;主力資金指數: EMA(100*(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1)),M1);博弈線: 80;DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容