錢龍量價趨勢指標
2022-07-15 11:01 大臉怪財經觀察
量價趨勢指標
價趨勢: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;
價趨勢比:=(AMOL-FF)/BB; XX:=價趨勢比*JJ+JD;
量趨勢:XX,LINETHICK2 COLORRED;
放量下跌:IF(EVERY(價趨勢REF(XX,1),K),價趨勢,DRAWNULL)LINETHICK6 COLORYELLOW;
縮量上漲:IF(EVERY(價趨勢>REF(價趨勢,1)AND XX
放量上漲:IF(EVERY(價趨勢>REF(價趨勢,1)AND XX>REF(XX,1),K),價趨勢,DRAWNULL)LINETHICK6 COLORGREEN;
縮量下跌:IF(EVERY(價趨勢
以下是錢龍的選股公式源碼
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;