楊子軒頂底指標公式公式[同花順公式]
相關標簽:同花順頂底指標 、 同花順趨勢頂底指標 、 同花順頂底主圖指標 、 同花順極品底指標公式 、 同花順大底指標公式 、 同花順鐵底2指標公式 、 同花順指標公式大全 、 同花順主圖指標公式 、 同花順指標公式源碼 、 同花順指標公式交流網 、
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/211;D2:=EMA(D1,2);D3:=EMA(D2,2);K1:=EMA(D3,2);VAR3:=PEAKBARS(3,5,1)<10;VAR5:=IF(VAR3=1,2,0);頂:= IF(VAR5=2,2,0);頂A:IF(頂>REF(頂,1),50,0),colorgreen, LINETHICK2;DRAWTEXT(頂A=50,45,''),COLOR00FF00;Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;Var2:=LLV(LOW,34);Var3:=HHV(HIGH,34);VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;Q3:=SMA(Q2, 9, 1);Q4:=SMA(Q3, 3, 1);VAR3:=PEAKBARS(3,5,1)<10;VAR5:=IF(VAR3=1,2,0);頂:= IF(VAR5=2,2,0);頂A:IF(頂>REF(頂,1),50,0),colorgreen, LINETHICK2;DRAWTEXT(頂A=50,45,''),COLOR00FF00;Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;Var2:=LLV(LOW,34);Var3:=HHV(HIGH,34);VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;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;V6:=CLOSE/REF(CLOSE,3)>=1.1;V7:=BACKSET(V6,3);買:IF((V7 AND COUNT(V7,3)=1),50,0),colormagenta,LINETHICK1;V10:=PEAKBARS(3,15,1)<10; V12:=IF(V10=1,50,0);頭部:= IF(V12=50,100,0);賣:IF(頭部>REF(頭部,1),50,0),colorgreen,LINETHICK3;V9:=TROUGHBARS(3,15,1)<10; V11:=IF(V9=1,50,0);底部:= IF(V11=50,50,0);買:IF( 底部>REF(底部,1),50,0),colorred,LINETHICK3;V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);B:=ZIG(3,50/5)*1;G:=MA(B,2);D:=CROSS(B,G)*10;W:=CROSS(G,B)*10;RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;a=SMA(RSV,3,1);b=SMA(a,3,1);e=3*a-2*b;;K:a;D:b;J:e;DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1))AND J<20,20,"buy");DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10))AND J>80,80,"sell");搜索關鍵詞:=LLV(LOW,3)<=LLV(LOW,60);jiebisheng:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));介必升:IF(搜索關鍵詞 AND jiebisheng,50,0),coloryellow,LINETHICK2;{"均線系統";}N1:=5;N2:=10;N3:=20;N4:=30;EMA7:=EMA(C,7);BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;強勢區:80,colorgray;強弱分界:50,colorred;弱勢區:20,colorgray;V6:=CLOSE/REF(CLOSE,3)>=1.1;V7:=BACKSET(V6,3);買:IF((V7 AND COUNT(V7,3)=1),50,0),colormagenta,LINETHICK1;V10:=PEAKBARS(3,15,1)<10; V12:=IF(V10=1,50,0);頭部:= IF(V12=50,100,0);賣:IF(頭部>REF(頭部,1),50,0),colorgreen,LINETHICK3;V9:=TROUGHBARS(3,15,1)<10; V11:=IF(V9=1,50,0);底部:= IF(V11=50,50,0);買:IF( 底部>REF(底部,1),50,0),colorred,LINETHICK3;V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);B:=ZIG(3,50/5)*1;G:=MA(B,2);D:=CROSS(B,G)*10;W:=CROSS(G,B)*10;RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;a=SMA(RSV,3,1);b=SMA(a,3,1);e=3*a-2*b;;DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1))AND J<20,20,"buy");DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10))AND J>80,80,"sell");{"均線系統";}N1:=5;N2:=10;N3:=20;N4:=30;EMA7:=EMA(C,7);BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;強勢區:80,colorgray;強弱分界:50,colorred;弱勢區:20,colorgray;N:=9;6;M1:=3;M2:=3;P:=9;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1);D:=SMA(K,M2,1);JJ:=P*(3*D-2*K);J:=((3 * K) - (2 * D));MAIRU:= CROSS(K,D) AND K<20;MAICHU:= CROSS(D,K) AND D>80;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,13);VAR6:=HHV(VAR4,13);VAR7:=IF(MA(CLOSE,34),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=IF(VAR8>100,100,VAR8);吸籌:VAR9,LINETHICK2,COLORF00FF0;STICKLINE(VAR9>-120,0,VAR9,3,1),COLORF00FF0;
TIPTEXT(ISNULL(REFX(&CLOSE,1)),0,' www.kzuj.com.cn '),colorred;
TIPTEXT(ISNULL(REF(CLOSE,1)),0,'同花順程序化交易');
公式導入教程: 【通達信公式源碼導入方法教程】 【同花順公式源碼導入方法教程】 【大智慧新一代公式源碼導入方法教程】
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 1145508240 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容