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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信百万操盘副图指标


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

以下是通达信百万操盘副图指标

通达信百万操盘副图指标

源码

VAR1:=1;
趋势线: VAR1*(1.06*(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)+50), , ;
VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR3:=LLV(LOW,34);
VAR4:=HHV(HIGH,34);
SK: EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13)*VAR1;
SD: EMA(SK,3)*VAR1;
买入: IF(CROSS(趋势线,8.5),60,19)*VAR1, , ;
卖出: IF(CROSS(87,趋势线),40,81)*VAR1, ,;
VAR5:=AMOUNT/VOL/100;
VAR6:=IF(VAR5>CLOSE*1.1,CLOSE,IF(VAR5<CLOSE*0.9,CLOSE,VAR5));
VAR7:=100*WINNER(VAR6);
VAR8:=MA(VAR7,8)*VAR1;
VAR9:=HHV(CLOSE,0)/VAR8;
VARA:=IF(VAR9>2.5,-10,VAR9);
VARB:=IF(VARA>1,-10,VARA);
底限: VARB, , ;
VARC:=VAR8/LLV(LOW,0);
VARD:=HHV(HIGH,0)/VAR8*8*10;
VARE:=IF(VARD>50,50,VARD);
VARF:=VARE;
VAR10:=HHV(HIGH,0)/VAR8*4.5*100;
VAR11:=IF(VAR10>100,103,VAR10);
DRAWTEXT(VAR1 AND CROSS(87,趋势线),35,'逃'), , ;
DRAWTEXT(VAR1 AND CROSS(趋势线,8.5),65,'买'), , ;
DRAWTEXT(VAR1 AND CROSS(90,VAR8),86,'诱多'), , ;
DRAWTEXT(VAR1 AND CROSS(VAR8,10),11,'吸筹'), , ;
DRAWTEXT(VAR1 AND CROSS(VAR8,46),VAR8,'拉升'), ,;
VAR13:=IF(CROSS(SK,SD),23,19);
VAR14:=IF(CROSS(SD,SK),77,81);
卖出1: VAR14;
买进: VAR13;





回复

举报

QQ|

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

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