1.ͨ?通达??ŵ͵?ѡ??Դ??
2.请老师编写通达信选股公式 (短线买点)
ͨ???ŵ͵?ѡ??Դ??
培养正确对待亏损的心态是成功交易的关键。接受亏损是信低交易理念的一部分,才能在无压力的点选达信低点状态下操作。下面分享一些实用的股源选股公式。
首先,码通我们来选出涨停或跌停股。搜寻锁源码分析传统方法选择收盘价大于等于昨收盘价1.倍的通达股票,但这种方法无法选出ST股。信低改进后的点选达信低点公式如下:
未停牌:=DYNAINFO(4)>0;
幅度限制:=IF(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'),5+5*不包含ST,);
涨停:CLOSE>=ROUND(REF(C,1)*(+幅度限制))/ AND 未停牌;
跌停:CLOSE<=ROUND(REF(C,1)*(-幅度限制))/ AND 未停牌;
接下来,我们选出涨停未遂的股源股票,即当天冲击涨停但未能封板的码通股票。
未停牌:=DYNAINFO(4)>0;
幅度限制:=IF(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'),搜寻5+5*不包含ST,);
封涨停板未遂:HIGH>=ROUND(REF(C,1)*(+幅度限制))/ AND CLOSE<ROUND(REF(C,1)*(+幅度限制))/;
我们再来看一种公式:涨停之后数日小幅度调整的股票,这类股票在缩量下跌后往往有较大涨幅。通达理财互助系统源码
涨停:=CLOSE>=ROUND(REF(C,信低1)*)/ AND CLOSE=HIGH;
缩量:=HHV(VOL,盘整天数-2)2* SUM(VOL, 盘整天数-2);
RET:缩量 AND REF(涨停,盘整天数) AND COUNT(涨停,盘整天数+1)=1 AND (HHV(H,盘整天数)-REF(C,盘整天数))/REF(C,盘整天数)*(下探幅度*-1);
如果当前股价大于某条均线以上的股票,可以通过以下公式进行筛选:
RET:DYNAINFO(7)>MA(CLOSE,点选达信低点N);
对于竞价量比选股公式,只适合盘前竞价短线操作,最好挑选低点刚起爆个股。以下为源码:
lt:=(CAPITAL/)/;
ZF:=OPEN/ref(CLOSE,1);
A1:=ZF>=1. and ZF
换手:=VOL/CAPITAL*;
换5:=MA(换手,5);
涨停:=CLOSE/ref(CLOSE,1)>1.;
TS:=BARSLAST(涨停);
QJ:=BETWEEN(TS,1,);
tj:=BARSSINCE(v)+1=1;
zq:=BARSLAST(tj);
量比:=if(tj,sum(v,0)/DYNAINFO()*,ref(sum(v,0)/DYNAINFO()*,zq));
XG:lt and A1 and ref(换5,1)3 and 量比>;
接下来是通达信集合竞价抓龙头选股公式,包括条件:
(1)、clang源码国内下载9.分可以选股;
(2)、看量比大于2的最好;
(3)、涨的太高放弃;
(4)、参数N 1 ;
最后,我们分享MACD实用的选股公式。
(1)、心形代码源码MACD金叉选股公式。
(2)、MACD零轴上方首次金叉。
(3)、MACD零轴上方二次金叉。
(4)、波少源码屋MACD二次翻红选股公式。
(5)、MACD与KDJ金叉共振选股公式。
以上公式旨在快速筛选出满足一定条件的股票,节约时间并辅助交易决策。请谨慎使用,指标并非万能。
请老师编写通达信选股公式 (短线买点)
一.选股指标.
次日涨停
W1:=C=HHV(C,);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
W4 AND COUNT(W4,5)=1;
黄转紫选股
DIFF:=EMA(DCLOSE,)-EMA(DCLOSE,);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
紫柱:MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);
低位金叉选股
DIFF:=EMA(DCLOSE,)-EMA(DCLOSE,);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
低位金叉:CROSS(DIFF,DEA) AND DIFF<-0.1;
二次金叉选股
DIFF:=EMA(DCLOSE,)-EMA(DCLOSE,);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,)=1;
绝地反弹
(1)
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),,1)/SMA(MAX(LOW-VAR1,0),,1)*;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*,VAR2/),);
VAR4:=LLV(LOW,);
VAR5:=HHV(VAR3,);
VAR6:=IF(LLV(LOW,),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/*VAR6;
XL1:=MA(LOW,2)*0.;
XL2:=MA(LOW,)*0.;
XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);
启动:=IF(XL3,0,VAR7*3),COLORRED;
XG:启动>;
(2)
BACKSET( (REF(CLOSE,1)<REF(OPEN,1) AND
CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.),2);
A2:=FILTER(A1<=V3,);
ND CAPITAL<
REF(V,1) = LLV(V,4) AND V >=REF(V,1)
HHV(V,3)=REF(V,1) AND HHV(V,5)=REF(V,1) AND HHV(V,)=REF(V,1)
AND V >=REF(V,1)
>0 AND T>0;
1.三线粘合
M:=1;
M5:=MA(CLOSE,5);
M:=MA(CLOSE,);
M:=MA(CLOSE,);
K1:=MAX(MAX(M5,M),MAX(M,M));
K2:=MIN(MIN(M5,M),MIN(M,M));
A:=MAX(M5,MAX(M,M))/MIN(M5,MIN(M,M))<1+0.*M;
A1:=(K1/K2-1)<0.;
A2:=(K1/K2-1)<0.;
A3:=V>REF(V,1)*1.5 AND V>MA(V,5);
XG:A AND A1 AND A2 AND A3 AND C>O AND V> REF(V,1) AND CAPITAL<=;
2.三条线粘合
N1:=5;N2:=;N3:=;M:=1;
MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);
A3:=V>REF(V,1)*1.5 AND V>MA(V,5);
MAX(MA1,MAX(MA2,MA3))/MIN(MA1,MIN(MA2,MA3))<1+0.*M
AND C>O AND V> REF(V,1) AND FINANCE(7)<=
AND A3 AND CAPITAL<=;
3.均线粘合
M:=1;
M5:=MA(CLOSE,5);
M:=MA(CLOSE,);
M:=MA(CLOSE,);
K1:=MAX(MAX(M5,M),MAX(M,M));
K2:=MIN(MIN(M5,M),MIN(M,M));
A:=MAX(M5,MAX(M,M))/MIN(M5,MIN(M,M))<1+0.*M;
A1:=(K1/K2-1)<0.;
A2:=(K1/K2-1)<0.;
A3:=V>REF(V,1)*1.5 AND V>MA(V,5);
XG:A AND A1 AND A2 AND A3 ;
3. 金叉选股指标
快线:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);
慢线:=EMA(REF(快线,1),2);
A3:=V>REF(V,1)*1.5 AND V>MA(V,5);
XG:CROSS(快线,慢线) AND C>O AND
V>=MA(V,) AND V> REF(V,1) AND CAPITAL<= ;
4.角度
MA5:=MA(C,5);
MA:=MA(C,);
MA:=MA(C,);
V0:CROSS(MA5,MA) AND CROSS(MA,MA) AND
CROSS(MA5,MA) ;
IF(角度MA3> AND 角度MA5> AND 角度MA>
AND 角度MA> AND MA(C,)>REF(MA(C,),1),
1,0),COLORFF
1.聚宝盆
DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIFF,M);
MACD2:=2*(DIFF-DEA);
HHV(MACD2,4)<0 AND MACD2>REF(MACD2,1) AND REF(MACD2,1)<REF(MACD2,2) AND REF(MACD2,2)<REF
(MACD2,3);
2.强势股
{ SJXXG四均线选股}
MA3:=MA(C,3);
MA5:=MA(C,5);
MA:=MA(C,);
MA:=MA(C,);
V0:=MA(C,3)>REF(MA(C,3),1) AND MA(C,5)>REF(MA(C,5),1) AND C>MA(C,3)
AND MA(C,3)>MA(C,5) ; { 均线C,MA3,MA5多头排列并向上;}
角度MA3:=ATAN((MA3/REF(MA3,1)-1)*)*/3.;
角度MA5:=ATAN((MA5/REF(MA5,1)-1)*)*/3.;
角度MA:=ATAN((MA/REF(MA,1)-1)*)*/3.;
角度MA:=ATAN((MA/REF(MA,1)-1)*)*/3.;
选股MA:IF(角度MA3> AND 角度MA5> AND 角度MA> AND 角度MA> AND MA(C,)>REF(MA(C,),1),
1,0),COLORFF;
{ 设计思路:
1.3日均线角度大于度;
2:5日均线角度大于度;
3:日均线角度大于度;
4.日均线角度大于度;
5.MA向上;};
3。紫色冲关
(1).
CROSS( CLOSE,MA(C,))
AND CLOSE>MA(C,) AND CLOSE>MA(C,)AND
COUNT(MA(CLOSE,)>REF(MA(CLOSE,),1),1)
AND COUNT(MA(CLOSE,8)>REF(MA(CLOSE,8),1),1)
AND COUNT(MA(CLOSE,)>REF(MA(CLOSE,),1),1)
AND CLOSE/OPEN>1.
AND DYNAINFO()>0.2% COLORLIBLUE;
(2).
QSXS:=MA(CLOSE,8)>REF(MA(CLOSE,8),1) AND MA(CLOSE,3)>REF(MA(CLOSE,3),1) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
DXJC:=CROSS(CLOSE,MA(C,)) AND CLOSE>MA(C,) AND CLOSE/OPEN>1.;
HSL:=VOL/CAPITAL*;
选股:QSXS AND DXJC AND HSL>2;
(3).
{ SJXXG四均线选股}
MA3:=MA(C,1);
MA5:=MA(C,3);
MA:=MA(C,5);
MA:=MA(C,);
V0:=MA(C,1)>REF(MA(C,1),0.5) AND MA(C,3)>REF(MA(C,3),0.5) AND C>MA(C,1)
AND MA(C,1)>MA(C,1) ; { 均线C,MA3,MA5,MA,MA多头排列并向上;}
角度MA3:=ATAN((MA3/REF(MA3,1)-1)*)*/3.;
角度MA5:=ATAN((MA5/REF(MA5,1)-1)*)*/3.;
角度MA:=ATAN((MA/REF(MA,1)-1)*)*/3.;
角度MA:=ATAN((MA/REF(MA,1)-1)*)*/3.;
选股MA:IF(角度MA3> AND 角度MA5> AND 角度MA>
AND 角度MA> AND MA(C,)>REF(MA(C,),1),
1,0),COLORFF;
{ 设计思路:
1.1日均线角度大于度;
2:3日均线角度大于度;
3:5日均线角度大于度;
4.日均线角度大于度;
5.MA向上;};
(4).
{ SJXXG四均线选股}
MA3:=MA(C,5);
MA5:=MA(C,);
MA:=MA(C,);
MA:=MA(C,);
V0:=MA(C,5)>REF(MA(C,),1) AND MA(C,)>REF(MA(C,),1)
AND MA(C,)>MA(C,) ; { 均线C,MA3,MA5多头排列并向上;}
角度MA3:=ATAN((MA3/REF(MA3,1)-1)*)*/3.;
角度MA5:=ATAN((MA5/REF(MA5,1)-1)*)*/3.;
角度MA:=ATAN((MA/REF(MA3,1)-1)*)*/3.;
角度MA:=ATAN((MA/REF(MA5,1)-1)*)*/3.;
选股MA:IF(角度MA3> AND 角度MA5> AND 角度MA> AND 角度MA>
AND MA(C,)>REF(MA(C,),1),
1,0),COLORFF;
{ 设计思路:
1.3日均线角度大于度;
2:5日均线角度大于度;
3:日均线角度大于度;
4.日均线角度大于度;
5.MA向上;};
(5).5日最底
V5:=LLV(V,5);
QSXS:=MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,8)>REF(MA(CLOSE,8),1)
AND MA(CLOSE,)>REF(MA(CLOSE,),1);
DXJC:=CROSS(CLOSE,MA(C,)) AND CLOSE>MA(C,) AND CLOSE/OPEN>1.;
HSL:=VOL/CAPITAL*;
选股:V5 AND QSXS AND DXJC AND HSL>2;
1....{ 蓄势待发}
V0:=EMA(C,5);
EMA:=EMA(C,);
EMA:=EMA(C,);
EMA:=EMA(C,);
EMA:=EMA(C,);
M1:=*EMA/EMA<= AND *EMA/EMA>=;
M2:=*EMA/EMA<= AND *EMA/EMA>=;
M3:=*EMA/EMA<= AND *EMA/EMA>=;
M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA);
M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA);
T1:=*EMA/EMA<= AND *EMA/EMA>=;
T2:=*EMA/EMA<= AND *EMA/EMA>=;
T3:=T1 AND T2 AND CROSS(V0,EMA);
T4:=T1 AND T2 AND CROSS(V0,EMA);
M4 OR M5 OR T3 OR T4;
2.短线之王
VAR1:=(-)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
CROSS(VAR1,-) AND OPEN<MA(CLOSE,5) AND CLOSE>=1.*REF(CLOSE,1) AND INDEXC>0.*REF(INDEXC,1) AND CLOSE<=1.*LLV
(CLOSE,);
3.枪挑小梁王
W1:=C=HHV(C,);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
枪挑小梁王:W4 AND COUNT(W4,5)=1;
4.短线之王
VAR1:=(-)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
CROSS(VAR1,-) AND OPEN<MA(CLOSE,5) AND CLOSE>=1.*REF(CLOSE,1) AND INDEXC>0.*REF(INDEXC,1) AND CLOSE<=1.*LLV
(CLOSE,);
5.财务突破选股
{ 财务突破选股公式-理想闲云孤鹤-通信达专用}
年认同价:=MA(C,);
价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+));
箱顶:=价格中枢*1.2;
箱底:=价格中枢*0.8;
毛利润率:=FINANCE()/FINANCE();
成长价值:=年认同价*(1+毛利润率);
收益价值:=年认同价+FINANCE();
回调认同:=EMA(EXPMA(C,),);
多头:=(回调认同>REF(回调认同,1))AND(成长价值>REF(成长价值,1))AND(收益价值>REF(收益价值,1))AND(DYNAINFO(7)>0);
回调条件:=COUNT(C<回调认同,5)>=3;
回调突破:=(REF(C,1)<=REF(回调认同,1))AND(C>回调认同)AND(回调条件)AND 多头;
成长条件:=COUNT(C<成长价值,5)>=3;
成长突破:=(REF(C,1)<=REF(成长价值,1))AND(C>成长价值)AND(成长条件)AND 多头;
收益条件:=COUNT(C<收益价值,5)>=3;
收益突破:=(REF(C,1)<=REF(收益价值,1))AND(C>收益价值)AND(收益条件)AND 多头;
箱底条件:=COUNT(C<箱底,5)>=3;
箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底条件)AND 多头;
价格条件:=COUNT(C<价格中枢,5)>=3;
价格突破:=(REF(C,1)<=REF(价格中枢,1))AND(C>价格中枢)AND(价格条件)AND 多头;
箱顶条件:=COUNT(C<箱顶,5)>=3;
箱顶突破:=(REF(C,1)<=REF(箱顶,1))AND(C>箱顶)AND(箱顶条件)AND 多头;
突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);
6.横盘是银
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=EMA(CLOSE,)-EMA(CLOSE,);
VAR5:=EMA(VAR4,9);
VAR6:=2*(VAR4-VAR5);
COUNT(CROSS(VAR2,VAR3),2)>=1 AND COUNT(CROSS(VAR6,0),5)>=1 AND MA(CLOSE,5)>MA(CLOSE,) AND MA(CLOSE,)>MA(CLOSE,) AND
CLOSE>MA(CLOSE,5);
{ “短线是银”的使用说明:
此组合选择比较简单,初学者易于掌握,短线有一定可操作性与准确性。但只适合于3天内的短线炒作,不能确定长期趋势。
选股设置:
2日内KD金叉,5日内MACD金叉,均线5日,日,日多头排列,收盘价涨过5日均线。};
7.黑马起步选股1
VAR5:=EMA(SMA((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,8,1),3);
选股:CROSS(VAR5,) OR CROSS(VAR5,) OR CROSS(VAR5,);
8.起攀选股
{ 起攀选股}
VAR6:=(2*C+H+L)/4;
VAR7:=LLV(L,);
VAR8:=HHV(H,);
攀登:=EMA((VAR6-VAR7)/(VAR8-VAR7)*,)-;
金山:=EMA(0.*REF(攀登,1)+0.*攀登,3);
起攀:CROSS(攀登,金山) AND C/REF(C,1)>1.;
{ 根据起攀图指标改编,这是精简后的指标};
9.中短波选股
{ 中短波选股}
HZ:=EMA(CLOSE,);
短波:=EMA(HZ,1);
中波:=EMA(HZ,);
均线天:=EMA(C,);
成本:=SUM(AMOUNT,0)/SUM(VOL,0)/;
HZ2:=EMA(HZ,8);
CROSS(短波,HZ2);
{ 结合中短波主图使用};
.黑马摇篮之大
{ 黑马摇篮之大黑马}
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:= MA(SS1,4);
SS3:=HHV(SS2,);
SS4:=MA(SS3,3);
SS5:=1.*SS4-0.*SS3;
XKKJ:=IF(SS5>SS3,SS3,SS5);
FF1:=LLV(SS2,);
FF2:=MA(FF1,3);
FF3:=1.*FF2-0.*FF1;
DKKJ:=IF(FF3<FF1,FF1,FF3);
MA:=MA(C,);
ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA) AND CROSS(C,XKKJ);
ZHM:=CROSS(C,MA) AND CROSS(C,XKKJ);
大黑马:ZDHM OR ZHM;
.黑马摇篮之小
{ 黑马摇篮之小黑马}
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(*A+*REF(A,1)+*REF(A,2)+*REF(A,3)+*REF(A,4)+*REF(A,5)+*REF(A,6)
+*REF(A,7)+*REF(A,8)+*REF(A,9)+*REF(A,)+9*REF(A,)+8*REF(A,)
+7*REF(A,)+6*REF(A,)+5*REF(A,)+4*REF(A,)+3*REF(A,)+2*REF(A,)+
REF(A,))/;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
小黑马:CROSS(D1,K1);
.蓄势待发
{ 蓄势待发}
V0:=EMA(C,5);
EMA:=EMA(C,);
EMA:=EMA(C,);
EMA:=EMA(C,);
EMA:=EMA(C,);
M1:=*EMA/EMA<= AND *EMA/EMA>=;
M2:=*EMA/EMA<= AND *EMA/EMA>=;
M3:=*EMA/EMA<= AND *EMA/EMA>=;
M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA);
M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA);
T1:=*EMA/EMA<= AND *EMA/EMA>=;
T2:=*EMA/EMA<= AND *EMA/EMA>=;
T3:=T1 AND T2 AND CROSS(V0,EMA);
T4:=T1 AND T2 AND CROSS(V0,EMA);
2024-11-23 02:34
2024-11-23 02:24
2024-11-23 01:57
2024-11-23 01:56
2024-11-23 01:32
2024-11-23 01:25
2024-11-23 01:15
2024-11-23 01:14