關於通達信股票風險和機會提示的原始碼免費指標公式
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 高);
可賣:=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:風險;