P1:=36;P2:=3;P3:=3;
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA), COLORSTICK,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,P1))/(HHV(HIGH,P1)-LLV(LOW,P1))*100;
K:=SMA(RSV,P2,1);
D:=SMA(K,P3,1);
J:=3*K-2*D;
N1:=6;
N2:=12;
N3:=24;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
PDM:= SUM(IF(HD>0 AND HD>LD,HD,0),14);
MDM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);
PDI:= PDM*100/TR;
MDI:= MDM*100/TR;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
A2:=BARSLAST(REF(CROSS(K,D),1));
B2:=REF(C,A2+1)>C AND REF(K,A2+1)<K AND CROSS(K,D);
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
B3:=REF(C,A3+1)>C AND REF(RSI1,A3+1)<RSI1 AND CROSS(RSI1,RSI2);
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);
C2:=BARSLAST(REF(CROSS(D,K),1));
D2:=REF(C,C2+1)<C AND REF(K,C2+1)>K AND CROSS(D,K);
C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1));
D3:=REF(C,C3+1)<C AND REF(RSI1,C3+1)>RSI1 AND CROSS(RSI2,RSI1);
C4:=BARSLAST(REF(CROSS(MDI,PDI),1));
D4:=REF(C,C+1)<C AND REF(MDI,C4+1)>MDI AND CROSS(MDI,PDI);
A4:=BARSLAST(REF(CROSS(PDI,MDI),1));
B4:=REF(C,A4+1)>C AND REF(PDI,A4+1)<PDI AND CROSS(PDI,MDI);
DMI底背:IF(B4>0,-0.1,0),COLOR0099FF;
MACD底背:IF(B1>0,-0.1,0),COLORFF00FF;
KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF;
RSI底背:IF(B3>0,-0.1,0),COLORYELLOW;
DMI顶背:IF(D4>0,0.1,0),COLORBLUE;
MACD顶背:IF(D1>0,0.1,0),COLOR00FF00;
KDJ顶背:IF(D2>0,0.1,0),COLORFFCC66;
RSI顶背:IF(D3>0,0.1,0),COLORWHITE;
STICKLINE(B1>0,-0.1,0,6,0),COLORRED,POINTDOT;
STICKLINE(B2>0,-0.1,0,6,0),COLORFF00FF,POINTDOT;
STICKLINE(B3>0,-0.1,0,6,0),COLORYELLOW,POINTDOT;
STICKLINE(D1>0,0.1,0,6,0),COLOR00FF00,POINTDOT;
STICKLINE(D2>0,0.1,0,6,0),COLORFFCC66,POINTDOT;
STICKLINE(D3>0,0.1,0,6,0),COLORWHITE,POINTDOT;
STICKLINE(B4>0,-0.1,0,6,0),COLOR0099FF,POINTDOT;
STICKLINE(D4>0,0.1,0,6,0),COLORBLUE,POINTDOT;
求助高手编写RSI指标底背离公式
AA:=CROSS(RSI.RSI1,REF(RSI.RSI1,1)) AND RSI.RSI1<30 AND REF(RSI.RSI1,1)>REF(RSI.RSI1,天数+2);BB:=REF(C,1)<REF(C,天数+2);XG:AA AND BB AND 天数<10;
求助通达信rsi的底背离选股公式(收盘价一波比一波低,rsi底部一波比一波...
N1:=6;N2:=12;N3:=24;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)\/SMA(ABS(CLOSE-LC),N1,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)\/SMA(ABS(CLOSE-LC),N2,1)*100;RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)\/SMA(ABS(CLOSE-LC),N3,1)*100;XG: REF(C,2)>C AND...
用大智慧或通达信等软件筛选rsi指标底背离的个股。
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离: B3>0;通达信软件用 点开公式管理器,找到条件选股,选择其他类型,把原码粘贴上去!
rsi背离指标公式
rsi背离选股公式代码 LC:= REF(CLOSE,1);RSI1:SMA(MAX(CLOSE-LC,0),N1,1)\/SMA(ABS(CLOSE-LC),N1,1)*100;RSI2:SMA(MAX(CLOSE-LC,0),N2,1)\/SMA(ABS(CLOSE-LC),N2,1)*100;RSI3:SMA(MAX(CLOSE-LC,0),N3,1)\/SMA(ABS(CLOSE-LC),N3,1)*...
求大智慧RSI、CCI、KDJ、MACD顶背离和底背离选股公式
M底背离:=DDGJ AND MDZB;MGZB:=REF(MACD,GDSJ+1)>MACD;M顶背离:=GDGJ AND MGZB;RSI:="RSI.RSI1";RDZB:=REF(RSI,DDSJ+1)<RSI;R底背离:=DDGJ AND RDZB;RGZB:=REF(RSI,GDSJ+1)>RSI;R顶背离:=GDGJ AND RGZB;TYP:=(HIGH + LOW + CLOSE)\/3;CCI:=(TYP-MA(TYP,N))\/(0....
请高手 编写 通达信 选股公式,
通达信选股公式 {MACD、KDJ、RSI底背离} DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),...
各位高手:60分钟rsi底背离的通达信公式怎么编?并适合条件预警。_百度知 ...
公式:A:="RSI.RSI1#60MIN";B:=L<=LLV(L,60);D:=A>=LLV(A,60) AND A>=REF(A,1);XG:B AND D;不懂Q我!
rsi底背离选股公式
rsi底背离选股 RSI(参数9)在一段时间内(比如8至20日内)的选股公式,如:A:=BARSLAST(REF(CROSS(“RSI。RSI1”(12,26,9),“RSI。RSI2”(12,26,9)),1));B:=REF(C,A+1)>CANDREF(“RSI。RSI1”(8,55,55),A+1)<“RSI。RSI1”(8,55,55)ANDCROSS(...
rsi底背离指标公式
RSI底背离选股公式源码 LC:=REF(CLOSE,1);RSI4:=SMA(MAX(CLOSE-LC,0),4,1)\/SMA(ABS(CLOSE-LC),4,1)_100;RSI7:=SMA(MAX(CLOSE-LC,0),7,1)\/SMA(ABS(CLOSE-LC),7,1)_100;A:=BARSLAST(ref(cross(RSI4,RSI7),1));B:=ref(c,A+1)candref(RSI4,A+1)RSI4...
机构专用SRSI指标源码- 问一问
底背离:=REF(C,A2+1)>CLOSE AND REF(RSI,A2+1)<RSI AND CC2;DRAWTEXT(底背离,支撑-1.5,'DBL'),【摘要】机构专用SRSI指标源码【提问】亲~这道题由我来回答,打字需要一点时间,还请您耐心等待一下。【回答】{N(14,0,100),N1(3,0,30),N2(34,0,100),K(3,0,100)} LC:=REF(...