zjtz288 发表于 2016-1-15 21:46

通达信异动形态抓涨停主图公式源码

**** Hidden Message *****

jdksbz123 发表于 2016-11-24 11:19

X_1:=CLOSE/REF(CLOSE,1)>1.02;
X_2:=VOL>MA(VOL,5);
X_3:=X_1 AND X_2;
X_4:=IF(X_3,70,0);
X_5:=X_4;
X_6:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_7:=IF(CLOSE>OPEN,X_6*(HIGH-LOW),IF(CLOSE
X_8:=X_7/VOL*100;
X_9:=X_8>=80;
X_10:=ATAN((EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)-1)*100)*57.299999;
X_11:=ATAN((EMA(CLOSE,10)/REF(EMA(CLOSE,10),1)-1)*100)*57.299999;
X_12:=ATAN((EMA(CLOSE,20)/REF(EMA(CLOSE,20),1)-1)*100)*57.299999;
X_13:=X_10>=60 AND X_11>13;
X_14:=IF(CLOSE>REF(CLOSE,1),88,0);
X_15:=IF(CLOSE/REF(CLOSE,1)>1.02 AND HIGH/CLOSE<1.01 AND X_14>0,91,0);
X_16:=FILTER(X_15>1,5);
X_17:=MA(CLOSE,90);
X_18:=MA(CLOSE,288);
X_19:=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_20:=IF(1.09>SMA(CLOSE,5,1)/SMA(CLOSE,15,1)>0.3,SMA(LOW,10,1),SMA(LOW,5,1));
X_21:=IF(MA(VOL,2)>MA(VOL,3)/2>MA(VOL,5),SMA(HIGH,2,1),SMA(CLOSE,3,1));
X_22:=IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5,1));
X_23:=CROSS(X_21,X_19) OR CROSS(X_17,X_20) OR CROSS(X_19,X_18);
X_24:=X_16 OR X_23;
X_25:=CLOSE/REF(CLOSE,3)*100-100;
X_26:=STICKLINE(X_25>12,0,50,2,0);
X_27:=MA(CLOSE,5);
X_28:=MA(CLOSE,10);
X_29:=MA(VOL,10);
X_30:=HHV(HIGH,5)=HHV(HIGH,0) AND BARSCOUNT(CLOSE)>=5;
X_31:=CLOSE>REF(CLOSE,1)*1.02;
X_32:=VOL>X_29;
X_33:=OPEN>X_28 AND CLOSE>X_27;
X_34:=X_30 AND X_31 AND X_32 AND X_33;
X_35:=X_25 OR X_34;
X_5 AND X_9 AND X_13 AND X_24 AND X_35,COLORMAGENTA,LINETHICK4;

tyrant188 发表于 2016-2-24 23:09

{VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*4;
VAR3:=EMA(VAR2,13);
VAR4:=LLV(LOW,34);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
VAR5>REF(VAR5,1);}

Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势:3*Q3-2*Q4,COLORWHITE,LINETHICK2;
趋势线:EMA(Q3, 3),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>80, REF(长趋势,3), '顶'),COLORRED,LINETHICK5;
逢低买: DRAWTEXT(REF(CROSS(趋势线,长趋势),82) AND 趋势线>1.3*长趋势,长趋势,'逢低买'),LINETHICK1;
买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势>1.3*趋势线,趋势线,'买'),COLORRED,LINETHICK1;
VAR3:=PEAKBARS(3,15,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
顶A:IF(顶>REF(顶,1),50,0),COLORGREEN;
DRAWTEXT(顶A=50,45,'快逃'),COLOR00FF00;
金叉: CROSS(长趋势,趋势线);
DRAWTEXT(金叉,趋势线,'★'),COLORRED;

翡翡翠 发表于 2016-2-4 14:35

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD0:=(DIF-DEA)*2; MJ:=MACD0; S05:=SUM(MJ,0); QST:=BARSLAST(MJ<0 AND REF(MJ,1)>0)+1; QXT:=BARSLAST(MJ>0 AND REF(MJ,1)<0)+1; S5:=IF(MJ>0,S05-REF(S05,BARSLAST(MJ<0)),S05-REF(S05,BARSLAST(MJ>0)))/10; ST:=IF(MJ>0,REF(QST,QXT)+QXT,REF(QXT,QST)+QST); RS5:=REF(S5,ST); A1:=C>REF(C,1) AND H>REF(O,1); BC:IF(MJ>0 AND S5<RS5,0,IF(MJ<0 AND S5>RS5 AND DEA<0,1,0)) AND A1;

sijjis 发表于 2016-1-15 21:57

(HIGH-LOW)>0.51;   XG:A1 AND A2 AND A3 AND A4;

童心缘 发表于 2016-1-15 22:36

谢谢分享投资愉快

5少爷 发表于 2016-1-15 23:56

通达信异动形态抓涨停主图公式源码

danxu8877 发表于 2016-1-15 23:58

通达信异动形态抓涨停主图公式源码

delian 发表于 2016-1-16 09:42

谢谢分享投资愉快


海茵 发表于 2016-1-16 09:55

学习学习学习学习学习学习

地元客天元客a 发表于 2016-1-16 10:19

谢谢,大家高手,

火麒麟16888 发表于 2016-1-16 10:24

谢谢楼主分享

chisenin 发表于 2016-1-16 10:28

(HIGH-LOW)>0.51;   XG:A1 AND A2 AND A3 AND A4;

学屠工 发表于 2016-1-16 10:33

谢谢分享!!!!!!

changg 发表于 2016-1-16 10:35

多谢楼主!

潇洒雨 发表于 2016-1-16 10:39

通达信异动形态抓涨停主图公式源码

dengyun 发表于 2016-1-16 10:40

谢谢分享投资愉快

apingt 发表于 2016-1-16 10:45

通达信异动形态抓涨停主图公式源码
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 通达信异动形态抓涨停主图公式源码