王向辉
发表于 2012-2-15 17:48
小小小骨民
发表于 2020-8-7 14:01
福海制:0,NODRAW,COLORCYAN;
趋势线:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORYELLOW;
动态市盈率:CLOSE/FINANCE(33),NODRAW,COLORWHITE;
X_1:=AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20));
量能饱和度:IF(X_1>1,1,X_1)*100,NODRAW,COLORRED;
X_2:=CLOSE/REF(CLOSE,1)>1.02;
X_3:=VOL>MA(VOL,5);
X_4:=X_2 AND X_3;
X_5:=IF(X_4,70,0);
X_6:=X_5;
X_7:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_8:=IF(CLOSE>OPEN,X_7*(HIGH-LOW),IF(CLOSE
X_9:=X_8/VOL*100;
X_10:=X_9>=80;
X_11:=ATAN((EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)-1)*100)*57.299999;
X_12:=ATAN((EMA(CLOSE,10)/REF(EMA(CLOSE,10),1)-1)*100)*57.299999;
X_13:=ATAN((EMA(CLOSE,20)/REF(EMA(CLOSE,20),1)-1)*100)*57.299999;
X_14:=X_11>=60 AND X_12>13;
X_15:=IF(CLOSE>REF(CLOSE,1),88,0);
X_16:=IF(CLOSE/REF(CLOSE,1)>1.02 AND HIGH/CLOSE<1.01 AND X_15>0,91,0);
X_17:=FILTER(X_16>1,5);
X_18:=MA(CLOSE,90);
X_19:=MA(CLOSE,288);
X_20:=IF(1.1>SMA(CLOSE,2,1)/SMA(CLOSE,13,2)>1.03,SMA(HIGH,21,5)*1.05,SMA(HIGH,21,2)*1.05);
X_21:=IF(1.09>SMA(CLOSE,5,1)/SMA(CLOSE,15,1)>0.3,SMA(LOW,10,1),SMA(LOW,5,1));
X_22:=IF(MA(VOL,2)>MA(VOL,3)/2>MA(VOL,5),SMA(HIGH,2,1),SMA(CLOSE,3,1));
X_23:=IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5,1));
X_24:=CROSS(X_22,X_20) OR CROSS(X_18,X_21) OR CROSS(X_20,X_19);
X_25:=X_17 OR X_24;
X_26:=CLOSE/REF(CLOSE,3)*100-100;
X_27:=STICKLINE(X_26>12,0,50,2,0);
X_28:=MA(CLOSE,5);
X_29:=MA(CLOSE,10);
X_30:=MA(VOL,10);
X_31:=HHV(HIGH,5)=HHV(HIGH,0) AND BARSCOUNT(CLOSE)>=5;
X_32:=CLOSE>REF(CLOSE,1)*1.02;
X_33:=VOL>X_30;
X_34:=OPEN>X_29 AND CLOSE>X_28;
X_35:=X_31 AND X_32 AND X_33 AND X_34;
X_36:=X_26 OR X_35;
X_37:=X_6 AND X_10 AND X_14 AND X_25 AND X_36;
STICKLINE(X_37,20,40,1,0),COLORWHITE;
STICKLINE(X_37,10,20,2,0),COLORRED;
STICKLINE(X_37,0,10,3,0),COLOR0080FF;
STICKLINE(X_37,(-10),0,4,0),COLORMAGENTA;
STICKLINE(X_37,(-20),(-10),5,0),COLORYELLOW;
STICKLINE(X_37,(-30),(-20),6,0),COLORLIGREEN;
STICKLINE(X_37,(-40),(-30),7,0),COLORCYAN;
STICKLINE(X_37,(-50),(-40),8,0),COLORBLUE;
STICKLINE(X_37,(-65),(-50),9,0),COLORLIGREEN;
DRAWICON(X_37,43,13);
宝宝吧
发表于 2016-1-2 00:41
#在这里快速回复#参数:百分比(2,20,5), 右数峰序(2,20,2)} {ZIG(3,5);} {百分比:=5}; {右数峰序:=2;} MA5:MA(C,5);{HTTP://U.178448.COM/SPACE.PHP?UID=30578} MA10:MA(C,10);{WEN98编写} MA20:MA(C,20); 波谷值: CONST(TROUGH(2,百分比,1)),NODRAW;{前M个ZIG转向波谷值} 波谷距离:= 1+CONST(TROUGHBARS(2,百分比,1)),NODRAW;{前M个ZIG转向波谷到当前距离} {例如:TROUGH(2,5,2)表示%5最低价ZIG转向的前2个波谷到当前的周期数}; 波峰值:= CONST(PEAK(1,百分比,右数峰序)); {例如EAK(1,5,1)表示%5最高价ZIG转向的上一个波峰的数值} 允许误差:=0.024; XG:= ABS(波峰值-波谷值)<=允许误差 {AND BARSCOUNT(V)>60}; 波峰距离:= 1+CONST(PEAKBARS(1,百分比,右数峰序)),NODRAW; {PEAKBARS(K,N,M)表示之字转向ZIG(K,N)的前M个波峰到当前的周期数,M必须大于等于1} 距离:=CURRBARSCOUNT; DRAWLINE(距离=波峰距离 AND XG,波谷值,距离=1,波谷值,1),COLORMAGENTA; DRAWTEXT(距离=波谷距离 AND XG,L*0.98,' 精准峰谷线'),COLORYELLOW; DRAWICON(距离=波峰距离,H*1.01,2);{波峰位置} DRAWICON(距离=波谷距离,L*0.985,1);{波谷位置} 精准点:=(ABS(H-波谷值)<=允许误差 OR ABS(L-波谷值)<=0.024) {AND 距离<=120}; STICKLINE(精准点,波谷值,波谷值,3,1),COLORYELLOW; {画精准谷底线} 波谷值2:= CONST(TROUGH(2,百分比,2)); 波谷值3:= CONST(TROUGH(2,百分比,3)); 波谷值4:= CONST(TROUGH(2,百分比,4)); 波谷距离2:= 1+CONST(TROUGHBARS(2,百分比,2)); 波谷距离3:= 1+CONST(TROUGHBARS(2,百分比,3)); 波谷距离4:= 1+CONST(TROUGHBARS(2,百分比,4)); XG2:= ABS(波谷值-波谷值2)<=允许误差; XG3:= ABS(波谷值-波谷值3)<=允许误差; XG4:= ABS(波谷值-波谷值4)<=允许误差; XGL:=(距离=波谷距离2 AND XG2) OR (距离=波谷距离3 ANDXG3) OR (距离=波谷距离4 ANDXG4); DRAWLINE(XGL,波谷值,距离=1,波谷值,1),COLORLIGREEN; DRAWTEXT(XGL,L*0.98,' 精准谷底线'),COLORYELL
股市无强人
发表于 2015-8-8 14:25
立参数:百分比(2,20,5), 右数峰序(2,20,2)} {ZIG(3,5);} {百分比:=5}; {右数峰序:=2;} MA5:MA(C,5);{HTTP://U.178448.COM/SPACE.PHP?UID=30578} MA10:MA(C,10);{WEN98编写} MA20:MA(C,20); 波谷值: CONST(TROUGH(2,百分比,1)),NODRAW;{前M个ZIG转向波谷值} 波谷距离:= 1+CONST(TROUGHBARS(2,百分比,1)),NODRAW;{前M个ZIG转向波谷到当前距离} {例如:TROUGH(2,5,2)表示%5最低价ZIG转向的前2个波谷到当前的周期数}; 波峰值:= CONST(PEAK(1,百分比,右数峰序)); {例如EAK(1,5,1)表示%5最高价ZIG转向的上一个波峰的数值} 允许误差:=0.024; XG:= ABS(波峰值-波谷值)<=允许误差 {AND BARSCOUNT(V)>60}; 波峰距离:= 1+CONST(PEAKBARS(1,百分比,右数峰序)),NODRAW; {PEAKBARS(K,N,M)表示之字转向ZIG(K,N)的前M个波峰到当前的周期数,M必须大于等于1} 距离:=CURRBARSCOUNT; DRAWLINE(距离=波峰距离 AND XG,波谷值,距离=1,波谷值,1),COLORMAGENTA; DRAWTEXT(距离=波谷距离 AND XG,L*0.98,' 精准峰谷线'),COLORYELLOW; DRAWICON(距离=波峰距离,H*1.01,2);{波峰位置} DRAWICON(距离=波谷距离,L*0.985,1);{波谷位置} 精准点:=(ABS(H-波谷值)<=允许误差 OR ABS(L-波谷值)<=0.024) {AND 距离<=120}; STICKLINE(精准点,波谷值,波谷值,3,1),COLORYELLOW; {画精准谷底线} 波谷值2:= CONST(TROUGH(2,百分比,2)); 波谷值3:= CONST(TROUGH(2,百分比,3)); 波谷值4:= CONST(TROUGH(2,百分比,4)); 波谷距离2:= 1+CONST(TROUGHBARS(2,百分比,2)); 波谷距离3:= 1+CONST(TROUGHBARS(2,百分比,3)); 波谷距离4:= 1+CONST(TROUGHBARS(2,百分比,4)); XG2:= ABS(波谷值-波谷值2)<=允许误差; XG3:= ABS(波谷值-波谷值3)<=允许误差; XG4:= ABS(波谷值-波谷值4)<=允许误差; XGL:=(距离=波谷距离2 AND XG2) OR (距离=波谷距离3 ANDXG3) OR (距离=波谷距离4 ANDXG4); DRAWLINE(XGL,波谷值,距离=1,波谷值,1),COLORLIGREEN; DRAWTEXT(XGL,L*0.98,' 精准谷底线'),COLORYELL
吴建新
发表于 2012-2-15 17:50
学习学习,谢谢。
小跑
发表于 2012-2-15 17:58
如果您要查看本帖隐藏内容请回复
金龙看我
发表于 2012-2-15 18:03
看看起爆战法
江湖之
发表于 2012-2-15 18:08
好,看看如何,学习下
楞楞
发表于 2012-2-15 18:12
学习学习、谢谢……
草木灰
发表于 2012-2-15 18:13
好好学习天天向上
草木灰
发表于 2012-2-15 18:14
好好学习天天向上
风の云
发表于 2012-2-15 18:17
学习学习,谢谢
飞亚
发表于 2012-2-15 18:18
看看学习hhhhhhhhhhh
金陵
发表于 2012-2-15 18:20
学习学习,谢谢。
金陵
发表于 2012-2-15 18:21
学习学习,谢谢。
炒股用户
发表于 2012-2-15 18:25
学习学习、谢谢……
李嘉云
发表于 2012-2-15 18:26
能者皆吾师也。
点吧
发表于 2012-2-15 18:27
[*]{1.黄金柱}
[*]JJ:=(3*C+H+L+O)/6;
[*]VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
[*]TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
[*]LJL:=FILTER(TJ1,3);
[*]黄金线:=REF(LOW,BARSLAST(LJL));
[*]黄金柱:=FILTER(TJ1,3);
[*]{2.倍量过左峰}
[*]SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
[*]SR2:=FILTER(SR1,10);
[*]SR3:=BACKSET(SR2,10+1);
[*]HD:=FILTER(SR3,10);
[*]前高:=REF(H,BARSLAST(HD));
[*]倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;
[*]突破前高:=CROSS(C,前高);
[*]倍量过左峰:= 突破前高 AND 倍量;
[*]{3.凹口起柱}
[*]T7:=REF(VOL,6)/REF(VOL,7)>=2;
[*]T6:=REF(VOL,5)/REF(VOL,6)>=2;
[*]T5:=REF(VOL,5)/REF(VOL,4)>=1.5;
[*]T4:=REF(VOL,4)/REF(VOL,3)>=1.5;
[*]T3:=REF(VOL,2)/REF(VOL,3)>=1.5;
[*]T1:=V/REF(VOL,1)>2;
[*]T0:=C>O AND C>REF(C,1);
[*]凹口起柱:= T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0
[*]OR T3 AND T1 AND T0 ;
[*]{凹口起柱}
[*]AKQZ:= 黄金柱 and 凹口起柱;
[*]{4.前高低位}
[*]X:=21;
[*]TTY:=H;
[*]AAT:=REF(TTY,X)=HHV(TTY,2*X+1);
[*]BBT:=FILTER(AAT,X);
[*]CCT:=BACKSET(BBT,X+1);
[*]HD10T:=FILTER(CCT,X);
[*]AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);
[*]BB1T:=FILTER(AA1T,X);
[*]CC1T:=BACKSET(BB1T,X+1);
[*]LD10T:=FILTER(CC1T,X);
[*]前期高位:=REF(H,BARSLAST(HD10T));
[*]前期低位:=REF(L,BARSLAST(LD10T));
[*]{突破前高}
[*]TPQG:= 黄金柱 and 倍量过左峰 and C>前期高位;
[*]{选股}
[*]XG: (count(TPQG,10) or count(AKQZ,10)) and count(CROSS(黄金线*1.01,L),3)>0 and L>=黄金线 and C>ref(C,1) and ref(C,2)>ref(C,1) and count(LJL,3)=0;
页:
[1]
2
3
4
5
6
7
8
9
10