C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- N:=9;M:=3;P:=2;
- RAV:=(CLOSE-LLV(LOW,N));
- RAV1:=(HHV(HIGH,N)-LLV(LOW,N));
- RAV2:=RAV/RAV1;
- RAV3 := (HIGH + LOW + CLOSE+REF(C,1)+O)/5;
- RAV4:=RAV2*100;
- RAV5:=SMA(RAV4,M,1);
- RAV6:=SMA(RAV5,M,1);
- RAV7:=SUM(IF(RAV3>REF(RAV3,1),RAV3*VOL,0),N)/SUM(IF(RAV3<REF(RAV3,1),RAV3*VOL,0),N);
- 资金趋势:=100-(100/(1+RAV7)),COLORFFF000;
- 价格趋势:=(M*RAV5-P*RAV6)*1.1;
- CPX:=EMA(C,5)-EMA(C,25);
- QSX:=EMA(CPX,9);
- MD:= IF (CPX<REF(CPX,1),-200,200);
- 持股区间:=(MD=200);
- FUHE:=EMA((资金趋势+价格趋势)/2,2);
- AAA:(CROSS(价格趋势,资金趋势) AND 价格趋势>80)*20;