股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信支撑主图指标


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 15:13:10

以下是通达信支撑主图指标

通达信支撑主图指标

源码

庄压:=HHV(MA(H,13),13),COLORYELLOW;

赢在龙头:=(L+H+C*4)/6;
工作:=EMA(赢在龙头,12),COLOR00FF00;
度假:=EMA(赢在龙头,19);
赢在:=(工作-REF(工作,1))/REF(工作,1)*100;
龙头:=(度假-REF(度假,1))/REF(度假,1)*100;
G:=BARSLAST(CROSS(赢在,0));
压:REF(赢在龙头,G)*1,COLORAACC66,,LINETHICK2;
突破:=REF(EMA(C,14),1)COLORLIGRAY,LINETHICK1;
A1X:=(EMA(C,14)-突破)/突破*100,NODRAW;
喝汤:=IF(A1X>=0,REF(EMA(C,14),1),DRAWNULL)COLORLIRED,LINETHICK1;
割肉价:=IF(A1X<0,REF(EMA(C,14),1),DRAWNULL),,COLORLIBLUE;

中:=MA(CLOSE,30),COLORRED;
上上:=中 + 2*STD(CLOSE,30),COLOR006600,LINETHICK2;
下下:=MA(CLOSE,30) - 2*STD(CLOSE,30),COLOR006600,LINETHICK2;
上1:=中+STD(CLOSE,30),COLORLIGRAY,LINETHICK1,POINTDOT;
下1:=中-STD(CLOSE,30),,LINETHICK1,COLORLIGRAY,POINTDOT;
TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),
ABS((REF(CLOSE,1)-LOW)));
ATR:=MA(TLAMSENR,13);VAR11A:=(REF(CLOSE,1)-REF(ATR,1));
黄金2:(HHV(VAR11A,12)),LINETHICK2,COLOR0080FF;{COLOR0080FF}
锅1:=MA((REF(HIGH,2)+REF(LOW,2))/2,6),COLORLIGRAY;
平台:=MA((2*C+H+L)/4,5),LINETHICK1,COLOR50E0D4;{COLOR50E0D4}
中轨:=MA(C,20),COLORLIGRAY,,LINETHICK1,;
上:=MA(C,20)+2*STD(CLOSE,20),COLOR808080,LINETHICK1,POINTDOT;{COLORA8C300}
下:=MA(C,20)-2*STD(CLOSE,20),,COLOR808080,LINETHICK4,POINTDOT;
MA6:=MA(CLOSE,6);
{MA(C,20)+1*STD(CLOSE,20)COLOR0080FF;}
MA18:=MA(CLOSE,18);
空方:=((3)*(MA18) - (2)*(MA6)),COLORD39D91,LINETHICK1;{COLORFF9933}{COLOR3571FF}
{COLORD39D91STICKLINE(空方>上,空方,上,0.22,0),COLORLICYAN;
STICKLINE(空方<下,空方,下,0.22,0),COLORBLUE;}
跑道:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),COLORLIBLUE,LINETHICK1,POINTDOT;{COLOR0080FF}
锅:=MA((REF(HIGH,2)+REF(LOW,2))/2,6),COLOR50E0D4;
上轨:=EMA(EMA(MA(C,21),5)+ 2*STD(CLOSE,20),3),COLOR808080,LINETHICK1;
下轨:=EMA(EMA(MA(C,21),5)-2*STD(CLOSE,20),3),COLOR808080,LINETHICK1;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
SHORT:=7; LONG:=19;

买进:=(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)));
{IF(UP!=REF(UP,1),中轨,DRAWNULL),COLORLICYAN;}
{RSI出击买点}
AA1:="RSI.RSI1"(3,14,24),LINETHICK1,COLOR6295D6;
BB1:=REF("RSI.RSI1"(3,14,24),1),LINETHICK1,COLORFF9800;

{STICKLINE((AA1-BB1)/BB1>13/10,O,C,2.5,3),COLORWHITE;}
{DRAWICON(FILTER(买=1,3),L*0.9988,11),COLORRED;};
{STICKLINE((AA1-BB1)/BB1>13/10,
(MAX(C,O)+MIN(O,C)*3)/4,MIN(C,O),2,1),COLORWHITE;}

{STICKLINE(CROSS(C,L均),
(MAX(C,O)+MIN(O,C)*3)/4,MIN(C,O),2.5,0),COLOR00CCFF;}
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS);

{STICKLINE(CROSS(短线买点,21),
(MAX(C,O)+MIN(O,C)*3)/4,MIN(C,O),2.5,0),COLOR00CCFF;
STICKLINE(CROSS(短线买点,21),
(MAX(C,O)+MIN(O,C)*3)/4,MIN(C,O),2.5,0),COLOR00CCFF;}

XS:=MA(LOW,5)*(1-5/100),COLORLIRED;
XS1:=MA(HIGH,5)*(1+5/100),COLORLIRED;
VARR199:=SMA(MAX(CLOSE-REF(C,1),0),5,1)/SMA(ABS(CLOSE-REF(C,1)),5,1)*100;
{STICKLINE(CROSS(XS1,C),(MAX(C,O)+MIN(C,O))*0.5,MAX(C,O),2,0),COLORBLUE;}
M120:=MA(C,120),LINETHICK1,COLORLIGRAY;
M60:=MA(C,60),LINETHICK1,COLORAACC66;
VAR1:=AMOUNT/VOL/7;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=SUM(AMOUNT,10)/VAR1/7;
VAR4:=DMA(VAR2,VOL/VAR3);
双多阴后买:=(CLOSE-VAR4)/VAR4*100,COLORLIMAGENTA;
XG:=CROSS(双多阴后买,MA(双多阴后买,2)) AND 双多阴后买<0 AND 1 AND REF(O>C,1) AND REF(O>C,2);
{DRAWICON(XG,L*0.996,19);}
STICKLINE(XG,O,C,2.5,1),COLORWHITE;
DRAWICON((AA1-BB1)/BB1>13/10,L*0.996,11),COLORRED;
{DRAWICON(买进,L,1);}
STICKLINE(CROSS(短线买点,21),
(MAX(C,O)+MIN(O,C)*3)/4,MIN(C,O),2.5,0),COLOR00CCFF;

X:=(3*C+L+O+H)/6;
多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORFF00FF,LINETHICK1;





回复

举报

QQ|

GMT+8, 2024-11-19 20:34

快速回复 返回顶部 返回列表