beyond202104 发表于 2023-8-28 15:29:25

龙头买入主图 均线进场操盘【指标公式】(含选股)

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


MA(C,3);N:=10;
CHA1:=CONST(HHVBARS(V,N));
CHA2:IF(CURRBARSCOUNTMA(C,5) AND OPEN
CHB3:=C>MA(C,10) AND OPEN
CHB5:=C>MA(C,30) AND OPEN
DRAWTEXT(CHB1 AND CHB5 AND CHB3,LOW*0.97,'龙头买入'),COLORRED;
CAIH1:=HHV(HIGH,25);
CAIH2:=LLV(LOW,25);
CAIH3:=EMA((CLOSE-CAIH2)/(CAIH1-CAIH2)*100,20);
CAIH4:=EMA((CLOSE-CAIH2)/(CAIH1-CAIH2)*100,5);
DRAWICON(CROSS(CAIH4,CAIH3),LOW*0.97,13);
CHC1:DRAWICON(CROSS(MA1,MA2),MA2,1);
CHC2:DRAWICON(CROSS(MA1,MA3),MA3,1);
CHC3:DRAWICON(CROSS(MA2,MA3),MA3,1);


第二部分 选股公式


{选股公式一:龙头买入}
CHB1:=C>MA(C,5) AND OPEN
CHB3:=C>MA(C,10) AND OPEN
CHB5:=C>MA(C,30) AND OPEN
龙头买入:CHB1 AND CHB5 AND CHB3;

{选股公式二:红球}
CAIH1:=HHV(HIGH,25);
CAIH2:=LLV(LOW,25);
CAIH3:=EMA((CLOSE-CAIH2)/(CAIH1-CAIH2)*100,20);
CAIH4:=EMA((CLOSE-CAIH2)/(CAIH1-CAIH2)*100,5);
红球:CROSS(CAIH4,CAIH3);

{选股公式三:红箭头1}
MA1:=MA(C,5),COLORRED,LINETHICK1;
MA2:=MA(C,10),COLORYELLOW,LINETHICK1;
MA3:=MA(C,30),COLOR9933CC,LINETHICK1;
红箭头:CROSS(MA1,MA2);
{选股公式四:红箭头2}
MA1:=MA(C,5),COLORRED,LINETHICK1;
MA2:=MA(C,10),COLORYELLOW,LINETHICK1;
MA3:=MA(C,30),COLOR9933CC,LINETHICK1;
红箭头:CROSS(MA1,MA3);

{选股公式五:红箭头3}
MA1:=MA(C,5),COLORRED,LINETHICK1;
MA2:=MA(C,10),COLORYELLOW,LINETHICK1;
MA3:=MA(C,30),COLOR9933CC,LINETHICK1;
红箭头:CROSS(MA2,MA3);


繁花落尽冬不去 发表于 2023-10-4 00:46:21

找到好贴不容易,我顶你了,谢了
页: [1]
查看完整版本: 龙头买入主图 均线进场操盘【指标公式】(含选股)