❶ 请大神将两个副图指标改为选股条件,通达信
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
SJ:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
SD:=MA(SJ,2);
SK:=MA(SJ,1);
VAR3:=CROSS(SK,SD) AND SK<0;
VAR4:=CROSS(SK,0);
VAR5:=CROSS(SK,SD) AND SK>0;
买一:=VAR3;
买二:=VAR4 OR VAR5;
VAR21:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
VAR31:=(EMA(VAR21,3)+EMA(VAR21,6)+EMA(VAR21,12)+EMA(VAR21,24))/4;
A1:=EMA(VAR31,2);
A2:=EMA(A1,2);
A3:=EMA(A2,2);
A4:=EMA(A3,2);
A5:=EMA(A4,2);
买进:=CROSS(A1,A5);
买:(买一 OR 买二) OR 买进;
❷ 通达信根据指标源码怎样编选股公式
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
ZB:=EMA(EMA(VAR3,5),5)*3;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
准备:=VAR8=10 AND FILTER(VAR8=10,5);
一定要买:=VARA=20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
庄家异动:=VAR11 AND COUNT(VAR11,30)=1;
钱包:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
XG:(准备 OR 一定要买 OR 庄家异动) AND 钱包;
=======================
{单独出现}
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
ZB:=EMA(EMA(VAR3,5),5)*3;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
准备:=VAR8=10 AND FILTER(VAR8=10,5);
一定要买:=VARA=20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
庄家异动:=VAR11 AND COUNT(VAR11,30)=1;
钱包:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
XG:准备 OR 一定要买 OR 庄家异动 OR 钱包;
❸ 通达信软件的主图和两个副图的指标源码改为条件选股公式
把原码拷贝过来就行了,把在条件选股公式里的指标的原码全部拷贝到技术指标公式--其他公式。再命名,可以同名的
❹ 有两个通达信指标公式,想改成选股公式,求助高人解决,谢谢!
利用这两个公式可以做出好多种选股指标不知你要做什么样的
这个是抄底的
MSD:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
VARK1:=EMA(HHV(HIGH,500),21);
VARK2:=EMA(HHV(HIGH,250),21);
VARK3:=EMA(HHV(HIGH,90),21);
VARK4:=EMA(LLV(LOW,500),21);
VARK5:=EMA(LLV(LOW,250),21);
VARK:=EMA(LLV(LOW,90),21);
VARK7:=EMA((VARK4*0.96+VARK5*0.96+VARK*0.96+VARK1*0.558+VARK2*0.558+VARK3*0.558)/6,21);
VARK8:=EMA((VARK4*1.25+VARK5*1.23+VARK*1.2+VARK1*0.55+VARK2*0.55+VARK3*0.65)/6,21);
VARK9:=EMA((VARK4*1.3+VARK5*1.3+VARK*1.3+VARK1*0.68+VARK2*0.68+VARK3*0.68)/6,21);
VARKA:=EMA((VARK7*3+VARK8*2+VARK9)/6*1.738,21);
VARKB:=REF(LOW,1);
VARKC:=SMA(ABS(LOW-VARKB),3,1)/SMA(MAX(LOW-VARKB,0),3,1)*100;
VARKD:=EMA(IF(CLOSE*1.35<=VARKA,VARKC*10,VARKC/10),3);
VARKE:=LLV(LOW,30);
VARKF:=HHV(VARKD,30);
VARK10:=IF(MA(CLOSE,58),1,0);
火焰山:= EMA(IF(LOW<=VARKE,(VARKD+VARKF*2)/2,0),3)/618*VARK10;
MSD>REF(MSD,1) AND 火焰山<REF(火焰山,1) AND REF(火焰山,1)>REF(火焰山,2);
❺ 请会写股票代码的写两个一名话选股指标
F1:=REF(N5,1)>30 AND CROSS(C,REF(HHV(H,60),1));
F2:=V/REF(V,1)>=2;STICKLINE(F ...首板涨停选股公式
涨跌停显示}涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,... 选股王:=CROSS(绝密,买入线);突破买点:=有庄控盘 AND 选股王;...
选股指标:
距离选股
我们要找的是k线位于均线之上,且K线距离均线很近的,一般是K线靠近5日均线延续整理的股票较为理想。
macd指标选股
技术指标必须要达到maCD红柱持续放大,或绿柱缩小,且MacD的dif从下往上,上穿DEA,整体处于底部反身向上股票,最好是MACD处于白线界面之下
kdj指标选股
kdJ必须要是低位运行,且J值在底部上穿其他两值
boll指标选股
股价靠近BOLL的中轨或下轨的股票,其靠近下轨的股票优先,因为这样票很安全,不会导致追高,而中轨固然可行,但依然存在风险,但指标无完美,根据其他指标选定即可
vol指标选股
VOL量能,规避放出天量的股票,如,同比明显是放天量,不要拿一天的量能来相提并论。
举两个例子,一个天量呈现阳量性质,一个是天量呈现阴量性质,为了就是要大家更好的区分,以免得导致自己疑惑不解,为何不找这样的票呢?如果是阳量天量,那么主力肯定仓位非常重,而散户获利盘肯定也非常大,所以很容易进行调整,所以有追高的风险;不找阴量天量的股票,原因是主力放出天量阴线,固然该股肯定是有出货嫌疑;
SAR指标选股
SAR选股,股价必须要站在圈线之上,且圈线最好是处于红圈状态,并且是连续红圈,出现一到两个都属于反抽性质。并且股价站在圈线之上,其圈线趋势必须要向上,这种类型的票必定大涨。突破所有均线的股票,或许突破两到三根,或全部突破者为优先,但是这里要注意一个重点,不要选那些涨幅很大的股票,选那些近期涨幅不大,且跌幅也不大,整体处于底部震荡整理的走势,相信只要主力建仓,那就不会套自己,也就可以达到提前布局的好处,先知先觉享受拉升的喜悦。
中阳以上的阳线或中阳,切记以小阳小阴为主。并且这些小阳小阴的K线最好是在均线之上,这种股票很容易拉出大阳线。这种形态叫做“K线推动战法”。
趋势线选股方法
以画图作线为主,倘若该股突破一根趋势线,那么就表明该股将会大幅拉升,上升通道打开