“SHBX”副圖引用源碼(必須先安裝這個(gè)指標(biāo)到副圖,分時(shí)指標(biāo)才能正常安裝): X_5:=REF(MAX(HIGH,X_4),1);X_6:=REF(MIN(LOW,X_4),1);JX:IF(CLOSE>500,SUM(AMOUNT,0)/SUM(VOL,0),SUM(AMOUNT,0)/SUM(VOL,0)/100);MACS:MA((X_5-X_6)/REF(CLOSE,2)*100,5)/X_2;X_7:=REF(VOL,1)/REF(MA(VOL,5),1)<1.5;SHBZF:IF(X_7,100*MA((REF(HIGH,1)-REF(LOW,1))/REF(CLOSE,2),5),100*(REF(HIGH,1)-REF(LOW,1))/REF(CLOSE,2))/3;EMACS:EMA((X_5-X_6)/REF(CLOSE,2)*100,5)/4;NOTEXT前收盤(pán)價(jià):REF(CLOSE,1);NOTEXT上市周期:BARSSINCE(CLOSE);NOTEXTRMA5:REF(MA(CLOSE,5),1);NOTEXTRMA10:REF(MA(CLOSE,10),1);NOTEXTRMA20:REF(MA(CLOSE,20),1);NOTEXTRMA60:REF(MA(CLOSE,60),1);NOTEXT大盤(pán)價(jià)位:INDEXC;NOTEXT昨日大盤(pán):REF(INDEXC,1);GGS1:IF(REF(CLOSE,1)/REF(CLOSE,2)>1.04 OR REF(CLOSE,1)/REF(CLOSE,2)<0.97,X_9-3.2,X_9);GGB1:IF(REF(CLOSE,1)/REF(CLOSE,2)>1.04 OR REF(CLOSE,1)/REF(CLOSE,2)<0.97,X_8+3.2,X_8);X_10:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;X_14:=EMA(EMA(EMA(CLOSE,X_1),X_1),X_1);X_15:=(X_14-REF(X_14,1))/REF(X_14,1)*100;X_16:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);VAR8:X_17>0 AND VAR3>0 AND X_16>34 AND X_18>0;X_21:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));X_22:=MOD(FROMOPEN,X_21);X_23:=IF(X_22<0.5,X_21,X_22);VVOL:IF(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VOL*X_21/X_23,DRAWNULL),NODRAW;“智能分時(shí)”分時(shí)主圖源碼: JXX:=IF(CLOSE>500,SUM(AMOUNT,0)/SUM(V,0),SUM(AMOUNT,0)/SUM(V,0)/100);BG0:=(BARSLAST(((HOUR=9) AND (MINUTE=31)))+1);BG2:=(SUM((CLOSE*VOL),0)/SUM(VOL,0));BG3:=(((SETCODE=0) OR (SETCODE=1)) AND (CLOSE<500));HHH:=IF(((SETCODE<2) AND (CONST(BG0)<241)),CONST(IF((TIME<TT2),HHV(CLOSE,0),SUM((IF((TIME=TT2),1,0)*HHV(CLOSE,0)),0))),DRAWNULL);LLL:=IF(((SETCODE<2) AND (CONST(BG0)<241)),CONST(IF((TIME<TT2),LLV(CLOSE,0),SUM((IF((TIME=TT2),1,0)*LLV(CLOSE,0)),0))),DRAWNULL);BG9:=((CLOSE>REF(CLOSE,1)) AND ((CLOSE/BG6)>(1+(BG7/100))));BG10:=((CLOSE<REF(CLOSE,1)) AND ((CLOSE/BG6)<(1-(BG7/100))));HH1:((REF(SUM(BG9,0),1)=0) AND (SUM(BG9,0)=1)),NODRAW;LL1:((REF(SUM(BG10,0),1)=0) AND (SUM(BG10,0)=1)),NODRAW;BG13:=(SUM(HH1,0)*CROSS(COUNT((CLOSE<REF(CLOSE,1)),BARSLAST(HH1)),0.5));BG14:=(SUM(LL1,0)*CROSS(COUNT((CLOSE>REF(CLOSE,1)),BARSLAST(LL1)),0.5));CS1:CONST(SUM(IF(BG13,REF(CLOSE,1),DRAWNULL),0)),LINETHICK2,COLORGREEN;CB1:CONST(SUM(IF(BG14,REF(CLOSE,1),DRAWNULL),0)),LINETHICK2,COLORMAGENTA;HH2:=CROSS(SUM((BG9 AND (CLOSE>(CS1*(1+(BG8/100))))),0),0.5),NODRAW;LL2:=CROSS(SUM((BG10 AND (CLOSE<(CB1*(1-(BG8/100))))),0),0.5),NODRAW;BG19:=(SUM(HH2,0)*CROSS(COUNT((CLOSE<REF(CLOSE,1)),BARSLAST(HH2)),0.5));BG20:=(SUM(LL2,0)*CROSS(COUNT((CLOSE>REF(CLOSE,1)),BARSLAST(LL2)),0.5));CS2:CONST(SUM(IF(BG19,REF(CLOSE,1),DRAWNULL),0)),COLORGREEN;CB2:CONST(SUM(IF(BG20,REF(CLOSE,1),DRAWNULL),0)),COLORMAGENTA;公眾號(hào):DRAWNULL,COLORYELLOW;標(biāo)哥的指標(biāo)庫(kù):DRAWNULL,COLORYELLOW;DRAWTEXT_FIX(C>O,0,0.07,0,'公眾號(hào):標(biāo)哥的指標(biāo)庫(kù)'),COLORMAGENTA;DRAWTEXT((BG13 OR BG19),(REF(CLOSE,1)*1.001),'賣(mài)'),COLORYELLOW;DRAWTEXT((BG14 OR BG20),(REF(CLOSE,1)*0.999),'買(mǎi)'),COLORYELLOW;價(jià)位:CLOSE,LINETHICK4,COLORWHITE;
|