同花顺吸筹副图指标源码_同花顺主力筹码控盘程度

hacker|
78

文章目录:

同花顺“右侧”源码(副图),改为博易大师用的公式。。有高手帮忙吗

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);

DEA:=EMA(DIFF,9);

低位金叉:=CROSS(DIFF,DEA) AND DIFF-0.1;

JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA0 AND COUNT(JCCOUNT=2,21)=1;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离:=REF(CLOSE,A1+1)CLOSE AND DIFFREF(DIFF,A1+1) AND CROSS(DIFF,DEA);

低位金叉 AND 二次金叉 AND 底背离;

求把同花顺神赚庄指标公式改为通达信指标公式: 公式原码:

RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;

K:=SMA(RSV,5,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

VAR2:=REF(LOW,1);

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

VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);

VAR5:=LLV(LOW,30);

VAR6:=HHV(VAR4,30);

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

VAR8:=EMA(IF(LOW=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;

VAR9:=IF(VAR8100,100,VAR8);

吸筹:STICKLINE(VAR9-120,0,VAR9,6,1),COLORMAGENTA;

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);

散户线: 100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));

主力线:EMA(J,6),COLORYELLOW;

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

AA6:=SMA(AA3,21,8);

买观注: STICKLINE(走势-AA6-65,0,7,15,1);

DRAWICON(FILTER(JREF(J,1) AND 走势=REF(走势,1) AND 走势25,5),走势,1);

卖观注: STICKLINE(走势-AA685,98,90,15,1),COLORFFFF00;

DRAWICON(FILTER(J=REF(走势,1) AND 走势85,5),J,2);

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

VR2:=SMA(VR1,9,1)+100;

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

VR4:=SMA(VR3,3,1);

VR5:=SMA(VR4,3,1)+100;

VR6:=VR5-VR2;

S: IF(VR6100,VR6-100,0);

顶:(SREF(S,1) AND REF(S,1)REF(S,2))*3;

底:(S0 AND REF(S,1)=0)*3;

STICKLINE(REF(S,1)S,S,REF(S,1),5,0),COLORFF00F0;

STICKLINE(REF(S,1)S,S,REF(S,1),5,0);

主筹码:WINNER(C)*100 ,COLORGREEN,LINETHICK2;

请求高手将同花顺副图指标买卖点提示加入到主图K线中,并让所在K线变色

{ok.已将同花顺副图指标买卖点提示加入到主图K线中,并让所在K线变色通过测试,符合要求}

买线:=ZIG(3,5);

卖线:=MA(买线,3);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

DRAWTEXT(bu,L*0.99,'买'),linethick1,color00aaff;

DRAWTEXT(sel,H*1.01,'卖'),linethick1,color00ff00;

STICKLINE(买线=卖线,LOW,HIGH,0.1,0),color0000CC;

STICKLINE(买线=卖线,CLOSE,OPEN,7,0),color0000CC;

STICKLINE(买线卖线,CLOSE,OPEN,7,0),colorCCCC00;

STICKLINE(买线卖线,LOW,HIGH,0.1,0),colorCCCC00;

STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF;

STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00;

股票:庄家吸筹的指标公式?

VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;

VAR2:=SMA(VAR1,3,1);

VAR3:=SMA(VAR2,3,1);

VAR4:=SMA(VAR3,3,1);

波: VAR3;

段: VAR4;

VAR5:=CROSS(VAR3,VAR4) AND VAR320;

DRAWTEXT(FILTER(VAR5,10)=1,40,'逢低吸纳'),COLORYELLOW;

VAR9:=CROSS(VAR4,VAR3) AND VAR380;

DRAWTEXT(FILTER(VAR9,5)=1,70,'减仓'),COLOR00FF00;

VAR8:=CROSS(VAR2,VAR3) AND VAR380 AND VAR3VAR4;

STICKLINE(VAR8,85,100,10,0),COLOR0099FF;

100,COLORBBBBBB,LINETHICK3;

0,LINETHICK3;

120,LINETHICK3;

AA:=LLV(LOW,36);

BB:=HHV(HIGH,30);

风险:80,COLORFF00FF;

小心:87.5,COLOR00FF00;

DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);

股神:DD,COLOR0000FF,LINETHICK2;

股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);

目标出现B:IF(CROSS(股海,90) AND (股神40),70,0),COLORFFFF00;

DRAWTEXT(CROSS(股海,90) AND (股神40),75,'目标B出现'),COLORFFFF00;

跟踪:10,COLOR0000FF;

目标出现A:IF((COUNT((股神REF(股神,1)),1)=1) AND (REF(股神,1)REF(REF(股神,1),1)) AND (股神跟踪),50,0),COLORF00FF0;

DRAWTEXT((COUNT((股神REF(股神,1)),1)=1) AND (REF(股神,1)REF(REF(股神,1),1)) AND (股神跟踪),60,'目标A出现'),COLORF00FF0;

同花顺怎么在幅图中添加K线。我有一个幅图指标,源码如下,在同花顺系统中可以正常显示,

MB:=MA(CLOSE,20);

PARTLINE(MB,MBREF(MB,1),RGB(255,0,0),MB=REF(MB,1),RGB(0,255,0));

R:=((CLOSE-MB)*(CLOSE-MB));

X1:=MA(R,20);

X2:=SQRT(X1);

UPPER:MB+(1.95*X2);

LOWER:MB-(1.95*X2);

DRAWKLINE(H,O,L,C);

如果代码提示错误,请复制追问追答中的代码

2条大神的评论

  • avatar
    访客 2022-07-09 下午 02:08:17

    势85,5),J,2);VR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VR2:=SMA(VR1,9,1)+1

  • avatar
    访客 2022-07-09 下午 06:43:51

    6-100,0);顶:(SREF(S,1) AND REF(S,1)REF(S,2))*3;底:(S0 AND REF(S,1)=0)*3;STICKLINE(REF(S,1)S,S,REF(S,1),5,0),COLORFF00F0;STICKLINE(REF(S,1

发表评论