錢龍量?jī)r(jià)趨勢(shì)指標(biāo)
2022-07-15 11:01 大臉怪財(cái)經(jīng)觀察
量?jī)r(jià)趨勢(shì)指標(biāo)
價(jià)趨勢(shì):MA(C,3)LINETHICK2 COLORGRAY;
AMOL:=LOG(MA(AMO/C/100,M));
AMOH:=LOG(MA(AMO,M)/C/100);
FF:=CONST(LLV(AMOL,N)); BB:=CONST(HHV(AMOL,N))-FF;
JD:=CONST(LLV(L,N)); JJ:=CONST(HHV(H,N))-JD;
價(jià)趨勢(shì)比:=(AMOL-FF)/BB; XX:=價(jià)趨勢(shì)比*JJ+JD;
量趨勢(shì):XX,LINETHICK2 COLORRED;
放量下跌:IF(EVERY(價(jià)趨勢(shì)REF(XX,1),K),價(jià)趨勢(shì),DRAWNULL)LINETHICK6 COLORYELLOW;
縮量上漲:IF(EVERY(價(jià)趨勢(shì)>REF(價(jià)趨勢(shì),1)AND XX
放量上漲:IF(EVERY(價(jià)趨勢(shì)>REF(價(jià)趨勢(shì),1)AND XX>REF(XX,1),K),價(jià)趨勢(shì),DRAWNULL)LINETHICK6 COLORGREEN;
縮量下跌:IF(EVERY(價(jià)趨勢(shì)
以下是錢龍的選股公式源碼
IF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
買入:CROSS(((DIF-EMA(DIF,9))*10-REF((DIF-EMA(DIF,9))*10,1)),1) AND (DIF-EMA(DIF,9))*10>1;