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

新年期待牛势 做多黄金买入【指标公式】(含选股)

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


CAIH1:=30;CAIH2:=60;
CAIH3:=(CLOSE-LLV(LOW,CAIH1))/(HHV(HIGH,CAIH1)-LLV(LOW,CAIH1))*100;
CAIH4:=SMA(CAIH3,5,1);CAIH5:=SMA(CAIH4,3,1);
CAIH6:=3*CAIH4-2*CAIH5;
做空:EMA(CAIH6,6),COLORGREEN;
CAIH15:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
CAIH16:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
CAIH17:=SMA(CAIH16,13,8);
做多:CEILING(SMA(CAIH17,13,8)),COLORYELLOW,LINETHICK3;
CAIH18:=SMA(CAIH15,21,8);
买关注:STICKLINE(做多-CAIH18REF(CLOSE,1)*1.08 AND CLOSE
CAIH34:=IF(CAIH33,1,0)*15;
DRAWTEXT(CAIH34,15,1),COLORWHITE;
买入信号:IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),70,0),COLORRED,LINETHICK2;
STICKLINE(买入信号,82,0,0.005,0),COLORYELLOW;
STICKLINE(买入信号,4,(-2),6,0),COLORYELLOW;


第二部分 选股公式


{选股公式一:红箭头图标}
CAIH19:=(CLOSE*2+HIGH+LOW)/4*10;
CAIH20:=EMA(CAIH19,13)-EMA(CAIH19,34);
CAIH21:=EMA(CAIH20,5);
CAIH22:=2*(CAIH20-CAIH21)*5.5;
CAIH23:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
CAIH24:=EMA(3*CAIH23-2*SMA(CAIH23,18,1),5);
CAIH25:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
CAIH26:=(INDEXC*2+INDEXH+INDEXL)/4;
CAIH27:=EMA(CAIH26,13)-EMA(CAIH26,34);
CAIH28:=EMA(CAIH27,3);
CAIH29:=(CAIH27-CAIH28)/2;
CAIH30:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
CAIH31:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
CAIH32:=MA(CLOSE,80)-MA(CLOSE,10)/3;
CAIH33:=CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE
CAIH34:=IF(CAIH33,1,0)*15;
红箭头图标:CAIH34;
{选股公式二:买入信号}
CAIH1:=30;
CAIH2:=60;
CAIH3:=(CLOSE-LLV(LOW,CAIH1))/(HHV(HIGH,CAIH1)-LLV(LOW,CAIH1))*100;
CAIH4:=SMA(CAIH3,5,1);
CAIH5:=SMA(CAIH4,3,1);
CAIH6:=3*CAIH4-2*CAIH5;
买入信号:CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),COLORRED,LINETHICK2;


桑果果丫丫安 发表于 2023-12-17 01:45:32

已收藏!

平凡7 发表于 2024-1-21 14:20:09

为你点赞

0151 发表于 2024-1-24 19:27:56

不知该说些什么。。。。。。就是谢谢

Yaritza19609 发表于 2024-2-24 02:13:24

帮帮顶顶!!

郭贤良 发表于 2024-3-7 20:58:09

找到好贴不容易,我顶你了,谢了
页: [1]
查看完整版本: 新年期待牛势 做多黄金买入【指标公式】(含选股)