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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信看穿主力意图指标公式源码


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

{指标介绍:
1)红绿白线是走势线;
2)绿色色块和红色色块是操作提示区;
3)低吸是长期下跌后抄底信号提示;
4)紫色色块是概率性区域提示,这个区域出现涨停的概率要比非紫色区域高,但不代表一定必须有涨停,所以叫曙光故称“涨停曙光”。
5)红箭头和绿箭头是短期均线依据的进离场的信号提示!}

Q1:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(Abs(C-REF(C,1)),6,1)*100;
Q2:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
Q3:=crOSS(MA(C,10),MA(C,5));
Q4:=CROSS(MA(C,5),MA(C,10));
观望区:IF(MA(C,5)<=REF(MA(C,5),1),15,0)COLORGREEN;
STICKLINE(MA(C,5)<=REF(MA(C,5),1),15,0,6,0),COLORGREEN;
操盘区:IF(MA(C,5)>=REF(MA(C,5),1),15,0),COLORRED;
STICKLINE(MA(C,5)>=REF(MA(C,5),1),15,0,6,0),COLORRED;
离场:IF(REF(MA(C,5),1)>REF(MA(C,5),2) AND MA(C,5)<=REF(MA(C,5),1),50,0),STICK,COLORGREEN,LINETHICK2;
进场:IF(REF(MA(C,5),1)<REF(MA(C,5),2) AND MA(C,5)>=REF(MA(C,5),1),50,0),STICK,COLORRED,LINETHICK2;
DRAWTEXT(进场=50,52,'进'),COLORRED;
DRAWTEXT(离场=50,52,'离'),COLORGREEN;
DRAWICON(进场=50,52,1);
DRAWICON(离场=50,52,2);
MV13:=MA(V,13);
MV35:=MA(V,35);
MV135:=MA(V,135);
MV500:=MA(V,500);
DRAWTEXT(CROSS(MV13,MV35) ,30,'跟'),COLORMAGENTA;
DRAWTEXT(CROSS(MV13,MV135) ,35,'庄动'),COLORYELLOW;
低吸:IF(CROSS(Q1,11),70,0),COLORWHITE;
DRAWTEXT(CROSS(Q1,11) ,70,'低吸')COLORWHITE;
V6:=H/REF(L,3)>=1.05;
涨停曙光:IF(V6,10,0),COLORFF0099;
STICKLINE(V6,10,0,4,0),COLORFF0099;
D涨停:IF(C/REF(C,1)>1.01 AND V6 AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1
*FORCAST(V,5)),60,0),COLORYELLOW,LINETHICK3,STICK;
三天:FILTER(D涨停,5)*90,COLORRED,LINETHICK1,STICK;
DRAWTEXT(D涨停=60 AND 三天=90,70,'三天'),COLORCYAN;
错止损:=REF(H,1)*0.97;{盘中追涨}
DRAWTEXT_FIX(1,0,0,0,STRCAT('错止损参考:',CON2STR(错止损,2))),COLORGREEN;
DRAWTEXT(CROSS(MV35,MV135),50,'暴')COLORWHITE;{可能是起爆点}
VA:=(2*C+H+L)/4;
VB:=LLV(L,5);
VC:=HHV(H,5);
趋势:3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),COLORWHITE;
红穿绿买:EMA((VA-VB)/(VC-VB)*100,5),COLORRED;
绿穿红卖:EMA(红穿绿买,3),COLORLIGREEN;





回复

举报

QQ|

GMT+8, 2024-11-16 23:34

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