当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是交易指标 (源码)(无源码的请下载附件导入)
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- RSV:=(((CLOSE - LLV(LOW,36)) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
- Y0:=SMA(RSV,7,1);
- Y1:=SMA(SMA(RSV,7,1),3,1);
- Y2:=(((CLOSE/COST(13))<=0.8)*10);
- Y3:=SMA(Y0,7,1);
- XG1:=CROSS(18,Y0) AND Y1<21;
- XG2:=COUNT(CROSS(Y0,Y1),4)>=1 AND CROSS(Y0,Y3) AND Y3<=30;
- {共振}
- RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
- K1:=SMA(RSV1,5,1);
- D1:=SMA(K1,5,1);
- J1:=3*K1-2*D1;
- AA1:=EMA(J1,5);
- AA2:=REF(AA1,1);
- RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K2:=SMA(RSV2,3,1);
- D2:=SMA(K2,3,1);
- J2:=3*K2-2*D2;
- BB1:=EMA(J2,5);
- BB2:=REF(BB1,1);
- DD:=AA1>AA2 AND BB1>BB2;
- M:=DD AND NOT(REF(DD,1)) AND (AA1<25 OR BB1<25) ;
- FF:=AA1<AA2;
- Z:=FF AND NOT(REF(FF,1)) AND (AA1>65 OR BB1>65);
- {多头买入} ENTERLONG:XG2 OR XG1;
- {多头卖出} EXITLONG:Z AND Y0>80;
上一篇:资金流极品公式(无未来函数 源码) 下一篇:布林买卖指标 (源码)