C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- V1:=(C*2+H+L)/4*10;
- V2:=EMA(V1,13)-EMA(V1,34);
- V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
- 主力撤: IF(V4<=0,V4,0),colorblue;
- 主力进: IF(V4>=0,V4,0),colorff00ff;
- V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
- V6:=EMA(3*V5-2*SMA(V5,18,1),5);
- V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
- V8:=(INDEXC*2+INDEXH+INDEXL)/4;
- V9:=EMA(V8,13)-EMA(V8,34);
- VA:=EMA(V9,3);
- VB:=(V9-VA)/2;
- 大盘资金进场:IF(VB>=0,VB,0),Colorred;
- 大盘资金撤走:IF(VB<=0,VB,0),colorgreen;
- V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
- 趋势线: EMA(V11,3);
- V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
- 准备现金: STICKLINE(趋势线<=13,0,20,5,0),colorcc9900;
- aa:=(趋势线<=13) and filter((趋势线<=13),15);
- drawtext (aa,30,'准备现金'),colorcc9900;
- 买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),color0099ff;
- bb:= (趋势线<=13 AND V12>13) and filter((趋势线<=13 AND V12>13),10) ;
- drawtext (bb,60,'买入股票'),color0099ff;
- 卖临界: STICKLINE(趋势线>90 and 趋势线>ref(趋势线,1),100,95,15,1),COLORFFFF00;
- 见顶清仓:filter(趋势线>90 and 趋势线<ref(趋势线,1) and 主力进<ref(主力进,1),8);
- DRAWTEXT( 见顶清仓,90,'逃顶'),coloryellow;
- cc:=(趋势线>=90 AND V12) and filter((趋势线>=90 AND V12),10);
- stickline(大盘资金进场 and 趋势线<13,0,30,10,0),colorred;
- stickline(大盘资金撤走 and 趋势线>90,0,30,10,0),colorgreen;
- stickline(主力进 and 趋势线<13,0,40,10,0),colorff00ff;
- stickline(主力撤 and 趋势线>90,0,40,10,0),colorblue;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
- VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
- VAR3:=EMA(VAR2,10);
- VAR4:=LLV(LOW,33);
- VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
- 主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED;
- STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLORRED;
- 洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- VAR1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
- VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- VAR3:=(SMA(VAR2,3,1)-18)*1.55;
- VAR4:=SMA(VAR3,3,1);
- VAR5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
- VAR6:=SMA(VAR5,10,1);
- VAR7:=(EMA(SMA(VAR6,8,1),34)-25)*2.6;
- VAR8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
- VAR9:=POW(MA(LOW,5),2)+MA(LOW,5);
- VARA:=POW(MA(HIGH,5),2)+MA(HIGH,5);
- VARB:=((VAR8-LLV(VAR9,64))/(HHV(VARA,64)-LLV(VAR9,64))*150+65-10)/2;
- VARC:=SMA(VARB,3,1)*1.5-46;
- VARD:=SMA(VARC,3,1);
- VARE:=3*VARC-2*VARD;
- VARF:=(VAR1+VAR2+VAR5)/3;
- VAR10:=((VAR3+VAR3+VAR6+VARC)/4-15)*1.67;
- VAR11:=((VAR4+VAR4+VAR7+VARD)/4-15)*1.67;
- VAR12:=((VAR1+VAR5*2+VARF+VAR10+VAR11+VARB+VARC+VARD+VARE)/10-15)*1.67;
- VAR13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
- VAR14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
- VAR15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
- VAR16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
- VAR17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
- VAR18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
- VAR19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
- VAR1A:=((VAR13*8+VAR14*8+VAR15*8+VAR16+VAR17+VAR18+VAR19)/28-0.1)*185;
- VAR1B:=SMA(VAR1A,3,1);
- VAR1C:=(SMA(VAR1B,8,1)-8)*1.18;
- 浮动筹码:= (VAR10+VAR11+VAR12+VARC+VARD+VARE+VAR1C+VAR7)/13 ;
- 浮动筹码:= (VAR10+VAR11+VAR12+VARC+VARD+VARE+VAR1C+VAR7)/21 ;
- 浮动筹码:= (VAR10+VAR11+VAR12+VARC+VARD+VARE+VAR1C+VAR7)/34;
- 获利筹码:= (VAR3+VAR6+VAR1B*2)/4 ;
- 40;
- 20;
- 0;
- VARA1:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;
- VARB1:=SMA(VARA1,7,1);
- VARC1:=SMA(VARB1,5,1);
- 英雄:IF(CROSS(VARB,VARC) AND VARB<20,100,0),LINETHICK2,COLORRED;
- VAR2N:=LLV(LOW,3)<=LLV(LOW,60);
- VAR3N:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
- 绝地反击:IF(VAR2N AND VAR3N,90,0),COLORYELLOW,LINETHICK2;