找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
楼主: pxzym

[通达信] 小黑马选股2指标公式

   火.. [复制链接]
发表于 2024-11-5 17:13 | 显示全部楼层
VAR1 := REF(OPEN,1);
VAR2:=SMA(MAX(OPEN-VAR1,0),6,1)/SMA(ABS(OPEN-VAR1),6,1)*100;
VAR3:= REF(CLOSE,1);
VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;
VAR5:= REF(HIGH,1);
VAR6:=SMA(MAX(HIGH-VAR5,0),6,1)/SMA(ABS(HIGH-VAR5),6,1)*100;
VAR7:= REF(LOW,1);
VAR9:=SMA(MAX(LOW-VAR7,0),6,1)/SMA(ABS(LOW-VAR7),6,1)*100;
VAR8:=(MIN(OPEN,CLOSE)-LOW)/LOW*100>VOL/CAPITAL*0.001 ;
VAR10:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100;
VAR11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR12:=EMA(VAR11,8)*10<-26;
VAR13:=IF(VAR8 AND MA(VAR10,5)<50 AND VAR12,30,0);
开盘值:=VAR2;
收盘值:=VAR4;
最高值:=VAR6;
最低值:=VAR9;
入顶:=80,LINETHICK1,COLORGREEN;
入底:=20,LINETHICK1 COLORMAGENTA;
CROSS(收盘值,入底);
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-23 07:38 , Processed in 0.084709 second(s), Total 9, Slave 8 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表