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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通过获利盘比例慢线快线看股价转折点(副图 源码 贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 20:33:55
通过获利盘比例慢线快线看股价转折点(副图 源码 贴图)介绍

通过获利盘比例慢线快线看股价转折点(副图 源码 贴图)

在网上看到一个获利盘比的指标是大智慧用的 觉得很不错 股价趋势变化很容易就看出来了,但在通达信不能用 只能改一下函数,效果还是跟大智慧的一样,希望能帮助到大家。
【通达信】获利盘比(获利盘比例、慢线、快线)-指标公式源码
STICKLINE(C>0.1,0,350,4.8,0),COLOR781816;
STICKLINE(C>0.1,-5,-350,4.8,0),COLOR781816;
VAR22:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
获利盘:= WINNER(CLOSE)*100;
VAR33:=SMA(VAR22,3,1);
VAR44:=SMA(VAR33,9,1);
VAR55:=3*VAR33-2*VAR44;
VAR66:=VOL;
量比: VOL/MA(VOL,5);
涨跌: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
角度: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
换手: VOL/CAPITAL*100;
VAR77:=SUM(换手,30);
VAR88:=LLV(INDEXL,5);
VAR99:=HHV(INDEXH,5);
VARAA:=EMA((INDEXC-VAR88)/(VAR99-VAR88)*100,4);
VARBB:=MA(EMA(0.667*REF(VARAA,1)+0.333*VARAA,2),9);
VARCC:=MA(VARBB,30);
VARDD:=EMA(获利盘,4);
本盘亿股: CAPITAL/1000000,;
获利盘比例:WINNER(CLOSE)*100,LINETHICK0;
获利盘比例差:获利盘比例-REF(获利盘比例,1);
RSV:=SUM(获利盘比例差,3);
K:=SMA(RSV,5,1);
D:=SMA(K,9,1);
VAR1:=3*K-2*D;
{PARTLINE(VAR1,(VAR1>REF(VAR1,1))-1,RGB(0,255,0),1,RGB(255,0,0) ),LINETHICK0;}
IF(VAR1>REF(VAR1,1), VAR1,DRAWNULL),COLORRED,LINETHICK0;
{DRAWTEXTREL(5,10,'■现实获利盘比例: '+NUMTOSTRN(WINNER(CLOSE)*100,2)+' %'),COLOR00FFFF,LINETHICK3;}
LLJX:=VAR1;
0,POINTDOT,COLORWHITE;
B1:SUM(LLJX,1),COLORCYAN,LINETHICK2;
B2:SUM(LLJX,2),COLORCYAN;
B3:SUM(LLJX,3),COLORCYAN;
B4:SUM(LLJX,4),COLORCYAN;
B5:SUM(LLJX,5),COLORCYAN;
B6:SUM(LLJX,6),COLORCYAN;
B7:SUM(LLJX,7),COLORCYAN;
B8:SUM(LLJX,8),COLORCYAN;
B9:SUM(LLJX,9),COLORCYAN;
B10:SUM(LLJX,10),COLORCYAN,LINETHICK3;
{PARTLINE(B1,B1>REF(B1,1),RGB(255,0,0)),LINETHICK2;}
IF(B1>REF(B1,1), B1,DRAWNULL),COLORRED,LINETHICK2;
{PARTLINE(B2,B2>REF(B2,1),RGB(255,0,0));}
IF(B2>REF(B2,1), B2,DRAWNULL),COLORRED;
{PARTLINE(B3,B3>REF(B3,1),RGB(255,0,0));}
; IF(B3>REF(B3,1), B3,DRAWNULL),COLORRED;
{PARTLINE(B4,B4>REF(B4,1),RGB(255,0,0));}
IF(B4>REF(B4,1), B4 ,DRAWNULL),COLORRED;
{PARTLINE(B5,B5>REF(B5,1),RGB(255,0,0));}
IF(B5>REF(B5,1), B5 ,DRAWNULL),COLORRED;
{PARTLINE(B6,B6>REF(B6,1),RGB(255,0,0));}
IF(B6>REF(B6,1), B6,DRAWNULL),COLORRED;
{PARTLINE(B7,B7>REF(B7,1),RGB(255,0,0));}
IF(B7>REF(B7,1), B7,DRAWNULL),COLORRED;
{PARTLINE(B8,B8>REF(B8,1),RGB(255,0,0));}
IF(B8>REF(B8,1), B8,DRAWNULL),COLORRED;
{PARTLINE(B9,B9>REF(B9,1),RGB(255,0,0));}
IF(B9>REF(B9,1), B9,DRAWNULL),COLORRED;
{PARTLINE(B10,B10>REF(B10,1),RGB(255,0,0)),LINETHICK3;}
IF(B10>REF(B10,1), B10,DRAWNULL),COLORRED,LINETHICK3;

快线:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
慢线:=SMA(快线,3,1);
AA:=IF(BARSLAST(CROSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,20,0);
 


 





 



gd13372

回复

举报

QQ|

GMT+8, 2024-12-29 15:02

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