C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- F:=100*(C-REF(C,1))/REF(C,1);
- 今小昨:=IF(C<REF(O,1) AND F<0,1,0);
- P1:=今小昨;
- 今小前:=IF(C<REF(O,2) AND F<0,1,0);
- P2:=今小前;
- XG:P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
- VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
- VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- A:=INDEXC>MA(INDEXC,4);
- VAR19:REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1 AND A;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- K:=(C+H+L)/3;
- D:=MA(K,4);
- REF(C,1)<D AND C>D AND D<REF(D,1);
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- A1:=MA(H,6);
- A2:=MA(L,6);
- A3:IF(C>REF(A1,1),A2,IF(C<REF(A2,1),A1,A2)),COLORGRAY,LINETHICK1;
-
- 涨家数:INDEXADV,NODRAW, ;
- 跌家数:INDEXDEC,NODRAW,COLORGREEN;
- C3:=REF(C,1);
- 涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
- STICKLINE(涨停,OPEN,CLOSE,1,0),COLORRED;
- 跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
- STICKLINE(跌停,OPEN,CLOSE,1,0),COLORGREEN;
-
- VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
- VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
- VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- 短线:REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1,COLORYELLOW,NODRAW;
- STICKLINE(短线,O,(C+O)/2,1.5,0),COLORYELLOW;
-
- F:=100*(C-REF(C,1))/REF(C,1);
- 今小昨:=IF(C<REF(O,1) AND F<0,1,0);
- P1:=今小昨;
- 今小前:=IF(C<REF(O,2) AND F<0,1,0);
- P2:=今小前;
- 爱琴海:P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,COLORMAGENTA,NODRAW;
- STICKLINE(爱琴海,C,(C+O)/2,1.5,0),COLORMAGENTA;
-
- {自动分割画线}
- E1P:DRAWLINE(C=LLV(C,30),LOW,C=LLV(C,10) AND C>LLV(C,22),LLV(LOW,3),1),
- LINETHICK2,COLORYELLOW;
- E1PP:DRAWLINE(C=LLV(C,10),LOW,C=LLV(C,5) AND C>LLV(C,10),LLV(LOW,3),1),
- LINETHICK2,COLORRED;
-
- K:=(C+H+L)/3;
- D:=MA(K,4);
- B:REF(C,1)<D AND C>D AND D<REF(D,1),NODRAW,COLORRED;
- DRAWICON(REF(C,1)>D AND C<D AND D>REF(D,1),H*1.002, 2);
- DRAWICON(REF(C,1)<D AND C>D AND D<REF(D,1),E1PP*0.965 ,23);
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- VR2:=(2*CLOSE+HIGH+LOW)/4;
- VR4:=LLV(LOW,5);
- VR5:=HHV(HIGH,4);
- 散户:=EMA((VR2-VR4)/(VR5-VR4)*100,4);
- 庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2);
- 短线高手:IF(CROSS(散户,庄家) AND 散户<50 AND 29<散户 AND C>O,40,0),COLORRED,LINETHICK2;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K1:=SMA(RSV9,3,1);
- DK1:=K1-REF(K1,1),COLORSTICK;
- 出手就赢:DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,COLORRED,LINETHICK2;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K:SMA(RSV,3,1),COLORWHITE;
- D:SMA(K,3,1),COLORYELLOW ;
- BIAS1:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
- A1:=CROSS(K,D) AND CROSS(K,D)<16 AND BIAS1<-6;
- 黄金浪:IF(A1,40,0),COLORFF00FF;
- N:=5;
- VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
- 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
- VAR2:8,COLORGREEN,LINETHICK0;
- 买: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;
- 盯庄: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;
- DRAWTEXT(CROSS(VAR1,VAR2),80,'买﹩'),COLOR00FFFF;
- VARO5:=LLV(LOW,27);
- VARO6:=HHV(HIGH,34);
- VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
- 建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;
- 0,LINETHICK2 ,COLORFFCC00;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- N1:=7;
- N2:=14;
- N3:=21;
-
- LC:=REF(CLOSE,1);
- RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORRED,LINETHICK2;
- RSI2:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N2,1)*100,COLORGRAY,LINETHICK2;
- RSI3:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLORLIBLUE,LINETHICK2;
- RSI4:SMA(RSI3,7,1),LINETHICK2,COLOR00CD00;
- 趋势F:=EMA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF;
- 趋势8:=EMA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD;
- 趋势:=EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLOR6F4242
- ,LINETHICK2;
- WR1:=EMA(趋势F,7)*1.372,COLORRED,LINETHICK2;
- WR2:=WR1*1.0887;
- WRF:(1.5*(趋势8+RSI4)-(WR2+WR1))+12,COLOR3377FF,COLORBLUE,LINETHICK2;
- 上:IF(WRF>REF(WRF,1),WRF,DRAWNULL),COLORBLUE;
- 下:IF(WRF<REF(WRF,1),WRF,DRAWNULL),COLORYELLOW,LINETHICK2;
- 界:38,COLORLICYAN;
- 加仓线:51,COLORLIMAGENTA;
- 强:70,COLORGREEN;
- BUY:IF((CROSS(WR1,趋势) OR CROSS(WR1,WRF) AND WRF<界 AND RSI2<加仓线),48,38),COLORRED,NODRAW;
- XG:IF((CROSS(RSI2,RSI4) OR CROSS(RSI2,WRF) AND WRF<界 AND RSI1<加仓线),48,38),COLORYELLOW,NODRAW;
- STICKLINE((CROSS(WR1,趋势) OR CROSS(WR1,WRF))AND WRF<界 AND RSI2<加仓线,39,42,3,0),COLORRED;
- STICKLINE((CROSS(RSI2,RSI4) OR CROSS(RSI2,WRF))AND WRF<界 AND RSI1<加仓线,39,42,2.5,0),COLORYELLOW;
- DRAWICON(FILTER(WRF>REF(WRF,1) AND REF(WRF,1)<REF(WRF,2) AND WRF<38,5),WRF*0.965,9);