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

经典MACD买卖 抄底逃顶信号【指标公式】(含选股)

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


CAIH0:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
CAIH1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CAIH2:=SMA(ABS(LOW-CAIH1),13,1)/SMA(MAX(LOW-CAIH1,0),10,1);
CAIH3:=EMA(CAIH2,10);
CAIH4:=LLV(LOW,34);
CAIH5:=EMA(IF(LOW0.1 AND REF(CAIH6,1)REF(CAIH6,1) AND CAIH6>REF(CAIH6,1);
卖:=REF(CAIH0,2)95;
DRAWICON(买=1,MACD,1);
DRAWICON(卖=1,MACD,2);
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;


第二部分 选股公式


{选股公式:红箭头图标}
CAIH1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CAIH2:=SMA(ABS(LOW-CAIH1),13,1)/SMA(MAX(LOW-CAIH1,0),10,1);
CAIH3:=EMA(CAIH2,10);
CAIH4:=LLV(LOW,34);
CAIH5:=EMA(IF(LOW0.1 AND REF(CAIH6,1)REF(CAIH6,1) AND CAIH6>REF(CAIH6,1);
红箭头图标:买=1;
{卖出公式:绿箭头图标}
CAIH0:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
CAIH1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CAIH2:=SMA(ABS(LOW-CAIH1),13,1)/SMA(MAX(LOW-CAIH1,0),10,1);
CAIH3:=EMA(CAIH2,10);
CAIH4:=LLV(LOW,34);
CAIH5:=EMA(IF(LOW<=CAIH4,CAIH3,0),3);
卖:=REF(CAIH0,2)95;
绿箭头图标:卖=1;


惠智聪情贤 发表于 2023-12-1 14:28:36

不容易啊!好东西!

宇转好帖鄙 发表于 2024-3-8 13:09:28

路过,学习下
页: [1]
查看完整版本: 经典MACD买卖 抄底逃顶信号【指标公式】(含选股)