C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- XXQ:="KDJ.J"(9,3,3);{引用J}
- XXW:="KDJ.D"(9,3,3);{引用D}
- XXN:=CROSS(XXQ,XXW);{J上穿D}
- XXE:="MACD.DIF"(12,26,9);{引用DIF}
- XXR:="MACD.DEA"(12,26,9);{引用DEA}
- XXM:=CROSS(XXE,XXR);{DIF上穿DEA}
- XXT:="RSI.RSI1"(6,12,24);{引用RSI1}
- XXC:="RSI.RSI3"(6,12,24);{引用RSI3}
- XXA:=CROSS(XXT,XXC);{RSI1上穿RSI3}
- XXS:="DMI.PDI"(14,6);{引用PDI}
- XXD:="DMI.MDI"(14,6);{引用MDI}
- XXJ:=CROSS(XXS,XXD);{PDI上穿MDI}
- XXG:XXN AND XXM AND XXA AND XXJ AND MA(C,30)>REF(MA(C,30),1);
- {满足条件加上30日平均移值大于昨天}