楠木軒

有肉主圖指標公式源碼

由 睢風娥 發佈於 經典

N1:=42;

N2:=21;

N3:=89;

C1:=C/REF(C,1);

MX:EMA(SLOPE(C,N2)*20+C,N1),LINETHICK1,COLORBLACK;

MXR:=MX/REF(MX,1);

MR:=SLOPE(MX,2);

MRD:=CROSS(0,MR);

TMR:=BARSLAST(MRD);

MRR:=REF(MX,TMR);

MN3:=HHV(MRR,N3);

MFD:=CROSS(MR,0);

TMF:=BARSLAST(MFD);

MFT:=REF(MX,TMF);

ROU:=CROSS(MX,MN3)&&MX;/MFT

TRR:=BARSLAST(ROU);

DRAWTEXT(CROSS(MX,MRR)&&MX;/LLV(MX,55)

DRAWTEXT(CROSS(C,MN3)&&C1;>1.035,L*0.98,'大肉')&&MXR;>1.004,COLORRED;

STICKLINE(CROSS(MX,MRR)&&MX;/LLV(MX,55)

STICKLINE(ROU,O,C,3,0),COLORRED;

DRAWTEXT(TRR

DRAWTEXT(MX/MRR>=1.55&&MXR;>1.034&✗(REF(MR,1),MR),H*0.98,'當心大面'),COLORGREEN;

STICKLINE(MX/MRR>=1.55&&MXR;>1.034&✗(REF(MR,1),MR),C,O,2,0),COLORGREEN;

IF(MX>MRR&&MXR;>1.004,MX,DRAWNULL),LINETHICK3,COLORGREEN,COLORRED;