【股票入门】同花顺源码:天狼剑副图+徐小明老师的定量结构
天狼剑副图: B1:=MA(C,1); B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1); SMA2:=MA(B2,3); 停损下限:IF(LLV(MA(B2,8),3)B2,LLV(MA(B2,8),3),B2); IF(B2SMA2,B2,DRAWNULL),colorred,LINETHICK4; IF(B2SMA2,B2,DRAWNULL...
天狼剑副图: B1:=MA(C,1); B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1); SMA2:=MA(B2,3); 停损下限:IF(LLV(MA(B2,8),3)B2,LLV(MA(B2,8),3),B2); IF(B2SMA2,B2,DRAWNULL),colorred,LINETHICK4; IF(B2SMA2,B2,DRAWNULL...
KDJ新改指标: cs=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100; a=EMA(cs,3,1); b=EMA(a,2,1); e=3*a-2*b; LOWV:=LLV(LOW,8); HIGHV:=HHV(HIGH,8); RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3); 上:=EMA(RS...
加仓: 短期线:EMA(CLOSE,6); 持股线:EMA(CLOSE,14),LINETHICK1; 双月线:EMA(CLOSE,56); 牛熊线:EMA(CLOSE,166); X1:=(C+L+H)/3; BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10; EMA8:=EMA(C,8);...
五指抄底: 思路是提取十条指标的核心算法, 数据为多头的时候标记为1,,,, 十个指标全是空头时,反而是大底, 所以出现大底时提示买入. 其实可以无限添加各...
三线共振: ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算} SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//散户筹码估算} ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率} ...
1、不贪通道副图 {不贪通道} VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=3*VAR2-2*VAR3; VAR5:=LLV(LOW,5); VAR6:=HHV(HIGH,5); VA...
超强主力副图: RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; VAR2:=1/WINNER(CLOSE); VAR3:=MA(CLOSE,13); VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100); ...
短线极地上涨: 自用的小指标,看看就好,自用的小指标,看看就好, VA1:=HHV(HIGH,9)-LLV(LOW,9); VA2:=HHV(HIGH,9)-CLOSE; VA3:=CLOSE-LLV(LOW,9); VA4:=VA2/VA1*100-70; VA5:=(CLOSE...
精准KDJ: 精准KDJ5 买入需符合下述条件:指标到底部位置,在黄线支撑位附近;白线低位金叉黄线 80,colorlired; RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; K0:=...
振幅活跃度: ZF:(H-L)/REF(CLOSE,1)*100, COLORSTICK; TJ:COUNT((ZF=W) ,T); 自己专用副图: DRAWGBK(C0, RGB(50,60,250),RGB(17,21,89),0,'11',0); H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAIN...
箱体支撑压力主副图及选股: 箱体支撑压力,这个公式能够比较明了看出支撑,压力和箱体,以及买卖点的主图公式 同时奉上附图指标和选股指标; 可在箱...
彩钻花神: 花:=EMA(SLOPE(1,1)+C,3),COLORRED; 女:=EMA(SLOPE(1,1)+C,7),COLORBLUE; DRAWTEXT(COUNT (花女,5)=4 AND 花=女,C*0.95,'B'), COLORRED; DRAWTEXT(COUNT (花=女,5)=4 AND 花女,C*1.08,'S'), ...
买卖特准: 提供低吸出击波段买入信号,还是可参考的 {买卖特准} MA13:=MA(C,13); MA34:=MA(C,34); MA55:=MA(C,55); VAR1:=(100-((90*(HHV(HIGH,21)-CLOSE))/ (HHV(HIGH,21)-LLV(LOW,21)))...
RXB: B:ZIG(3,10),coloryellow; G:=MA(B,2),colorred; D:=EMA(B,34),colorgreen; J:=EMA(B,144),colorligreen; DRAWICON(CROSS(B,G),B-0.1,1); DRAWICON(CROSS(G,B),G+0.1,2); //DRAWTEXT(CROSS(B,G),B*0.85,"建"),c...
可可金叉 底部确认指标: 本指标是利用量价跌幅及成本堆积的道理编写而成,简单易用。底部确认后有效帮助你成功低吸。 具体用法: C1,C2,C3,C4线走平...
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2,COLORSTICK; SA:=INTPART(MACD*100+0.5)/100,COLORYELLOW,NODRAW; 红天数:=IF(MACD>0,BARSLAST(CROSS(MACD,0)),DRAWNULL),COLORYELLOW,NOD...
DRAWRECTREL(0,0,990,990,RGB(20,18,12)); DRAWTEXT_FIX(1,0.14,0.01,1,股东股份:),COLORRED; 品种类型:=FINANCE(3); 所属板块:=HYBLOCK; 上市天数:=FINANCE(42); 股总市值:=ROUND(FINANCE(41)...
洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; 洗钱B:=SMA(洗钱A,13,1); 洗钱C:SMA(洗钱B,5.5,1.5),POINTDOT; 洗钱D:3*洗钱B-2*洗钱C; 洗钱E:4*洗钱C-3*洗钱B; 量1:=EMA...
VAR1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR2:=2*ABS(VAR1); VAR3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,...
{变色KD,取值932} {当K80,加粗变绿色,开始准备卖。} RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:SMA(RSV,3,1),COLORWHITE; D:SMA(K,2,1),COLORYELLOW; IF(K80,D,DRAWNULL),COLO...