beyond202104 发表于 2023-8-28 15:24:22

安全区域牛股启动【指标公式】(含选股)

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


CAIH1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
CAIH2:=SMA(SMA(CAIH1,3,1),3,1)/28.57;
CAIH3:=EMA(CAIH2,5);
CAIH4:=3*CAIH2-2*CAIH3;
CAIH5:=CROSS(CAIH4,CAIH2) AND CAIH2OPEN;
STICKLINE(CAIH5,82,0,0.005,0),COLORRED;
DRAWICON(CAIH5>0,85,13),COLORYELLOW;
CAIH6:=CROSS(CAIH4,CAIH2) AND CAIH2OPEN;
CAIH7:=(2*CLOSE+HIGH+LOW)/4;
CAIH8:=LLV(LOW,13);
CAIH9:=HHV(HIGH,13);
CAIH10:=EMA((CAIH7-CAIH8)/(CAIH9-CAIH8)*100,13);
CAIH11:=EMA(0.667*REF(CAIH10,1)+0.333*CAIH10,2);
STICKLINE(CAIH10>CAIH11,CAIH10,CAIH11,3,0),COLOR0055AA;
STICKLINE(CAIH10>CAIH11,CAIH10,CAIH11,2.8,0),COLOR0066BB;
STICKLINE(CAIH10>CAIH11,CAIH10,CAIH11,2.5,0),COLOR0077CC;
STICKLINE(CAIH10>CAIH11,CAIH10,CAIH11,2.2,0),COLOR0088DD;
STICKLINE(CAIH10>CAIH11,CAIH10,CAIH11,1.7,0),COLOR0099EE;
STICKLINE(CAIH10>CAIH11,CAIH10,CAIH11,1.2,0),COLOR00AAFF;
STICKLINE(CAIH10>CAIH11,CAIH10,CAIH11,0.7,0),COLOR00CCFF;
STICKLINE(CAIH10>CAIH11,CAIH10,CAIH11,0.2,0),COLORYELLOW;
STICKLINE(CAIH10<=CAIH11,CAIH10,CAIH11,3,0),COLOR990099;
STICKLINE(CAIH10<=CAIH11,CAIH10,CAIH11,2.8,0),COLOR990088;
STICKLINE(CAIH10<=CAIH11,CAIH10,CAIH11,2.5,0),COLOR990077;
STICKLINE(CAIH10<=CAIH11,CAIH10,CAIH11,2.2,0),COLOR990066;
STICKLINE(CAIH10<=CAIH11,CAIH10,CAIH11,1.7,0),COLOR990055;
STICKLINE(CAIH10<=CAIH11,CAIH10,CAIH11,1.2,0),COLORBB00BB;
STICKLINE(CAIH10<=CAIH11,CAIH10,CAIH11,0.7,0),COLORDD00DD;
STICKLINE(CAIH100,60,25),COLORYELLOW;


第二部分 选股公式


{选股公式一:红柱信号}
CAIH1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
CAIH2:=SMA(SMA(CAIH1,3,1),3,1)/28.57;
CAIH3:=EMA(CAIH2,5);
CAIH4:=3*CAIH2-2*CAIH3;
CAIH5:=CROSS(CAIH4,CAIH2) AND CAIH2OPEN;
CAIH6:=CROSS(CAIH4,CAIH2) AND CAIH2OPEN;
CAIH7:=(2*CLOSE+HIGH+LOW)/4;
CAIH8:=LLV(LOW,13);
CAIH9:=HHV(HIGH,13);
CAIH10:=EMA((CAIH7-CAIH8)/(CAIH9-CAIH8)*100,13);
CAIH11:=EMA(0.667*REF(CAIH10,1)+0.333*CAIH10,2);
{STICKLINE(CAIH5,82,0,0.005,0),COLORRED;
DRAWICON(CAIH5>0,85,13),COLORYELLOW;}
红柱信号:CAIH5;
{选股公式二:黄柱信号}
买进:=IF(CROSS(4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1),8),58,0),COLORYELLOW,LINETHICK3;
CAIH1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
CAIH2:=SMA(SMA(CAIH1,3,1),3,1)/28.57;
{STICKLINE(买进,50,0,0.05,0),COLORYELLOW;
DRAWICON(买进>0,60,25),COLORYELLOW;}
黄柱信号:买进;


123458683 发表于 2023-10-1 11:09:04

顶贴光荣!

Qian723 发表于 2024-1-21 07:54:04

内容真的很不错

格瑞森瓷 发表于 2024-2-8 03:15:48

内容真的很不错
页: [1]
查看完整版本: 安全区域牛股启动【指标公式】(含选股)