副图公式源码支持 手机/电脑
CAI1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CAI2:=(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;
CAI3:=SMA(CAI1,3,1);
CAI4:=SMA(CAI3,3,1);
CAI5:=SMA(CAI2,3,1);
CAI6:=SMA(CAI5,3,1);
分界线:49,POINTDOT,LINETHICK3,COLOR9966CC;
顶部:100,COLORCCFF00;
准备卖:IF(CROSS(CAI4,CAI3) AND CAI4>85,70,100),LINETHICK2,COLOR00FF00;
准备买:IF(趋势线<=10,30,0),LINETHICK1,COLORYELLOW;
STICKLINE(趋势线>88,100,趋势线,1,0),COLORGREEN;
STICKLINE(趋势线<=10,0,趋势线,1,0),COLORYELLOW;
STICKLINE(COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2 ,0,20,1,0),COLORRED;
STICKLINE(CROSS(CAI4,CAI3) AND CAI4>85,100,80,8,0),COLORGREEN;
DRAWICON(CROSS(趋势线,49),趋势线,1),COLORRED;
DRAWICON(FILTER(CROSS(CAI6,CAI5) AND CAI6>81,10),CAI6*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;
KCAI3:=(CLOSE-LLV(LOW,200))/(HHV(HIGH,200)-LLV(LOW,200))*100;
CC:MA(KCAI3,60),LINETHICK1,COLORGRAY;
DD:MA(CC,60),LINETHICK1,COLORLIGRAY;
选股公式源码
{选股公式:红箭头图标拉升}
CAI1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CAI2:=(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);
{卖出公式一:绿箭头图标}
CAI1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CAI2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
CAI3:=SMA(CAI1,3,1);
CAI4:=SMA(CAI3,3,1);
CAI5:=SMA(CAI2,3,1);
CAI6:=SMA(CAI5,3,1);
绿箭头图标:FILTER(CROSS(CAI6,CAI5) AND CAI6>81,10);
{卖出公式二:减仓}
CAI1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CAI2:=(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,趋势线); |