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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 大智慧精确打击指标公式


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

{ 精确打击 }{副图}{大智慧L2}{原公式限制:无}
input:N(10,1,100),F(25,1,100);
a1:=(HHV(HIGH,9)) - (LLV(LOW,9));
a2:=(HHV(HIGH,9)) - CLOSE;
a3:=CLOSE - (LLV(LOW,9));
a4:=((a2 / a1) * 100) - 70;
a5:=((CLOSE - (LLV(LOW,60))) / ((HHV(HIGH,60)) - (LLV(LOW,60)))) * 100;
a6:=(((HIGH + LOW) + OPEN) + CLOSE) / 4;
a7:=SMA(((a3 / a1) * 100),3,1);
a8:=LLV(LOW,34);
a9:=(SMA(a7,3,1)) - (SMA(a4,9,1));
a10:=IF((a9 > 100),(a9 - 100),0);
a11:=HHV(HIGH,34);
a12:=EMA((((a6 - a8) / (a11 - a8)) * 100),13);
a13:=EMA(((0.667 * (REF(a12,1))) + (0.333 * a12)),2);
a14:=(((SMA(((MAX((CLOSE - (REF(CLOSE,1))),0)) / CLOSE),8,1)) / (SMA((ABS((INDEXC - (REF(INDEXC,1)))) / INDEXC),8,1))) * 100) - 25;
a15:=MA(a14,3);
a16:=REF(a15,1);
生命线:EMA(a13,N),ColorFFAA00;
a17:=((CLOSE - (LLV(LOW,F))) / ((HHV(HIGH,F)) - (LLV(LOW,F)))) * 100;
a18:=SMA(a17,3,1);
a19:=SMA(a18,3,1);
红灯亮买:STICKLINE((((CROSS(a12,a13)) AND (a12 > a13)) AND (a12 < 18)),36,0,1,0),colorRed;
见红:IF((a12 > 18),0,(IF((((CROSS(a12,a13)) AND (a12 > a13)) AND (a12 < 18)),37,0))),Color3355FF;
FILLRGN(0,25,(((CROSS(a12,a13)) AND (a12 > a13)) AND (a12 < 18)),RGB(255,0,0)),colorRed;
PARTLINE(38,(((CROSS(a12,a13)) AND (a12 > a13)) AND (a12 < 18)),RGB(255,0,0)),POINTDOT,linethick7,colorRed;
PARTLINE(38,(((CROSS(a12,a13)) AND (a12 > a13)) AND (a12 < 18)),RGB(255,255,255)),POINTDOT,linethick4,colorWhite;
浪尖:STICKLINE((((CROSS(a13,a12)) AND (a12 < a13)) AND (a12 > 60)),90,100,12,1),ColorFF0000;
IF((a12 < 79),100,(IF((((CROSS(a13,a12)) AND (a13 > 79)) AND (a12 > 79)),70,100))),colorGreen;
卖:STICKLINE((((FILTER((CROSS(a13,a12)),10)) AND (a13 > 79)) AND (a12 > 79)),100,75,4,0),colorGreen;
PARTLINE(68,(((CROSS(a13,a12)) AND (a13 > 79)) AND (a12 > 79)),RGB(0,255,0)),POINTDOT,linethick7,colorGreen;
PARTLINE(68,(((CROSS(a13,a12)) AND (a13 > 79)) AND (a12 > 79)),RGB(255,255,255)),POINTDOT,linethick4,colorWhite;
STICKLINE(((a12 - a13) > 0),a12,a13,8,1),colorRed;
STICKLINE(((a12 - a13) < 0),a12,a13,8,0),colorGreen;
a20:=(3 * (SMA((((CLOSE - (LLV(LOW,75))) / ((HHV(HIGH,75)) - (LLV(LOW,75)))) * 100),20,1))) - (2 * (SMA((SMA((((CLOSE - (LLV(LOW,75))) / ((HHV(HIGH,75)) - (LLV(LOW,75)))) * 100),20,1)),15,1)));
a21:=((CLOSE - (LLV(LOW,26))) / ((HHV(HIGH,26)) - (LLV(LOW,26)))) * 100;
a22:=SMA((SMA(a21,3,1)),3,1);
a23:=EMA(a22,5);
a24:=(EMA((((CLOSE - (LLV(LOW,26))) / (a11 - (LLV(LOW,26)))) * 4),4)) * 25;
a25:=100 - a20;
a26:=EMA(((3 * a7) - (2 * (SMA(a7,3,1)))),3);
a27:=(-1 * ((EMA(a25,1)) - 50)) + 50;
a28:=EMA(((100 * ((HHV(HIGH,14)) - CLOSE)) / ((HHV(HIGH,14)) - (LLV(LOW,14)))),6);
底部:STICKLINE(((CROSS(a23,10)) AND (a23 > 10)),50,0,10,0),colorYellow;
建仓:IF((a24 < 10),18,0),ColorCC00FF;

{指标类型:技术指标 --- 陈敏精品指标
公式描述: 分时图权证专用指标
..................
}

{------------------ ------------------};






回复

举报

QQ|

GMT+8, 2024-11-16 13:49

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