C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- cc:((ema(c,1)-EMA(CLOSE,60))/ema(c,60))*100;
- refline:0 ;
- HH:=hhvall(h);
- LL:=llvall(l) ;
- X:=HH-(HH-LL+MINDIFF)/5;
- VAR1:=REF((L+O+C+H)/4,1);
- VAR2:=SMA(ABS(VAR1-L),13,1)/SMA(MAX(VAR1-L,0),10,1);
- VAR3:=EMA(VAR2,10);
- VAR4:=LLV(L,36);
- VAR5:=EMA(IF(L<=VAR4,VAR3,0),3)*1;
- 主力进场:IF(VAR5>REF(VAR5,1),VAR5,0)*30,LINETHICK1,COLORYELLOW;
- 主力诱空:IF(VAR5<REF(VAR5,1),VAR5,0)*30,LINETHICK1,COLORRED;
-