公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

【强弱新解】精品短线指标【飞狐版源码发布】

2017-3-29 16:11| 发布者: admin| 查看: 27| 评论: 0

【强弱新解】

n1:=6;
n2:=12;
n3:=24;
DRAWGBK(LOW<=HIGH, COLORRGB(150,0,250), COLORRGB(40,0,60),1);
LC := REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,ColorFFFFFF;
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;
镜:SMA((HHV(HIGH,7)-CLOSE)/(HHV(HIGH,7)-LLV(LOW,7))*100,2,1),LINEDOT;
A:20,LINEDOT;
d:80,LINEDOT;
VAR1:=RSI2 FILLRGN(RSI2>RSI3,RSI2,RSI3),Color8A15FF;
FILLRGN(RSI2<=RSI3,RSI2,RSI3),Color00D56A;
STICKLINE(RSI1<>RSI2,RSI1,RSI2,0,0),ColorFFFFFF;
STICKLINE(COUNT(镜,10)=10 AND CROSS(镜,10),20,80,2,0),COLORddaa00;
VERTLINE(CROSS(RSI1 ,90)),colorgreen,LINEDOT;
VERTLINE(CROSS(RSI1,10)),Color0000BF,LINEDOT;
DRAWICON(CROSS(RSI1 ,90),100,5),ALIGN4;
DRAWICON(CROSS(RSI1,10),0,4),ALIGN5;
STICKLINE(COUNT(VAR1,10)=9 AND CROSS(RSI2,RSI3) ,20,80,2,0),ColorFF2BFF;


鲜花

握手

雷人

路过

鸡蛋
返回顶部