打板法典看盘主图通达信公式 主图 源码附图

均价线:=AMOUNT/V/100;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,1.35,0),COLORRED,COLORYELLOW;
STICKLINE(涨停,OPEN,CLOSE,3.6,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
B1W:='┄┄┄┄';
DRAWTEXT(均价线 AND 涨停,均价线,B1W),COLORGREEN;
B3W:='┄┄┄┄';
DRAWTEXT((O+C)/2 AND 涨停,(O+C)/2 ,B3W),COLORMAGENTA;
B2W:='┄┄┄┄';
DRAWTEXT(涨停,L,B2W),COLORGRAY;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,20)*20+C,55);
STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORCYAN;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORCYAN;
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,2,0),COLOR00FFFF;
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,2.2,0),COLORFF0000;
DRAWTEXT(涨停,H*0.998,' --涨停'),COLORYELLOW;
{生命线}
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:(16*MID+15*REF(MID,1)+
14*REF(MID,2)+13*REF(MID,3)+12*REF(MID,4)+11*REF(MID,5)+10*REF(MID,6)+9*REF(MID,7)+
8*REF(MID,8)+7*REF(MID,9)+6*REF(MID,10)+5*REF(MID,11)+4*REF(MID,12)+3*REF(MID,13)+
2*REF(MID,14)+REF(MID,15))/135,COLORRED;
马线:EMA(牛线,5),COLORGREEN;
水平面:MA(CLOSE,31),DOTLINE,COLORYELLOW;
VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR2:=REF(VAR1,1);
VAR3:=SMA((CLOSE-VAR2),6,1)/SMA(ABS(CLOSE-VAR2),6,1)*100;
VAR4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
VAR5:=EMA(0.667*REF(VAR4,1)+0.333*VAR4,5);
VAR6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(VAR4>=VAR5 AND VAR4<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0);
VAR7:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
VAR8:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;
VAR9:=IF(COUNT(VAR8<20,5)>=1 AND COUNT(VAR1=LLV(VAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWICON(FILTER(REF(VAR3,1)>81 AND VAR3<80 OR CROSS(82,VAR7),5),H/0.98,2);
DRAWICON(FILTER(VAR9 OR VAR6,5),L*0.97,1);
DRAWICON(CROSS(买线,卖线) AND H/C<1.03,L*0.97,1);
DRAWICON(CROSS(卖线,买线) ,H*1.02,2);
DRAWICON(CROSS(牛线,马线) AND H/C<1.03,L*0.97,25);
DRAWICON(CROSS(马线,牛线) ,H*1.0298,27);
VAR1X:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),20);
VAR2X:=HIGH-REF(HIGH,1);{回马枪}
VAR3X:=REF(LOW,1)-LOW;
VAR4X:=SUM(IF(VAR2X>0 AND VAR2X>VAR3X,VAR2X,0),20);
VAR5X:=SUM(IF(VAR3X>0 AND VAR3X>VAR2X,VAR3X,0),20);
VAR6X:=VAR4X*100/VAR1X;
VAR7X:=VAR5X*100/VAR1X;
VAR8X:=MA(ABS(VAR7X-VAR6X)/(VAR7X+VAR6X)*100,10);
VAR9X:=(VAR8X+REF(VAR8X,10))/2;
DIF:=EMA(CLOSE,10)-EMA(CLOSE,20);
DEA:=EMA(DIF,7);
MACD:=(DIF-DEA)*2;
JJ:=DIF>DEA;
A:=(VAR7X>VAR6X AND VAR7X>25 AND VAR6X<25);
AA:=REF(A,1) AND A=0 AND JJ AND C/REF(C,1)<1.02 AND C/REF(C,1)>1 AND MA(C,5)>MA(C,10);
DRAWTEXT(AA,L*0.967,'买入关注 --'),COLORYELLOW; {股票指标网 整理}
 



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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