RSI与KD二线差指标 (源码)

2012-06-04 08:47:00来源:本站整理浏览:211

通达信RSI与KD二线差指标公式股票软件源码如下:

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;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
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;

通达信RSI与KD二线差指标公式

股票公式栏目导航

本类热门

相关公式