以下是通达信自用rsi副图源码

通达信自用rsi副图源码

源码
N:=5;
A:”RSI.RSI1″(3,14,24),COLORMAGENTA,LINETHICK4;
A1:”RSI.RSI1″(3,14,24),COLORRED,STICK,LINETHICK3;
B:”RSI.RSI2″(3,14,24),COLORYELLOW,LINETHICK3;
IF(A<REF(A,1),A,DRAWNULL),COLORWHITE,LINETHICK4;
IF(A>REF(A,1),A,DRAWNULL),COLORMAGENTA,LINETHICK4;
AB差RSI:IF((B-A)/A>N,50,1),STICK,LINETHICK3,COLORGREEN;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
高抛: 80, POINTDOT;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
SK: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),COLOR00B900,LINETHICK3;
SD: EMA(SK,3),COLORBROWN,LINETHICK3;
IF(SK<REF(SK,1),SK,DRAWNULL),COLOR00B900,LINETHICK4;
IF(SK>REF(SK,1),SK,DRAWNULL),COLOR0000AD,LINETHICK4;
低吸: 20;
强弱分界: 50;
VAR4:=IF(CROSS(SK,SD),40,22);
VAR5:=IF(CROSS(SD,SK),60,78);
卖出: VAR5,COLORRED,LINETHICK4;
买进: VAR4,COLOR0080F6,LINETHICK4;
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。