C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {钱袋子主图选股}
- PEAK1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
- VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
- VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
- VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND PEAK1;
- {钱袋子选股:FILTER(VAR19=1,5) AND LOW*0.995 }
- {操盘线选股}
- V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
- 操盘线:=SMA(V3,2,1);
- {操盘线选股:IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)<REF(操盘线,2) AND 操盘线<23 ,18,0)}
- {跟着庄家走选股}
- RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
- K:=SMA(RSV,3,1);
- D:=SMA(K,3,1);
- J:=3*K-2*D;
- X:=LLV(J,2)=LLV(J,8);
- {跟着庄家走:IF(CROSS(J,3),65,0)}
- {资金指标选股}
- 个股能量线:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
- 大盘能量线:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
- A:=20;
- B:=50;
- Y:=80;
- {资金指标:个股能量线>50 AND 大盘能量线<20;}
- 天才哥选股:FILTER(VAR19=1,5) AND LOW*0.995 AND IF(CROSS(J,3),65,0) AND IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)<REF(操盘线,2) AND 操盘线<23 ,18,0) AND 个股能量线>50 AND 大盘能量线<20;