请高手编个通达信的选股公式。

设RSI 三个参数都是14. 选出今天RSI大于50,昨天小于50,前天大于50的股票,都满足以上条件谢谢

第1个回答  2015-11-08
  思路如下:按照下面的画线指标当前价格上穿突破L压力,同时量比大于2.5以上,换手大于3{N1=20;N2=10;N3=5}。
STICKLINE(CLOSE>REF(CLOSE,1)*1.095 AND
CLOSE=HIGH,CLOSE,OPEN,2,1),COLOR0000FF;{涨停}
STICKLINE(CLOSE<REF(CLOSE,1)*0.9015
AND
CLOSE=LOW,CLOSE,OPEN,2,1),COLORGREEN;{跌停};
GJ:=(C+H+L+O)/4;
明日阻力:=L+(GJ-L)+(C-L);
明日支撑:=L+(C-GJ);
今日阻力:REF(明日阻力
, 1),NODRAW;
今日支撑:REF(明日支撑 , 1),NODRAW;
STICKLINE(ISLASTBAR AND
C>=今日阻力,今日阻力,今日阻力,10,1),COLOR0000FF;
STICKLINE(ISLASTBAR AND
C<今日阻力,今日阻力,今日阻力,10,1),COLOR00FF00;
STICKLINE(ISLASTBAR AND
C>=今日支撑,今日支撑,今日支撑,10,1),COLORFF00FF;
STICKLINE(ISLASTBAR AND
C<今日支撑,今日支撑,今日支撑,10,1),COLORFF8800;
AA:=REF(H,N1)=HHV(H,2*N1+1);
QY:=BACKSET(AA,N1+1);
CC:=FILTER(QY,N1)
AND
H=HHV(H,N1+1);
DDD:=BARSLAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=CONST(DINGBUTS);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=CONST(DINGBUTS1);
DINGBU2:=REF(DINGBU1,DDD+1);
MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1),COLORRED;
DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR00FF00,POINTDOT,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLOR00FF00,POINTDOT,LINETHICK2;
AA1:=REF(L,N1)=LLV(L,2*N1+1);
QY1:=BACKSET(AA1,N1+1);
CC1:=FILTER(QY1,N1)
AND
L=LLV(L,N1+1);
DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(DD1,REF(L,DD1),L);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=CONST(DDTS1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=CONST(DDTS2);
低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1)
COLORRED;
DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLOR00FF00,POINTDOT,LINETHICK2;
DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLOR00FF00,POINTDOT,LINETHICK2;
LAA:=REF(H,N2)=HHV(H,2*N2+1);
LQY:=BACKSET(LAA,N2+1);
LCC:=FILTER(LQY,N2)
AND
H=HHV(H,N2+1);
LDDD:=BARSLAST(LCC);
LGDTS:=IF(LCC,CURRBARSCOUNT,0);
LDINGBU:=IF(LDDD,REF(H,LDDD),H);{顶部}
LDINGBUTS:=IF(LDDD,REF(LGDTS,LDDD),LGDTS);
LDINGBU1:=REF(LDINGBU,LDDD+1);
LGDCS1:=CONST(LDINGBUTS);
LDINGBUTS1:=REF(LDINGBUTS,LDDD+1);
LGDCS2:=CONST(LDINGBUTS1);
LDINGBU2:=REF(LDINGBU1,LDDD+1);
LMM:=IF(CURRBARSCOUNT>LGDCS2,0,1);
压力:DRAWLINE(CURRBARSCOUNT=LGDCS2,H,CURRBARSCOUNT=LGDCS1,H,1),COLORFF0000;
DRAWLINE(CURRBARSCOUNT=LGDCS2,H,ISLASTBAR,REF(H,LGDCS2-1),1),COLOR00FF00,POINTDOT;
DRAWLINE(CURRBARSCOUNT=LGDCS1,H,ISLASTBAR,REF(H,LGDCS1-1),1),COLOR00FF00,POINTDOT;
LAA1:=REF(L,N2)=LLV(L,2*N2+1);
LQY1:=BACKSET(LAA1,N2+1);
LCC1:=FILTER(LQY1,N2)
AND
L=LLV(L,N2+1);
LDD1:=BARSLAST(LCC1);
LDDTS:=IF(LCC1,CURRBARSCOUNT,0);
LYDB:=IF(LDD1,REF(L,LDD1),L);
LDDTS1:=IF(LDD1,REF(LDDTS,LDD1),LDDTS);
LDDCS1:=CONST(LDDTS1);
LZDB:=REF(LYDB,LDD1+1);
LDDTS2:=REF(LDDTS1,DD1+1);
LDDCS2:=CONST(LDDTS2);
支撑:DRAWLINE(CURRBARSCOUNT=LDDCS2,L,CURRBARSCOUNT=LDDCS1,L,1),COLORFF0000;
ZGSTAR:=(压力+支撑)/2;
ZGEND:=CONST((压力+支撑)/2);
STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);
中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORWHITE;
LLAA:=REF(H,N3)=HHV(H,2*N3+1);
LLQY:=BACKSET(LLAA,N3+1);
LLCC:=FILTER(LLQY,N3)
AND
H=HHV(H,N3+1);
LLDDD:=BARSLAST(LLCC);
LLGDTS:=IF(LLCC,CURRBARSCOUNT,0);
LLDINGBU:=IF(LLDDD,REF(H,LLDDD),H);{顶部}
LLDINGBUTS:=IF(LLDDD,REF(LLGDTS,LLDDD),LLGDTS);
LLDINGBU1:=REF(LLDINGBU,LLDDD+1);
LLGDCS1:=CONST(LLDINGBUTS);
LLDINGBUTS1:=REF(LLDINGBUTS,LLDDD+1);
LLGDCS2:=CONST(LLDINGBUTS1);
LLDINGBU2:=REF(LLDINGBU1,LLDDD+1);
LLMM:=IF(CURRBARSCOUNT>LGDCS2,0,1);
L压力:DRAWLINE(CURRBARSCOUNT=LLGDCS2,H,CURRBARSCOUNT=LLGDCS1,H,1)
COLORFF0000;
DRAWLINE(CURRBARSCOUNT=LLGDCS2,H,ISLASTBAR,REF(H,LLGDCS2-1),1),COLOR00FF00,POINTDOT;
DRAWLINE(CURRBARSCOUNT=LLGDCS1,H,ISLASTBAR,REF(H,LLGDCS1-1),1),COLOR00FF00,POINTDOT;
LLAA1:=REF(L,N3)=LLV(L,2*N3+1);
LLQY1:=BACKSET(LLAA1,N3+1);
LLCC1:=FILTER(LLQY1,N3)
AND
L=LLV(L,N3+1);
LLDD1:=BARSLAST(LCC1);
LLDDTS:=IF(LLCC1,CURRBARSCOUNT,0);
LLYDB:=IF(LLDD1,REF(L,LLDD1),L);
LLDDTS1:=IF(LLDD1,REF(LLDDTS,LLDD1),LDDTS);
LLDDCS1:=CONST(LLDDTS1);
LLZDB:=REF(LLYDB,LLDD1+1);
LLDDTS2:=REF(LLDDTS1,DD1+1);
LLDDCS2:=CONST(LLDDTS2);
L支撑:DRAWLINE(CURRBARSCOUNT=LLDDCS2,L,CURRBARSCOUNT=LLDDCS1,L,1)
COLORYELLOW;
LZGSTAR:=(L压力+L支撑)/2;
LZGEND:=CONST((L压力+L支撑)/2);
LSTARDAY:=IF(LLDDCS2<LLGDCS2,LLDDCS2,LLGDCS2);
L中轨:DRAWLINE(CURRBARSCOUNT=LSTARDAY,LZGSTAR,ISLASTBAR,LZGEND,1),COLORYELLOW;
MA05:MA(C,5),COLORFFFFFF;
MA10:MA(C,10),COLOR009900;
MA20:MA(C,20),COLOR555555;
MA30:MA(C,30),COLOR999900;
BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;
IF(BB05>30
AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK1,COLOR00FFFF;
IF(BB05<0
AND MA05<REF(MA05,1), MA05,DRAWNULL),LINETHICK1,COLOR00FF00;
IF(BB30>15
AND MA30>REF(MA30,1), MA30,DRAWNULL),LINETHICK1,COLOR0000FF追问

能不乱来不

本回答被提问者和网友采纳

求高手帮忙编写一个通达信的选股公式,出现蓝柱选股!谢谢!
VAR3:=100-ABS((CLOSE-MA(CLOSE,13))\/MA(CLOSE,13)*100);选股:VAR2>5;

请高手帮忙编写个通达信选股公式,谢谢,悬赏10分!
RSV:=(CLOSE-LLV(LOW,9))\/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;RSI1:=SMA(MAX(CLOSE-LC,0),12,1)\/SMA(ABS(CLOSE-LC),12,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),56,1)\/SMA(ABS(CLOSE-LC),56,1)*100;MID:=REF(HIGH+LOW,...

请高手编写一个通达信选股公式???
A10:=CROSS(控盘,0);无庄控盘:=IF(控盘<0,控盘,0);开始控盘:=IF(A10,5,0);有庄控盘:=IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0);VAR2:=100*WINNER(CLOSE*0.95);高度控盘:=IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0);连续5:(COUNT(高度控盘>1,5)=5);

请老师帮忙做一个通达信的选股公式,谢谢!
选股:c>=ref(c,1) and dif>=ref(dif,1);

请高手把通达信指标写出选股公式
Z:=MA(C,120);VAR3:=(MA(C,5)-Z)\/Z;VAR4:=MA((CLOSE-LLV(LOW,20))\/(HHV(HIGH,20)-LLV(LOW,20))*100,3);VAR5:=(MA(AMOUNT,5)\/MA(VOL,5)\/100-MA(AMOUNT,120)\/MA(VOL,120)\/100)\/(MA(AMOUNT,5)\/MA(VOL,5)\/100);D1:=CLOSE>Z AND REF(VAR4,1)<30 AND VAR4>REF...

求通达信突破平台选股公式
通达信炒股软件是一款定位于提供多功能服务的证券信息平台,由深圳财富趋势科技股份有限公司设计的一款移动证券软件。温馨提示:1、以上解释仅供参考,不作任何建议。2、入市有风险,投资需谨慎。应答时间:2021-10-29,最新业务变化请以平安银行官网公布为准。

请高手帮我编写一个通达信选股公式:筛选出当天出现了"T",倒"T",锤头...
T形:O=H AND H=C AND L<C;倒T字:O=L AND L=C AND H>C;光头小阳:C=H AND L<O;光脚小阳:L=O AND H>C AND C>O;光头光脚阳线:O=L AND C=H;十字星:O=C AND H>C AND L<C;{希望能够帮到您,也祝您投资顺利};

请把下面公式编写成通达信选股公式,要求选出四量第一天全红,谢谢_百 ...
MID:=(3*CLOSE+LOW+OPEN+HIGH)\/6;牛线:= (20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF...

请高手编一个通达信选股公式:第一天涨停;第二天收阴线;第三天阳包阴...
具体编辑是:A1:=REF(C,2)>REF(C,3)*1.095 AND C=H;A2:=REF(C,1)REF(C,1);A1 AND A2 AND A3;我们可以看到结果,同时每一天情况不一样结果也不一样。

求通达信,条件选股公式何编?高分
换手率:=VOL\/CAPITAL*100;XG:SUM(换手率,20)>=20;顺便说明一下,这样的换手没意义,太低了。日均1以上,票太多。

相似回答