N:=60;
BC:=(IF(C>(H+L+C)/3,(H*0.618+L*0.382)*0.382,(H*0.382+L*0.618)*0.382)+(O*0.382+C*0.618)*0.618);
EMN:EMA((MA(BC,N)+SMA(BC,N,N/3))/2,N),COLOR6600FF;
空頭:EMA((EMN-(C-EMN)*C),1),COLORGREEN;
多頭:EMA((EMN+(C-EMN)*C),1),COLORRED;
IF(多頭<空頭,多頭,DRAWNULL),COLORCYAN;
GO:=EMN+(O-EMN)*O;
GH:=EMN+(H-EMN)*H,LINETHICK;
GL:=EMN+(L-EMN)*L,LINETHICK;
GC:=EMN+(C-EMN)*C,LINETHICK;
MA3C:=((EMA(GC,19)+EMA(GC,29))/2+EMA(GC,24))/2;
MA3H:=((EMA(GH,19)+EMA(GH,29))/2+EMA(GH,24))/2;
MA3L:=((EMA(GL,19)+EMA(GL,29))/2+EMA(GL,24))/2;
MA3O:=((EMA(GO,19)+EMA(GO,29))/2+EMA(GO,24))/2;
進(jìn)出線:=(IF(MA3C>(MA3H+MA3L+MA3C)/3,(MA3H*0.618+MA3L*0.382)*0.382,(MA3H*0.382+MA3L*0.618)*0.382)+(MA3O*0.382+MA3C*0.618)*0.618);
FS:=2*進(jìn)出線-REF(進(jìn)出線,1),COLORWHITE;
趨勢(shì)線:IF(進(jìn)出線<FS,FS,進(jìn)出線),COLORWHITE;
STICKLINE(GC>=GO,GL,GH,0,0),COLORRED;
STICKLINE(GC>GO,GO,GC,2,0),COLORRED;
STICKLINE(GC>GO,GO,GC,1,0),COLORCC66FF;
STICKLINE(GC<GO,GO,GC,2,0),COLORAAAA00,COLORBLUE;
STICKLINE(GC<GO,GO,GC,1,0),COLORFFCCAA,COLORAAAA00;
STICKLINE(GC<GO,GL,GH,0,0),COLOR00BB00;
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)
點(diǎn)擊舉報(bào)。