標(biāo)記昨日高低點成交價并劃線主圖指標(biāo)代碼分享公式技術(shù)分析

NN:=BARSLAST(DATE<>REF(DATE,1) )+1;
?YESTH:VALUEWHEN(DATE<>REF(DATE,1),HHV(HIGH,43+1)),COLORRED;
?DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,YESTH),VALUEWHEN(ISLASTBAR,YESTH),0,COLORRED);
?YESTL:VALUEWHEN(DATE<>REF(DATE,1),LLV(LOW,43+1)),COLORGREEN;
?DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,YESTL),VALUEWHEN(ISLASTBAR,YESTL),0,COLORGREEN);
?YESTC:VALUEWHEN(DATE<>REF(DATE,1),REF(CLOSE,1)),COLORMAGENTA;
?DRAWNUMBER(C>0,VALUEWHEN(ISLASTBAR,YESTC),VALUEWHEN(ISLASTBAR,YESTC),0,COLORMAGENTA);
標(biāo)簽: