x1:=(C-REF(C,1))/REF(C,1)*100=3; x2:=COUNT(ALL(CO,2),BARSLAST(ALL(CO,2)=0))=1ALL(CO,2); 预选:(x1||x2)*4,COLORGREEN;//选出放在自选池中关注 x3:=x1ALL(CO,2); x4:=CROSS(REF(C,1),L); x5:=FILTER(x2||x3||x4,3)ref(x1,1); 低位介入:(FILTER(x3||x5,3)ref(预选,1...
VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100; VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100; VAR3:=SMA(VAR2,2,1); 天:100+(-ABS(VAR1)),COLORRED; 下:SMA(VAR3,2,1); 无:ABS(VAR1),COLORGREEN; 敌:50,COLORFFAA00,LINETHICK3; A:80; B:20; 买:STICKLI...
{N1:1,100,10;N2:1,100,10;DISP:=1,3,2}; N1:=10;N2:=10;DISP:=2; K:=IF(PERIOD=5,1,{日} IF(PERIOD=6,1,{周} IF(PERIOD=7,1,{月} IF(PERIOD=8,1,{多分钟} IF(PERIOD=9,1,{多日} IF(PERIOD=10,1,{季} IF(PERIOD=11,2,{年} IF(PERIOD=4,1,{60F} IF(PERIOD=3,1,{30F} IF(...
短线赢家简化 股价趋势: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK0; 底部警戒: 10,COLORRED,LINETHICK2; 买入警戒:STICKLINE(股价趋势=10,0,20,2,0),COLOR0...
{MACD红绿柱面积(飞狐副图)} DIFF1:=EMA(CLOSE,s) - EMA(CLOSE,p); DEA1:=EMA(DIFF1,m); MACD:2*(DIFF1-DEA1){,COLORSTICK},LINETHICK0; MACDhs:=IF(MACD0 AND MACD=REF(MACD,1),MACD,0); MACDhx:=IF(MACD0 AND MACD=REF(MACD,1),MACD,0); MACDlx:=IF(MACD0 AND MACDRE...
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1),COLORWHITE; D:=SMA(K,3,1),COLORYELLOW; J:=3*K-2*D,COLORFF00FF; 买进:CROSS(J,0) ; 低位区翻红买进:J5; X:=LLV(J,2)=LLV(J,8); 不涨二次全仓:CROSS(J,REF(J+0.01,1)) AND X AND J10;...
买:=IF(KDJ.J(27,3,3)0,10,0); 条件:=CROSS(9.9,买); VAR1:=(2*CLOSE+HIGH+LOW)/4; VAR2:=LLV(LOW,5); VAR3:=HHV(HIGH,5); VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5); MA1:=MA(VAR4,2); AA:STICKLINE(VAR4MA1,VAR4,MA1,3,1),COLORRED; AAA:IF(VAR4MA1,VAR4,MA1),COLOR...
MA1:EMA(C,5),COLOR0000FF,LINETHICK2; MA2:REF(MA1,1),COLORFFFFFF; MA3:EMA(EMA(C,7),6),COLOR00FFFF,LINETHICK2; FILLRGN(MA2,MA1,MA2=MA1),COLORRED; FILLRGN(MA1,MA2,MA1=MA2),COLORGREEN; FILLRGN(MA2,MA3,MA2=MA3),COLORBLUE; FILLRGN(MA2,MA3,MA2=MA3),COLORFF...
BQ:=IF((SYSPARAM(1) = (BARSSINCE((C 0)) + 1)),1,0); BQ1:=(HREF(L,1));BQ2:=(LREF(H,1)); BQ3:=REF(L,1)-H;BQ4:=L-REF(H,1); BQ5:=REF(L,1); BQ6:=H; BQ7:=REF(H,1); BQ8:=L; QZH:=IF(BQ1,BQ1,BQ2); QZH1:=IF(BQ1,BQ5,BQ7); QZH2:=IF(BQ1,BQ6,BQ8); QK:=IF(CO,C,O);...
W:=BARSLAST(DAY!=REF(DAY,1)); CPRICE:=REF(C,W+1),COLORRED,NODRAW; STICKLINE(1,CPRICE,CPRICE,5,1),COLORFFA2FF; AAA:=CURRBARSCOUNT; A1A:=DAY!=REF(DAY,1); A2A:=BARSLAST(A1A)+1; A3A:=MA(C,A2A); A4A:=SUM(AMO,A2A)/SUM(VOL,A2A)/100; A5A:=IF(CAPITAL0,A4A,A3...
A101:=REF(H,8)=HHV(H,2*8+1); B101:=FILTER(A101,8); C101:=BACKSET(B101,8+1); D101:=FILTER(C101,8); R1011:=BACKSET(ISLASTBAR,BARSLAST(D101)+1); S11:=R1011REF(R1011,1); 高点连线:=趋势线数值(D101,H,S11,H,0,0),COLORWHITE; 突破:CROSS(c,高点连线) and c/ref...
STICKLINE(C,200,200,3,1),COLORBLUE; STICKLINE(C,150,150,3,1),COLORGREEN; STICKLINE(C,100,100,3,1),COLORYELLOW; TYP:= (HIGH + LOW + CLOSE)/3; AA:=EMA((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),2); BB:=EMA((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),5); CC:=...
Var2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100; Var3:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1)*100; Var4:=Var2-Var3; Var5:=(OPEN-REF(CLOSE, 1))/REF(CLOSE, 1)*100; Var6:=(INDEXO-REF(INDEXC, 1))/REF(INDEXC, 1)*100; Var7:=Var5-Var6; STICKLINE(Var4=0, SUM(...
通道突变 {N1:17 5 50 N2:37 10 100 N3:17 2 34 N4:5 2 20} CJ:=(2*CLOSE+HIGH+OPEN+LOW)/5; DIFF:=EMA(CJ,N1)-EMA(CJ,N2); DEA:=EMA(DIFF,N3); MACD:=30*(DIFF-DEA); MARD:=SMA(MACD,N4,1); 地线:=LLV(MARD,70); 天线:=HHV(MARD,117); 长线能量1:=IF(MA(地线,5)-8,地...
A1:=EMA(CLOSE,7)-EMA(CLOSE,21); B1:=EMA((0.668*REF(A1,1)+0.333*A1),1); 短多:IF(A1=B1,A1,B1); 短空:IF(B1-A1,B1,A1);...
//鐵鍋炒股...
仓量饱和 {参数N=21} {N天仓量增减} DRAWGBK(CLOSE,COLORRGB(5,2,0),COLORRGB(5,2,0),1); 大买:=EXTDATA(1),PRECISION; 大卖:=EXTDATA(2),PRECISION; 主力仓量:=sum(大买-大卖,0)/FINANCE( 7),COLORGRAY; //第一股票公式网 http://www.ChnMoney.com 整理 三天前仓:=ref(主...
精品公式(中国结) VOLUME:VOL,VOLSTICK; VAR1:=VOL/((H-L)*2-ABS(C-O)); 主买:=IF(CO,VAR1*(H-L),IF(CO,VAR1*((H-O)+(C-L)),VOL/2)),COLORRED; 主卖:=IF(CO,0-VAR1*((H-C)+(O-L)),IF(CO,0-VAR1*(H-L),0+V/2)),COLOR00FF00; 【差】:(主买+主卖),COLOR0000FF; K:=IF(【...
二次警报 Var1:=EMA(MA(IF(CLOSEOPEN,(CLOSE-OPEN)*VOL,IF(CLOSEOPEN,(CLOSE-OPEN)*VOL,0)),5),1); Var2:=EMA(MA(IF(CLOSEREF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,IF(CLOSEREF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,0)),5),1); Var3:=EMA(MA(IF(OPENREF(CLOSE,1),(OPEN-R...
{梁队长选股} LC := REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,; WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); WR反向:=(0-WR)-100,COLORYELLOW; RSI买点:=RSI20 AND RSIREF(RSI,1); WR反向买点:=WR反向-80 AND WR反向R...