分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]LSS主图指标-LSS强弱指标-LSS摆荡指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2010-04-02 02:35:49
软件简介:

{LSS主图指标}

趋势线:MA(C,20),COLORBLUE,LINETHICK2;
通道上沿:趋势线+2*STD(C,20),COLORBLUE;
通道下沿:趋势线-2*STD(C,20),COLORBLUE;

下跌值:=REF(H,1)-MA(REF(H,2)-REF(L,1),3);
买进低值:=REF(L,1)-MA(REF(L,2)-REF(L,1),3);
今天低点:=REF(L,1);
趋势回档买进值:=((REF(H,1)+REF(L,1)+REF(C,1))/3)*2-REF(H,1);
买进值:=(下跌值+买进低值+今天低点+趋势回档买进值)/4,NODRAW;

上涨值:=MA((REF(H,1)-REF(L,2)),3)+REF(L,1);
买进高点:=MA(REF(H,1)-REF(H,2),3)+REF(H,1);
今天高点:=REF(H,1);
趋势回档卖出值:=((REF(H,1)+REF(L,1)+REF(C,1))/3)*2-REF(L,1);
卖出值:=(上涨值+买进高点+今天高点+趋势回档卖出值)/4,NODRAW;

买进线:EMA(买进值,5),COLORRED;
卖出线:EMA(卖出值,5),COLORRED;

股:C>卖出线,NODRAW,COLORYELLOW;
币:C<买进线,NODRAW,COLORGREEN;
T:股=0 AND 币=0,NODRAW,COLORWHITE;

DRAWTEXT(股 AND ISLASTBAR=1,买进线,'股'),COLORYELLOW;
DRAWTEXT(币 AND ISLASTBAR=1,卖出线,'币'),COLORGREEN;
DRAWTEXT(T AND ISLASTBAR=1,趋势线,'T'),COLORWHITE;



{LSS强弱指标}

DRAWBAND(70,RGB(20,20,20),50,0);
DRAWBAND(50,RGB(10,10,10),30,0);

单日强弱:(C-LLV(L,SQ))*100/(HHV(H,SQ)-LLV(L,SQ)),COLORYELLOW,NODRAW;
三日强弱:(C-LLV(L,MQ))*100/(HHV(H,MQ)-LLV(L,MQ)),COLORMAGENTA,NODRAW;
五日强弱:(C-LLV(L,LQ))*100/(HHV(H,LQ)-LLV(L,LQ)),COLORGREEN,NODRAW;

平均强弱值:(3*单日强弱+2*三日强弱+五日强弱)/6,NODRAW,COLORRED;
STICKLINE(1,50,平均强弱值,1.5,0),COLORBLUE;
STICKLINE(平均强弱值>50,50,平均强弱值,1.5,0),COLORRED;

MK5:EMA(平均强弱值,5),COLORWHITE;
MK10:EMA(平均强弱值,10),COLORYELLOW;
MK20:EMA(平均强弱值,20),COLORGREEN;

强:平均强弱值>70,NODRAW,COLORYELLOW;
弱:平均强弱值<30,NODRAW,COLORGREEN;
中:强=0 AND 弱=0,NODRAW,COLORWHITE;
DRAWTEXT(强 AND ISLASTBAR=1,70,'强'),COLORYELLOW;
DRAWTEXT(弱 AND ISLASTBAR=1,30,'弱'),COLORGREEN;
DRAWTEXT(中 AND ISLASTBAR=1,50,'中'),COLORWHITE;

{LSS摆荡指标}

DRAWBAND(70,RGB(20,20,20),50,0);
DRAWBAND(50,RGB(10,10,10),30,0);

X:=HHV(H,SQ)-REF(O,SQ);
Y:=C-LLV(L,SQ);
Z:=(HHV(H,SQ)-LLV(L,SQ))*2;
五日摆荡:(X+Y)/Z*100,COLORYELLOW,NODRAW;
X1:=HHV(H,MQ)-REF(O,MQ);
Y1:=C-LLV(L,MQ);
Z1:=(HHV(H,MQ)-LLV(L,MQ))*2;
十日摆荡:(X1+Y1)/Z1*100,COLORMAGENTA,NODRAW;
X2:=HHV(H,LQ)-REF(O,LQ);
Y2:=C-LLV(L,LQ);
Z2:=(HHV(H,LQ)-LLV(L,LQ))*2;
廿日摆荡:(X2+Y2)/Z2*100,COLORGREEN,NODRAW;

平均摆荡值:(3*五日摆荡+2*十日摆荡+廿日摆荡)/6,COLORRED,NODRAW;
STICKLINE(1,50,平均摆荡值,1.5,0),COLORBLUE;
STICKLINE(平均摆荡值>50,50,平均摆荡值,1.5,0),COLORRED;

MK5:EMA(平均摆荡值,5),COLORWHITE;
MK10:EMA(平均摆荡值,10),COLORYELLOW;
MK20:EMA(平均摆荡值,20),COLORGREEN;

升:平均摆荡值>70 AND MK10>REF(MK10,1),NODRAW,COLORYELLOW;
跌:平均摆荡值<30 AND MK10<REF(MK10,1),NODRAW,COLORGREEN;
盘:升=0 AND 跌=0,NODRAW,COLORWHITE;
DRAWTEXT(升 AND ISLASTBAR=1,70,'升'),COLORYELLOW;
DRAWTEXT(跌 AND ISLASTBAR=1,30,'跌'),COLORGREEN;
DRAWTEXT(盘 AND ISLASTBAR=1,50,'盘'),COLORWHITE;





本文仅提供源码,请参考通达信公式编辑录像 ,自己编辑公式,需协助请联系


[url=http://www.70822.com/soft/sort013/sort05/down-18178.html]LSS主图指标-LSS强弱指标-LSS摆荡指标[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:62.98828 毫秒