通达信风险指标公式
2020/1/12 18:03:50
VAR0:=1-((2*CLOSE+HIGH+LOW)/4-REF(CLOSE,13))/REF(CLOSE,13)*407;
VAR1:=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)*50;
VAR2:=100*(MA(VAR1,13)<-0.2 AND VAR1<-0.3);
危险:=100*(VAR2 AND 高);
{看股吧-股票公式网站 www.kanguba.com}
可卖:=IF(危险=100 AND HIGH-CLOSE>CLOSE-LOW AND VOL>HHV(VOL,20)/2 AND CLOSE<OPEN*1.01,-75,0);
卖出:=IF(危险=0 AND HHV(危险,3)>0,-100,0);
调整:=IF(高=0 AND HHV(高,5)>0,-50,0);
风险:IF(可卖=-75,-75,IF(卖出<0,-100,IF(危险>0,100,IF(调整<0,-50,高)))),COLORSTICK;
YNGS:风险;
看 股吧公式 www.k anguba.com
其它股票公式列表