我一直都主张 把基础东西琢磨好 就是股神最好东西,这个是一个很好网友做的,我只是给了点想法,虽然不很成熟,但实战意义很高,按这两线操盘,一年操盘好3个股,基本也翻3番
具体用法大家琢磨下吧,其实都是基础东西,有好思路,欢迎修正优化,主要好久没发东西给大家,表示歉意.名字大家自己取,希望大家少走弯路.
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- TYP := (HIGH + LOW + CLOSE)/3;
- CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
- MC1:=MA(CC1,3);
- LC :=REF(CLOSE,1);
- RSI1:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
- MR1:=MA(RSI1,3);
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K:SMA(RSV,3,1),LINETHICK2,COLORWHITE;
- MK:MA(K,3),LINETHICK2,COLORFF50FF;
- A:=CROSS(CC1,MC1) AND CROSS(RSI1,MR1) AND CROSS(K,MK);
- B:=(CROSS(CC1,MC1) OR CC1>MC1) AND (CROSS(RSI1,MR1) OR RSI1>MR1);
- AA:=(CROSS(RSI1,MR1)OR RSI1>MR1) AND (CROSS(K,MK) OR K>MK);
- BB:=(CROSS(CC1,MC1) OR CC1>MC1) AND (CROSS(K,MK) OR K>MK);
- GG:=B OR AA OR BB;
- DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
- DEA:=EMA(DIF,9);
- MACD:=(DIF-DEA)*2;
- MQS:=DEA>REF(DEA,1) OR (DEA>=0 AND MACD>REF(MACD,1));
- DRAWICON(A,100,1),COLORGREEN;
- 康龙金线:IF(GG AND MQS,K,DRAWNULL),COLORRED,LINETHICK3;