将精品周KDJ出现箭头的地方写成选股及预警公式
2019/12/6 18:09:04
公式编写说明:
VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);阶段卖出: 3.2,COLORC6C600;3.5,COLOR0088FF;清仓卖出: 3.5,COLORFF75FF;动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLOR00FF00; 底部:0.2,COLOR70DB93;关注:0.5,COLORYELLOW;DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2);DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;数值:动力线,COLORA8A8A8;周J:MA("KDJ.J#WEEK"(9,3,3) ,5),COLOR00FF00,NODRAW;IF(周J>=REF(周J,1),周J,DRAWNULL),COLORRED,NODRAW;周JJ:MA("KDJ.J#WEEK"(9,3,3) ,5)/30,COLOR00FF00,LINETHICK2;IIFF:IF(周J>=REF(周J,1),周J,DRAWNULL)/30,COLORRED,LINETHICK2;
公式源码示例:
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
关注:=0.5,COLORYELLOW;
CROSS(动力线,关注);
看股吧公 式 www .kanguba.com
其它股票公式列表