beyond202104 发表于 2023-8-28 15:28:04

超短周期操作 趋势线双买点【指标公式】(含选股)

第一部分 副图公式 手机/电脑


LC :=REF(CLOSE,1);
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
CAIHS:MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
CAIHM:EMA(CAIHS,8);
CAIHL:MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);
CAIH上1:=CROSS(CAIHS,CAIHM);
CAIH上2:=CROSS(CAIHS,CAIHL);
CAIH下1:=CROSS(CAIHM,CAIHS);
CAIH下2:=CROSS(CAIHL,CAIHM);
CHA:=(HHV(CAIHS,120)-LLV(CAIHL,120))/60;
CHB:=REF(CAIHL,1) > REF(CAIHS,1);
牛1:DRAWTEXT(CAIH上1 AND CHB,CAIHM-CHA*2,'买一'),COLORLIMAGENTA;
牛2:DRAWTEXT(CAIH上2 AND CHB,CAIHL-CHA*4,'买二'),COLORRED;
熊1:DRAWTEXT(CAIH下1 ,CAIHM+CHA*1,'卖一'),COLORYELLOW;
熊2:DRAWTEXT(CAIH下2 ,CAIHL+CHA*2,'买二'),COLORGREEN;


第二部分 选股公式


{选股公式一:买一}
LC :=REF(CLOSE,1);
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
CAIHS:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
CAIHM:=EMA(CAIHS,8);
CAIHL:=MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);
CAIH上1:=CROSS(CAIHS,CAIHM);
CHA:=(HHV(CAIHS,120)-LLV(CAIHL,120))/60;
CHB:=REF(CAIHL,1) > REF(CAIHS,1);
{牛1:DRAWTEXT(CAIH上1 AND CHB,CAIHM-CHA*2,'买一'),COLORLIMAGENTA;}
买一:CAIH上1 AND CHB;
{选股公式二:买二}
LC :=REF(CLOSE,1);
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
CAIHS:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
CAIHM:=EMA(CAIHS,8);
CAIHL:=MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);
CAIH上2:=CROSS(CAIHS,CAIHL);
CHA:=(HHV(CAIHS,120)-LLV(CAIHL,120))/60;
CHB:=REF(CAIHL,1) > REF(CAIHS,1);
{牛2:DRAWTEXT(CAIH上2 AND CHB,CAIHL-CHA*4,'买二'),COLORRED;}
买二:CAIH上2 AND CHB;


教们边束千 发表于 2023-9-11 10:00:47

没看完~~~~~~ 先顶,好同志

幻想蜗牛驶 发表于 2023-12-9 21:34:22

学习了,谢谢分享、、、

新社会尛疯子氖 发表于 2024-2-15 01:02:52

thanks for the sharing!

smile929 发表于 2024-3-28 15:23:36

这是什么东东啊
页: [1]
查看完整版本: 超短周期操作 趋势线双买点【指标公式】(含选股)