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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 大智慧主升奔牛 主升浪源码奔牛指标公式


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


{主升奔牛}

{主升浪源码奔牛}

VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;

VAR4:=EMA(VAR3,5);

VAR5:=3*VAR3-2*VAR4;

AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;

VAR6:=(2*CLOSE+HIGH+LOW)/4;

VAR7:=LLV(LOW,13);

VAR8:=HHV(HIGH,13);

VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);

VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);

趋势:VAR9,COLORFFFFFF,POINTDOT;

STICKLINE(VAR9>VARA,VAR9,VARA,8,0),color000099;

STICKLINE(VAR9<=VARA,VAR9,VARA,8,0),color006633;

DRAWTEXT(AA,趋势,'牛'),COLORYELLOW,align1;

奔牛: EMA(0.382*REF(VAR9,2)+0.618*VAR9,6);

PARTLINE(奔牛,奔牛>REF(奔牛,1),RGB(255,0,0),奔牛<REF(奔牛,1),RGB(0,255,0)),LINETHICK2;

PARTLINE(20,奔牛>REF(奔牛,1),RGB(255,0,0),奔牛<REF(奔牛,1),RGB(0,255,0)),POINTDOT,LINETHICK2;

PARTLINE(50,奔牛>REF(奔牛,1),RGB(255,0,0),奔牛<REF(奔牛,1),RGB(0,255,0)),POINTDOT,LINETHICK2;

PARTLINE(80,奔牛>REF(奔牛,1),RGB(255,0,0),奔牛<REF(奔牛,1),RGB(0,255,0)),POINTDOT,LINETHICK2;

趋势!: 5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK0,COLOR7F52AF;

底部:= 5;

STICKLINE(CROSS(趋势!,底部),20,30,3,0),COLORFF02FF;

DRAWTEXT(CROSS(趋势!,底部),30,'【↖抄↖】'),COLORYellow,LINETHICK1,align1;{←抄底}

天线:=100;

{逃顶: IF(CROSS(天线,趋势!),1,0),LINETHICK0,STICK,COLORGREEN;}

STICKLINE(CROSS(天线,趋势!),70,80,1,1),color006633;{逃顶:绿空心柱}

DRAWTEXT(CROSS(天线,趋势!),65,'【逃】'),COLORWhite,LINETHICK1,align1;

VARMD1:=REF(CLOSE,1);

VARMD2:=((SMA(MAX(CLOSE-VARMD1,0),7,1))/(SMA(ABS(CLOSE-VARMD1),7,1)))*(100);

VARMD3:=CROSS(69,VARMD2);

卖DD:=(FILTER(VARMD3,4));

DRAWTEXT(卖DD,90,'卖★'),COLORF9F900,LINETHICK2,align1;





回复

举报

QQ|

GMT+8, 2024-11-16 08:09

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