公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

大盘趋势(副图 源码)

2020-7-4 20:19| 发布者: admin| 查看: 93| 评论: 0

AR:=SMA((INDEXH+INDEXC*2+INDEXL)/4,5,2);
趋势:=(SMA(MAX(INDEXC-AR,0),5,2))/(SMA(ABS(INDEXC-AR),5,2))*100;
DRAWICON(趋势>50 AND (趋势<65 OR 趋势>65) AND 趋势>REF(趋势,1),60,10);
DRAWICON(趋势>=65 AND (趋势<80 OR 趋势>80) AND 趋势>REF(趋势,1),70,10);
DRAWICON(趋势>=80 AND (趋势<95 OR 趋势>95) AND 趋势>REF(趋势,1),80,10);
DRAWICON(趋势>=95 AND 趋势>REF(趋势,1),90,10);
DRAWICON((趋势10,50,11);
DRAWICON((趋势10,40,11);
DRAWICON((趋势 DRAWICON((趋势 DRAWICON((趋势 DRAWICON((趋势 VAR1:=HHV(INDEXH,7)-LLV(INDEXL,7);
VAR2:=HHV(INDEXH,7)-INDEXC;
VAR3:=INDEXC-LLV(INDEXL,7);
VAR4:=VAR2/VAR1*100-70;
VAR5:=SMA(VAR3/VAR1*100,3,1);
VAR6:=SMA(VAR5,3,1)-SMA(VAR4,3,1);
VAR7:=IF(VAR6>100,VAR6-100,0);
VAR8:=VAR7*2;
VAR9:=SMA(VAR8,6,3);
M1:=IF(CROSS(VAR9,VAR8),1,0);
M2:=COUNT(INDEXC/REF(INDEXC,21)>=1.18,7)>=1;
M3:=COUNT(INDEXC/REF(INDEXC,13)>=1.09,7)>=1;
M4:=COUNT(INDEXC/REF(INDEXC,7)>=1.05,5)>=1;
DRAWICON(M1=1 AND 趋势>50,90,12);
DRAWICON(M1=1 AND 趋势>50 AND M2,90,12);
DRAWICON(M1=1 AND 趋势>50 AND (M2 OR M3 OR M4),80,12);
DRAWICON(M1=1 AND 趋势>50 AND (M2 OR M3),70,12);
DRAWICON(M1=1 AND 趋势>50 AND (M2 OR M3),60,12);
0,color111111;


鲜花

握手

雷人

路过

鸡蛋
返回顶部