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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信最佳套利主图指标主图源码贴图


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

以下是通达信最佳套利主图指标主图源码贴图

好久没发了,发一主图,如果反应强烈继续发
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
STICKLINE(A>B,A,B,5,0),COLORYELLOW;
STICKLINE(A<B,A,B,5,0),COLORBLUE;
M1:=EMA(CLOSE,3);
M2:=EMA(CLOSE,8);
M3:=EMA(M2,13);
M4:=EMA(M2,55);
VAR1:=EMA(M3,55);
M5:=EMA(M4,81), COLORRED,LINETHICK2;
VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;
VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);
VAR4:=REF(CLOSE,1);
VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;
VAR6:=CROSS(79,VAR5);
VAR7:=FILTER(VAR6,4);
A7:=(2*C+H+L)/4;
VAR10:=LLV(LOW,34);
VAR11:=HHV(HIGH,34);
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) AND
COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'买进') ,COLORRED;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 AND
COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND
REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND
OPEN>REF(CLOSE,1),1,0),LOW,'买进'), COLORRED;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'抄底'),COLORRED;
工作线:EMA(CLOSE,18),COLORGREEN,LINETHICK1;
B1:=MA(C,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1),COLORCYAN;
买入:MA(B2,2),COLORRED;
倍量柱:=V/REF(V,1)>1.89;{主图叠加划线}
高抛低吸:=STICKLINE((((((HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL)>((ABS((OPEN-CLOSE))/(HIGH-LOW))*VOL)) AND ((((HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL)>(((IF((CLOSE>OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL))),0,(((HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL),2,0);
量能平台:STICKLINE(倍量柱 AND FILTER(倍量柱,24) AND C>O,C,C,400,0),COLORMAGENTA;
STICKLINE(倍量柱 AND FILTER(倍量柱,24) AND C>O,C,O,2,0),COLORYELLOW;
AA:=MA(C,49);
BB:=EMA(C,49);
黄金线:(AA+BB)/2,LINETHICK2,COLORYELLOW;
N8:=STRCAT(CON2STR(YEAR,0),' 年 ');
Y8:=STRCAT(CON2STR(MONTH,0),' 月 ');
R8:=STRCAT(CON2STR(DAY,0),' 日 ');
SJ8:=STRCAT(STRCAT(N8,Y8), R8);
DRAWTEXT_FIX(C>0,0.88,2,0,SJ8),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.81,2,2,CODE),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.86,2,2,STKNAME),COLORMAGENTA;
STICKLINE(C>1.099*REF(C,1),O+(C-O)/2,C,1,0),COLOR00DDFF;
STICKLINE(C<0.901*REF(C,1),C,C+(O-C)/2,1,0),COLOR00DDFF;
涨停:=IF(REF(C,1)*1.095-C<0.01 ,1,0);
DRAWTEXT(涨停,L-0.1,'涨停'),COLORMAGENTA;
DRAWTEXT_FIX(C>0,0.75,0.0,0,'【铭轩881】 【趋势为王】'),COLORFF9300;
DRAWTEXT_FIX(C>0,0.75,0.08,0,'【交易法则:均线多头排列买入】'),COLORRED;

今涨停价:REF(C,1)+REF(C,1)*0.1,COLORRED,NODRAW;
明涨停价:C+C*0.1,COLORRED,NODRAW;





回复

举报

QQ|

GMT+8, 2024-11-27 19:46

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