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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信逗比主图(源码主图贴图)


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

以下是通达信逗比主图(源码主图贴图)

注意高抛低吸的点位,时间和位置
SSL:=EMA(CLOSE,3);
xxL:=EMA(l,3);
MM:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
xxL,COLORYELLOW,LINETHICK2;
STICKLINE(((xxL>MM)),xxL,MM,1,0),COLORRED;
SA:=(MM*0.985);
SS:=(MA(CLOSE,5));
走势线:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;
JJ:=(o+h+l)/3;
A:=SMA(JJ,4,1);
价均线:A,COLORYELLOW,LINETHICK1;
STICKLINE(((SSL
{均线买卖位置的确定}
VA1:=EMA(c,4);
VA2:=EMA(c,13);
DRAWTEXT(CROSS(VA2,VA1),h*1.05,'★卖'),COLOR00ff22;
DRAWTEXT(CROSS(VA1,VA2) AND (C>O) AND 价均线>REF(价均线,1),VA1*0.92,'★买'),COLOR0055ff;
{慢线趋势线空方线--第二买位置的确定}
q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
q3:=SMA(q2, 9, 1);
q4:=SMA(q3, 3, 1);
慢线:=3*q3-2*q4;
趋势:=EMA(q3, 3);
VarKK:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
空方:=SMA(VarKK,3,1);
VarKF:=REF(CLOSE,2);
快线:=SMA(MAX(CLOSE-VarKF,0),7,1)/SMA(ABS(CLOSE-VarKF),7,1)*100;
cc1:=趋势-慢线;
xx1:=CROSS(慢线,趋势) AND 空方>1.005*趋势 AND 快线>ref(快线,1) and count(cc1>0,12)>10 and c>o;
DRAWTEXT(xx1,va1*0.9,'◆'),COLORf000f0;
DRAWTEXT(xx1,va1*0.85,'买'),COLOR0000f0;
{买前关注的确定}
VAR1:=(c-LLV(l,27))/(HHV(h,27)-LLV(l,27))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
NX7:=c
DRAWTEXT(CROSS(VAR3,VAR4) AND c>o AND VAR3<40 AND NX7,LOW*0.96,'★'),COLORF000F0;
{彩色K线}
STICKLINE(C>=O,C,O,5,0),COLORRED;
STICKLINE(C>=O,H,L,0,0),COLOR00ffff;
STICKLINE(C<=O,C,O,5,0),COLORGREEN;
STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
{箱体确定}
箱顶:MA(REF(HHV(c,15),1),2),COLOR0000FF,LINETHICK2;
箱底:MA(REF(LLV(c,15),1),2),COLOR00FF00,LINETHICK2;
{跟的确定}
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
ggg:=CROSS(买线,卖线)AND 箱顶>=REF(箱顶,1);
DRAWTEXT(ggg,LOW*0.95,'加'),COLOR00F0F0;{差值和画线,走势线,价均线,中期大走势}





回复

举报

QQ|

GMT+8, 2024-11-16 14:22

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