beyond202104 发表于 2023-8-28 15:28:34

趋势转强拉升 顶部转弱减仓【指标公式】(含选股)

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


CAIH1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CAIH2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
趋势线: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),LINETHICK2,COLORRED;
CAIH3:=SMA(CAIH1,3,1);
CAIH4:=SMA(CAIH3,3,1);
CAIH5:=SMA(CAIH2,3,1);
CAIH6:=SMA(CAIH5,3,1);
分界线:49,POINTDOT,LINETHICK3,COLOR9966CC;
顶部:100,COLORCCFF00;
准备卖:IF(CROSS(CAIH4,CAIH3) AND CAIH4>85,70,100),LINETHICK2,COLOR00FF00;
准备买:IF(趋势线88,100,趋势线,1,0),COLORGREEN;
STICKLINE(趋势线85,100,80,8,0),COLORGREEN;
DRAWICON(CROSS(趋势线,49),趋势线,1),COLORRED;
DRAWICON(FILTER(CROSS(CAIH6,CAIH5) AND CAIH6>81,10),CAIH6*1.05,2);
DRAWTEXT(CROSS(趋势线,49),47,'拉升'),COLORRED;
DRAWTEXT(CROSS(49,趋势线),52,'减仓'),COLORGREEN;
CHA:=(CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))*100;
AA:MA(CHA,15),LINETHICK1,COLORMAGENTA;
BB:MA(AA,15),LINETHICK1,COLORGREEN;
KCAIH3:=(CLOSE-LLV(LOW,200))/(HHV(HIGH,200)-LLV(LOW,200))*100;
CC:MA(KCAIH3,60),LINETHICK1,COLORGRAY;
DD:MA(CC,60),LINETHICK1,COLORLIGRAY;


第二部分 选股公式


{选股公式:红箭头图标拉升}
CAIH1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CAIH2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
趋势线:=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),LINETHICK2,COLORRED;
红箭头图标拉升:CROSS(趋势线,49);
{卖出公式一:绿箭头图标}
CAIH1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CAIH2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
CAIH3:=SMA(CAIH1,3,1);
CAIH4:=SMA(CAIH3,3,1);
CAIH5:=SMA(CAIH2,3,1);
CAIH6:=SMA(CAIH5,3,1);
绿箭头图标:FILTER(CROSS(CAIH6,CAIH5) AND CAIH6>81,10);

{卖出公式二:减仓}
CAIH1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CAIH2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
趋势线:=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),LINETHICK2,COLORRED;
减仓:CROSS(49,趋势线);


卖荣求友篮 发表于 2023-11-12 11:23:16

好人啊!

123457771 发表于 2023-11-14 13:45:27

群众力量就是大,分享万岁!

四轮day 发表于 2023-12-1 11:46:00

支持一下:lol

心素如菊棺 发表于 2024-3-3 16:34:02

感谢!

温哥华月光屎 发表于 2024-3-10 17:01:15

好好 学习了 确实不错
页: [1]
查看完整版本: 趋势转强拉升 顶部转弱减仓【指标公式】(含选股)