C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- VOLC:=V/CAPITAL;
- VAR1C:=VOLC/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
- ZMJ:=IF(CLOSE>OPEN,VAR1C*(HIGH-LOW),IF(CLOSE<OPEN,VAR1C*((HIGH-OPEN)+(CLOSE-LOW)),VOLC/2));
- ZMC:=IF(CLOSE>OPEN,0-VAR1C*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1C*(HIGH-LOW),0-VOLC/2));
- JM:=ZMJ-ABS(ZMC);
- 止跌反弹:MA(C,5)<REF(C,5) AND REF(JM,2)<0 AND REF(JM,1)<0 AND JM>0
- AND V<REF(V,1);