通达信看牛股妖股波段顶底副图指标公式源码

对于绝大多数一买就跌一卖就涨,亏损严重的散户来说,最头疼的就是缺乏一个参照物。到底什么时候能买,什么时候能卖,完全凭情绪控制,这是亏损最大的问题。那么怎么解决这个问题。技术上是有很多可以参照的指标。这就是指标的价值。那么今天要介绍的这个指标,不能解决您所有问题,但是对解决广大散户迷茫的买卖及抓牛股抓妖股的问题有一定的帮助。在我看来,真正好的指标有以下几个特征:第一,没有未来函数,这是基础。第二,能够揭示股价历史涨跌的规律。所以我相对比较欣赏线性的指标,对于选股指标作为副图的,你也不知道为何出信号,加上这个世界上并没有百分百准确的指标,那哪个信号有效,哪个信号无效?无法判定。加上一般妖股牛股选股信号往往都有追高嫌疑,弄不好掉深坑里面。所以还是小心为妙。第三,特征比较明显。不是完完全全的一个走势的机械反映,没有任何预测性,这样的指标就是纯粹的马后炮,没有价值。
 在指标的使用上,我强调:第一,预测风险的价值可能更高于抓上涨买点的指标价值。为啥,避免明显的大坑其实更能提高散户盈利的胜率。所以看到一个指标,如果能够高胜率预测风险,往往意义更大于那些所谓的抓妖抓牛的指标。第二,要辩证地看待指标。指标不是万能的,但没有指标是万万不能的。既要看到指标的正面效应,更要看到指标的风险提示效应。这就是我看待和运用指标的辩证法。第三,要善于发现指标的极端情况。极端情况往往就是抓妖股牛股的关键。这就要拿一些妖股牛股来对照看指标的形态模型,这样为以后辨别妖股牛股提供参考。当然,要选择稳定的形态模型。这里不再赘述。
 

 

N:=21;

LC:=REF(CLOSE,1);

RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

E:=CROSS(83,RSI);
STICKLINE( E,E,55,2.7,0),COLORFF6600;

STICKLINE( E,E,55,2.1,0),COLORFF8800;

STICKLINE( E,E,55,1.5,0),COLORFFAA00;

STICKLINE( E,E,55,0.9,0),COLORFFCC00;

STICKLINE( E,E,55,0.2,0),COLORFFFF00;


DRAWTEXT(E,50,' 逃顶'),COLORFF9966;

TYP:=(HIGH+LOW+CLOSE)/3;

VARY11:=3;

VARY21:=(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));
股价准备启动:IF(CROSS(VARY21,VARY11),100,0),COLORRED,LINETHICK2;


主力线Y:=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),LINETHICK1,POINTDOT;

超短线:(((主力线Y-LLV(主力线Y,21))/(HHV(主力线Y,21)-LLV(主力线Y,21)))*(4))*(25),LINETHICK0,COLORLIRED;

轴:0,COLORFFFFFF;

 

VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(LLV(LOW,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; VAR9:=IF(VAR8>100,100,VAR8);
VAR5X:=LLV(LOW,75);
VAR6X:=HHV(HIGH,75);
VAR7X:=(VAR6X-VAR5X)/100;
VAR8X:=SMA((CLOSE-VAR5X)/VAR7X,20,1);
VARA:=3*VAR8X-2*SMA(VAR8X,15,1);
VAR26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR28:=SMA(VAR26,3,1);
VAR12:=(CLOSE-LLV(LOW,40))/LLV(LOW,40)*100,COLORYELLOW;
波段王:=SMA(VAR28,3,1);
建仓吸筹:IF(VAR8,VAR8,1),COLORRED;
趋势线:(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLORBLACK;
主力线G:=(CLOSE-MA(LLV(LOW,40),40))/MA(LLV(LOW,40),40)*100,COLORMAGENTA;
VAR1:=(LOW+HIGH+CLOSE)/3;
操作:=MA(VAR1,5);
拉升:=HHV(操作,13);
M1:=MA(C,5); M2:=MA(C,10);
M3:=MA(C,20); M4:=MA(C,30);
最大值:=MAX(MAX(M1,M2),MAX(M3,M4));
最小值:=MIN(MIN(M1,M2),MIN(M3,M4));
攻击线:28,COLORLIBLUE,DOTLINE;
BARSLAST(L<=最小值 AND C>=最大值)=0;
DRAWICON(CROSS(VAR12,攻击线) ,VAR12,9);
攻击:(VAR12+主力线G)/2,DOTLINE,COLORRED;

 

散户A:= 100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
RSVA:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
RSV1:=(C-MA(C,4))/MA(C,4)*100;
VARX2:=REF(LOW,1);
VARX3:=SMA(ABS(LOW-VARX2),3,1)/SMA(MAX(LOW-VARX2,0),3,1)*100;
VARX4:=EMA(IF(CLOSE*1.3,VARX3*10,VARX3/10),3);
VARX5:=LLV(LOW,30);
VARX6:=HHV(VARX4,30);
VARX7:=IF(MA(CLOSE,58),1,0);
VARX8:=EMA(IF(LOW<=VARX5,(VARX4+VARX6*2)/2,0),3)/618*VARX7;
VARX9:=IF(VARX8>100,100,VARX8);
KA:=SMA(RSVA,5,1);
DA:=SMA(KA,3,1);
JA:=3*KA-2*DA;
主力:=EMA(JA,6),COLORYELLOW;
AA3Y:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4Y:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5Y:=SMA(AA4Y,13,8);
走势Y:=CEILING(SMA(AA5Y,13,8)),COLORRED,LINETHICK2;
AA6Y:=SMA(AA3Y,21,8);
买观注: STICKLINE(走势Y-AA6Y<-65,0,7,15,1);
DRAWICON(FILTER(JA>REF(JA,1)AND 走势Y>=REF(走势Y,1)AND 走势Y<25 ,5),走势Y,1);
卖观注: STICKLINE(走势Y-AA6Y>85,98,90,15,1),COLORFFFF00;
DRAWICON(FILTER(JA<REF(JA,1)AND 走势Y<=REF(走势Y,1)AND JA>85 ,5),JA,2);
吸筹A:STICKLINE(VARX9>-120,50,50+(VARX9/2),8,1),COLORRED;
CDMA:EMA(EMA(RSV1,7),7)*8,NODRAW,COLORWHITE;
STICKLINE(CDMA>=0 AND CDMA>=REF(CDMA,1),50,50+CDMA,2.5,0),COLORDD55CC;
STICKLINE(CDMA>=0 AND CDMA<=REF(CDMA,1),50,50+CDMA,2.5,1),COLORDD55CC;
STICKLINE(CDMA<=0 AND CDMA>=REF(CDMA,1),50,50+CDMA,2.5,1),COLOR00D080;
STICKLINE(CDMA<=0 AND CDMA<=REF(CDMA,1),50,50+CDMA,2.5,0),COLOR00D080;
快线:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2,COLOR000080;
散户线:=散户A,COLORFFFFFF,LINETHICK1;
主力线:=主力,COLORYELLOW;
走势线:=走势Y,COLORMAGENTA,LINETHICK3;
DRAWTEXT(ISLASTBAR,散户线,' ←散户线'),COLORFFFFFF;
DRAWTEXT(ISLASTBAR,主力线,' ←主力线'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,走势线,' ←走势线'),COLORRED;
关注低买:IF(90>散户A AND CROSS(90,散户A) ,98,0),COLORMAGENTA,STICK,NODRAW;
{高抛低吸:IF(散户<10 AND CROSS(10,散户) ,20,0),COLORGREEN,STICK,NODRAW;}
风险:COUNT("RSI.RSI1"(6,12,24)>80,3)=3 AND CROSS("RSI.RSI2"(6,12,24),79.5),NODRAW;
观注顶:(散户A<8 AND 主力>90 AND 走势Y>90 AND CDMA<=REF(CDMA,1)AND 散户线),COLORGREEN,NODRAW;
DRAWTEXT(观注顶,-1,'◆'),COLORGREEN;
DRAWTEXT(风险,95,'←风险'),COLOR00FFFF;
STICKLINE(关注低买,0,100,0,-1),COLORMAGENTA;
{STICKLINE(高抛低吸,0,100,0,-1),COLORGREEN;};


机构做多能量线:=SMA((CLOSE-LLV(LOW ,9) )/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3;
机构做空能量线:=SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3;

M:=55;
NY:=34;
LCY:=REF(CLOSE,1);
RSIY:=((SMA(MAX((CLOSE - LCY),0),3,1) / SMA(ABS((CLOSE - LCY)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
VARB1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VARB2:=REF(LOW,1)*VARB1;
VARB3:=SMA(ABS(LOW-VARB2),3,1)/SMA(MAX(LOW-VARB2,0),3,1)*100*VARB1;
VARB4:=EMA(IF(CLOSE*1.3,VARB3*10,VARB3/10),3)*VARB1;
VARB5:=LLV(LOW,30)*VARB1;
VARB6:=HHV(VARB4,30)*VARB1;
VARB7:=IF(MA(CLOSE,58),1,0)*VARB1;
VARB8:=EMA(IF(LOW<=VARB5,(VARB4+VARB6*2)/2,0),3)/618*VARB7*VARB1;
吸筹:IF(VARB8>100,100,VARB8)*VARB1,COLORRED;
{庄家吸筹:STICKLINE(吸筹>-150,0,吸筹,8,0),COLORRED;}
散户:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORLIBLUE,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,NY))/(HHV(HIGH,NY)-LLV(LOW,NY))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
庄家:=EMA(J,6),COLORLIRED,LINETHICK2;

 

X_1:=REF(LLV(LOW,152),1);
X_2:=REFDATE(X_1,DATE);
X_3:=REFDATE(X_2,DATE);
X_4:=X_3=LOW AND (HIGH+LOW<OPEN+CLOSE OR OPEN+LOW<HIGH+OPEN);
X_5:=DRAWTEXT(X_4,LOW*1,5);
XG:=X_4 AND FINANCE(7)<15000000512 AND DYNAINFO(17)>0.5,NODRAW;
先于庄家:XG,NODRAW;

 

 

VARY1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;

VARY2:=SMA(VARY1,9,1)+100;

VARY3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VARY4:=SMA(VARY3,3,1);

VARY5:=SMA(VARY4,3,1)+100;

VARY6:=VARY5-VARY2;

趋势:IF(VARY6>45,VARY6-45,0);

0,COLOR00FFFF;

20,POINTDOT,COLORFFAA66,LINETHICK1;

80,POINTDOT,COLORFFAA66,LINETHICK1;

100,COLORFFFF33;

V1:=LLV(LOW,10);

V2:=HHV(H,25);

价位线:=EMA((C-V1)/(V2-V1)*4,4);
DRAWTEXT(CROSS(价位线,0.3),20+4,'●买'),COLORRED;

DRAWTEXT(CROSS(3.5,价位线),100-4,'●卖'),COLORGREEN;

VARY2Q:=REF(LOW,1);

VARY3Q:=SMA(ABS(LOW-VARY2Q),3,1)/SMA(MAX(LOW-VARY2Q,0),3,1)*100;

VARY4Q:=EMA(IF(CLOSE*1.3,VARY3Q*10,VARY3Q/10),3);

VARY5Q:=LLV(LOW,30);

VARY6Q:=HHV(VARY4Q,30);

VARY7Q:=IF(MA(CLOSE,58),1,0);

VARY8Q:=EMA(IF(LOW<=VARY5Q,(VARY4Q+VARY6Q*2)/2,0),3)/618*VARY7Q;

VARY9Q:=IF(VARY8Q>100,100,VARY8Q);

STICKLINE(VARY9Q>-120,0,VARY9Q,6.1,0),COLOR0000AA;

STICKLINE(VARY9Q>-120,0,VARY9Q,4.9,0),COLOR0000BB;

STICKLINE(VARY9Q>-120,0,VARY9Q,3.8,0),COLOR0000CC;

STICKLINE(VARY9Q>-120,0,VARY9Q,2.7,0),COLOR0000DD;

STICKLINE(VARY9Q>-120,0,VARY9Q,1.6,0),COLOR0000EE;

STICKLINE(VARY9Q>-120,0,VARY9Q,0.4,0),COLOR4444FF;

STICKLINE(趋势,(REF(趋势,1)),趋势,3.2,0) ,COLOR0044FF;

STICKLINE(趋势,(REF(趋势,1)),趋势,2.7,0) ,COLOR0066FF;

STICKLINE(趋势,(REF(趋势,1)),趋势,2.1,0) ,COLOR0088FF;
STICKLINE(趋势,(REF(趋势,1)),趋势,1.5,0) ,COLOR00AAFF;

STICKLINE(趋势,(REF(趋势,1)),趋势,0.9,0) ,COLOR00CCFF;

STICKLINE(趋势,(REF(趋势,1)),趋势,0.2,0) ,COLOR00FFFF;

粉红持有:=REF(趋势>REF(趋势,1),1);

STICKLINE(粉红持有,(REF(趋势,1)),趋势,3.2,0),COLOR770077;

STICKLINE(粉红持有,(REF(趋势,1)),趋势,2.7,0),COLOR990099;

STICKLINE(粉红持有,(REF(趋势,1)),趋势,2.1,0),COLORBB00BB;

STICKLINE(粉红持有,(REF(趋势,1)),趋势,1.5,0),COLORDD00DD;

STICKLINE(粉红持有,(REF(趋势,1)),趋势,0.9,0),COLORFF00FF;

STICKLINE(粉红持有,(REF(趋势,1)),趋势,0.2,0),COLORFF66FF;

绿色减仓:=趋势<REF(趋势,1);

STICKLINE(绿色减仓,(REF(趋势,1)),趋势,3.2,0 ),COLOR003300;

STICKLINE(绿色减仓,(REF(趋势,1)),趋势,2.7,0 ),COLOR006600;

STICKLINE(绿色减仓,(REF(趋势,1)),趋势,2.1,0 ),COLOR009900;

STICKLINE(绿色减仓,(REF(趋势,1)),趋势,1.5,0 ),COLOR00CC00;

STICKLINE(绿色减仓,(REF(趋势,1)),趋势,0.9,0 ),COLOR00FF00;

STICKLINE(绿色减仓,(REF(趋势,1)),趋势,0.2,0 ),COLORCCFF66;

AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;

AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;

AA5:=SMA(AA4,13,8);

走势:=CEILING(SMA(AA5,13,8));

AA6:=SMA(AA3,21,8);
STICKLINE(XG>REF(XG,1) AND XG>0,0,10*XG,6,0),COLOR660066;
STICKLINE(XG>REF(XG,1) AND XG>0,0,10*XG,3,0),COLORRED;
DRAWICON(XG>REF(XG,1) AND XG>0,9.5,25);
DRAWICON(XG>REF(XG,1) AND XG>0,8,26);
DRAWICON(XG>REF(XG,1) AND XG>0,6.5,24);
DRAWICON(XG>REF(XG,1) AND XG>0,4.5,9);
DRAWTEXT(XG,7.5,'先于庄家抄底'),COLORRED;
卖临界:STICKLINE(走势-AA6>85,103,100,15,1),COLOR0000FF,LINETHICK2;
第一买点:DRAWTEXT(CROSS(14,吸筹),10,'B1'),COLORYELLOW;
第二买点:DRAWTEXT(CROSS(庄家,散户) AND 庄家<50,30,'B2'),COLORRED;
第一卖点:DRAWTEXT(CROSS(88,庄家),80,'S1'),COLORGREEN;
第二卖点:DRAWTEXT(CROSS(散户,庄家),60,'S2'),COLORCYAN;
主:(主力线+主力线G+庄家+机构做多能量线+走势线)/5,COLORRED,LINETHICK1;
E主:EMA(主,13),COLORRED,LINETHICK3;
散:(机构做空能量线+散户+散户线)/3,COLORGREEN,LINETHICK1;
E散:EMA(散,13),COLORGREEN,LINETHICK3;
E攻:EMA(攻击,13),COLORYELLOW;
 




未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图