顶底公式与排序公式

[复制链接]
查看479 | 回复0 | 2022-6-28 06:13:19 | 显示全部楼层 |阅读模式

应朋友们要求发一个顶底指标,通达信副图。
顶底指标与排序指标

顶底公式与排序公式

STICKLINE(C>0,0,100,15,0),COLOR7C221C;
VAR1:=REF(C,2);
A2: SMA(MAX(C-VAR1,0),7,1)/SMA(ABS(C-VAR1),7,1)*100,COLORGREEN,LINETHICK2;
VAR2:=REF(C,1);
VAR3:=SMA(MAX(C-VAR2,0),7,1)/SMA(ABS(C-VAR2),7,1)*100;
STICKLINE(A2<REF(A2,1) AND A2>79,80,85,1,0)COLORLIBLUE;
STICKLINE(A2>=50,A2,50,1,0)COLORRED;
STICKLINE(A2<50,A2,50,1,0)COLORLIBLUE;
80,POINTDOT;20,POINTDOT;
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:=(EMA(CS,3)-50)*2;
VAR4:=(1.1)*CLOSE;
VAR5:=(0.9)*CLOSE;
VAR6:=100*(WINNER(VAR4)-WINNER(VAR5));
S1:=EMA(100-VAR6,1);
S2:=EMA(S1,9);
S3:=MA(S2,9);
不抢跌停:STICKLINE(YJD<-80 AND S1>S2,60,50,1,0),COLORYELLOW;
STICKLINE(A2<=12,30,A2,1,0)COLORRED;
STICKLINE(VAR3<=12,50,30,1,0)COLORMAGENTA;
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
筑底区:IF(VAR6A<=14,12,0);

2012530216380207.png

2012530216380207.png

20125302161249533.png

20125302161249533.png

20125302162673923.png

20125302162673923.png

20125302155037716.rar

2.9 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

20125302155037716.rar

回复

使用道具 举报

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

本版积分规则