FD02:=IF(BARSLAST(FG01)=BARSLAST(FD01) AND D>G,FD01,G1:=(FG0 AND REF(H,BARSLAST(FG0))>=REF(H,BARSLAST(G1X)) ANDBARSLAST(D1X)>BARSLAST(G1X))D1:=(FD0 AND REF(L,BARSLAST(FD0))<=REF(L,BARSLAST(D1X)) ANDBARSLAST(G1X)>BARSLAST(D1X))G1H:=IF(BARSLAST(D1)>BARSLAST(G1),REF(H,BARSLAST(G1)),REF(H,BARSLAST(D1))),;D1L:=IF(BARSLAST(G1)>BARSLAST(D1),REF(L,BARSLAST(D1)),REF(L,BARSLAST(G1)));
G1:=(FG0 AND REF(H,BARSLAST(FG0))>=REF(H,BARSLAST(G1X)) AND BARSLAST(D1X)>BARSLAST(G1X))OR (FD1 AND COUNT(DQ,BARSLAST(FG1))>0 AND REF(L,BARSLAST(FD1))G1H:=IF(BARSLAST(D1)>BARSLAST(G1),REF(H,BARSLAST(G1)),REF(H,BARSLAST(D1))),;D1L:=IF(BARSLAST(G1)>BARSLAST(D1),REF(L,BARSLAST(D1)),REF(L,BARSLAST(G1)));G3:=G2 OR (FG0 AND REF(H,BARSLAST(FG0))>REF(H,BARSLAST(G2)) AND BARSLAST(D2)>BARSLAST(G2));
炒股秘籍一陽(yáng)穿三線、一陽(yáng)蓋雙陰等選股公式(附源碼)MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);A1:=REF(CLOSE,1)A2:=CLOSE>OPEN AND C/REF(C,1)>1.03 AND VOL>REF(VOL,1) AND CLOSE>MAX(MA5,MAX(MA10,MAX(MA20,MAX(MA60,MA120))));LL:=MIN(MA(C,20),MIN(MA(C,5),MA(C,10)));HH:=MAX(MA(C,20),MAX(MA(C,5),MA(C,10)));T6:=VOL>REF(VOL,1) AND VOL>REF(VOL,2);T7:=REF(VOL,3)>REF(VOL,2) AND REF(VOL,3)>REF(VOL,1);
五彎十--5天線彎向十天線選股公式{五彎十}A1:=(C20>REF(C20,1)) AND (REF(C20,1)>REF(C20,2));A2:=(C10>REF(C10,1)) AND (REF(C10,1)>REF(C10,2));{20日均線向上且收盤(pán)股價(jià)離5天線或十天線不能過(guò)遠(yuǎn),5天線離十天線也不宜過(guò)遠(yuǎn),過(guò)遠(yuǎn)則大形態(tài)調(diào)整時(shí)間可能不夠}A5:=(REF(V6,2)>=REF(V6,1)) AND (REF(V6,3)>=REF(V6,2));T1:=REF(C5,1)-REF(C10,1);
一陽(yáng)穿三線戰(zhàn)法(附選股公式)一陽(yáng)三線意思是一根陽(yáng)線上穿三條壓力均線,一般表現(xiàn)為主力拉升前的征兆,主力拉升連續(xù)突破多條壓力均線,顯示拉升意圖明顯。一陽(yáng)三線選股公式:MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);低:=REF(C,1)<MA5 AND REF(C,1)<MA10 AND REF(C,1)<MA20;高:=CROSS(C,MA5) AND CROSS(C,MA10) AND CROSS(C,MA20);第二步:將代碼復(fù)制到公式編輯器的空白處,填上公式名稱和描述,點(diǎn)擊確定。
IF(EMA89>REF(EMA89,1),EMA89,DRAWNULL),LINETHICK2,COLORRED;STICKLINE((SS=1 OR SS=2) AND SMAA:=CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)=REF(CLOSE,5)),IF(REF(CLOSE,5)BB:=CLOSEREF(CLOSE,3) AND IF(REF(CLOSE,3)>REF(CLOSE,4),1,IF(REF(CLOSE,4)>REF(CLOSE,5),REF(CLOSE,1)>REF(CLOSE,4) OR (REF(CLOSE,2)>REF(CLOSE,4) AND REF(CLOSE,3)REF(CLOSE,6),1,REF(CLOSE,6)>REF(CLOSE,7))));