通达信机会(公式 副图 选股 测试图)无加密 不限时 无未来

JHLL1:=REF(CLOSE,1);
 JHLL2:SMA(MAX(CLOSE-JHLL1,0),12,1)/SMA(ABS(CLOSE-JHLL1),12,1)*100;
 JHLL3:MA(JHLL2,4);
 JHLL4:IF(CROSS(JHLL3,REF(JHLL3,2)) AND JHLL3<32,80,IF(CROSS(REF(JHLL3,2),JHLL3) AND JHLL3>62,20,50));
 DRAWTEXT(JHLL4>60,JHLL4,'机会')COLORYELLOW;
 DRAWTEXT(JHLL4=20,JHLL4,'减仓')COLORGREEN;