通达信很准风险指标公式
2020/2/25 18:59:20
N:=10;
VAR2:=EMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*4,4);
高:"DMI.PDI"(14,6)>33 AND "DMI.MDI"(14,6)<10 AND "DMI.ADX"(14,6)>40 AND "DMI.ADXR"(14,6)>45, STICK ;
危险: HHV(VAR2,4)>3.2 OR VAR2>2.5 AND 高,STICK ;
可买: IF(高=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,13)*0.4 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.03,-50,0),STICK ;
{投股票网-股票公式网站 www.tou18.cn}
调整: IF(高=0 AND HHV(高,5)>0,-50,0),STICK;
可卖: IF(危险=1 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,20)/2 AND CLOSE<OPEN*1.01,-75,0), STICK ;
卖出: IF(危险=0 AND HHV(危险,3)>0,-100,0)STICK ;
排队: IF(可卖=-75,-75,IF(卖出<0,-100,IF(危险>0,100,IF(调整<0,-50,高)))), COLORSTICK;
排队,;
VAR4:=MIN(REF(CLOSE,2)*0.865,REF(CLOSE,13)*0.772);
VAR5:=100*VOL/CAPITAL;
VAR6:=MA(CLOSE,13);
VAR7:=CLOSE>0.899*REF(CLOSE,1) AND CLOSE<0.901*REF(CLOSE,1);
春笋: STICKLINE((CLOSE-VAR4)/CLOSE<N/100 AND SUM(VAR5,5)/5<1.8,-30,30,8,0) COLORGREEN;
投股 票网 www.tou18 .cn
股市公式下载推荐