以下是通达信很准风险副图指标

通达信很准风险副图指标

源码

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 ;
调整: 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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。