beyond202104 发表于 2023-8-28 15:27:36

红柱买青柱加 涨跌停数统计【指标公式】(含选股)

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


涨跌幅:=(C-REF(C,1))/REF(C,1)*100;
年涨停:SUM(涨跌幅>9.8,YEAR),POINTDOT,COLORYELLOW;
月涨停:SUM(涨跌幅>9.8,MONTH),POINTDOT,COLORYELLOW;
周涨停:SUM(涨跌幅>9.8,WEEKDAY),POINTDOT,COLORYELLOW;
年跌停:SUM(涨跌幅<-9.8,YEAR),POINTDOT,COLORGREEN;
月跌停:SUM(涨跌幅<-9.8,MONTH),POINTDOT,COLORGREEN;
周跌停:SUM(涨跌幅<-9.8,WEEKDAY),POINTDOT,COLORGREEN;
年涨:(CLOSE-REF(C,YEAR))/REF(C,YEAR)*100,POINTDOT,COLORWHITE;
月涨:(CLOSE-REF(C,MONTH))/REF(C,MONTH)*100,POINTDOT,COLORWHITE;
周涨:(CLOSE-REF(C,WEEKDAY))/REF(C,WEEKDAY)*100,POINTDOT,COLORWHITE;
LC20:=REF(CLOSE,1);
RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
STICKLINE(CROSS(RSI20,11)*1,-10,40,2,0),COLORRED;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
加:IF(FILTER(YXF=1,5),40,-5),STICK,COLORLICYAN,LINETHICK3;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV (L,55))*100,5,1);
FY:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势:(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2)),LINETHICK2,COLORRED;


第二部分 选股公式


{选股公式一:红色柱}
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV (L,55))*100,5,1);
FY:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
LC20:=REF(CLOSE,1);
RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
红色柱:CROSS(RSI20,11)*1;
{选股公式二:青色柱}
LC20:=REF(CLOSE,1);
RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
青色柱:FILTER(YXF=1,5);


朱丹铎 发表于 2023-9-10 10:20:27

无量天尊!

123457242 发表于 2023-12-14 20:51:27

沙发!沙发!

帆帆小公举 发表于 2024-1-21 04:55:24

楼主哪儿来的这么多好东西!

散漫竹子 发表于 2024-1-21 15:20:41

很好的内容,感谢分享!

样异弄雪 发表于 2024-3-30 23:16:10

不错不错,楼主您辛苦了。。。
页: [1]
查看完整版本: 红柱买青柱加 涨跌停数统计【指标公式】(含选股)