超短周期操作 趋势线双买点【指标公式】(含选股)
第一部分 副图公式 手机/电脑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;
没看完~~~~~~ 先顶,好同志 学习了,谢谢分享、、、 thanks for the sharing! 这是什么东东啊
页:
[1]