C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- VAR1:=REF((L+O+C+H)/4,1);
- VAR2:=SMA(ABS(REF((L+O+C+H)/4,1)-H),13,1)/SMA(MAX(REF((L+O+C+H)/4,1)-H,0),10,1);
- VAR3:=EMA(VAR2,10);
- VAR4:=HHV(H,33);
- VAR5:=EMA(IF(H>=VAR4,VAR3,0),3)*(-0.1);
- 主力退场:IF(VAR5>REF(VAR5,1),VAR5,0),LINETHICK2,COLORWHITE;
- 主力诱多:IF(VAR5<REF(VAR5,1),VAR5,0),LINETHICK2,COLORGREEN;
- {主力洗进}
- VAR22:=SMA(ABS(REF((L+O+C+H)/4,1)-L),13,1)/SMA(MAX(REF((L+O+C+H)/4,1)-L,0),10,1);
- VAR33:=EMA(VAR22,10);
- VAR44:=LLV(L,33);
- VAR55:=EMA(IF(L<=VAR44,VAR33,0),3)*100;
- 主力进场:IF(VAR55>REF(VAR55,1),VAR55,0),LINETHICK2,COLORYELLOW;
- 主力洗盘:IF(VAR55<REF(VAR55,1),VAR55,0),LINETHICK2,COLORRED;