C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 牛股1:=FILTER((CROSS((EMA(CLOSE,5)-EMA(CLOSE,10)),
- EMA((EMA(CLOSE,5)-EMA(CLOSE,10)),5))
- AND EMA((EMA(CLOSE,5)-EMA(CLOSE,10)),5)
- <0 AND CROSS(C,MA(C,20))),90);
- 买0:=IF("KDJ.J"<0,10,0);
- AA0:=CROSS(9.9,买0);
- DIF1:=EMA(CLOSE,2) - EMA(CLOSE,17);
- DEA1:=EMA(DIF1,5);
- BB:=REF(DEA1>DIF1,1) AND DIF1>DEA1;
- 牛股2:=AA0 AND BB;
- 简:=EMA(CLOSE,12)-EMA(CLOSE,29);
- 单:=EMA(简,9);
- 实:=(简-单)*2;
- 用:=IF(实>REF(实,1) AND 实<0,8,0);
- 选:=MA((LOW+HIGH+CLOSE)/3,5),LINETHICK0,COLOR4080FF;
- 股:=4*SMA((CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100,5,1),3.2,1);
- 公:=REF(CLOSE,1);
- 式:=SMA(MAX(CLOSE-公,0),6,1)/SMA(ABS(CLOSE-公),6,1)*100;
- 入:=CROSS(式,25);
- 买:=IF(CROSS(C,选) AND 用 AND REF("KDJ.J",1)<0 AND "KDJ.J">0,0.8,0);
- 进:=IF(CROSS(C,选) AND 用 AND CROSS(股,8),0.6,0);
- 牛股3:=入 AND 买 AND 进;
- 买进: 牛股1 OR 牛股2 OR 牛股3;