分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式通达信公式 → 一键转帖:叠伏

软件名称:[B]叠伏[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2014-03-08 01:21:11
软件简介:

{叠伏系统1}


STICKLINE(C>0,85,92,10,0),COLOR408000;
STICKLINE(C>0,15,8,10,0),COLOR408000;
HDZ:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
DRAWBAND(HDZ,RGB(255,000,139),10,RGB(255,255,71));
STICKLINE(C>0,90,10,10,0),COLORBLACK;
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
VAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR9:=SMA(VAR8,13,8);
主力吸货:VAR7,COLOR0000FF,NODRAW;
吸筹1:STICKLINE(VAR7,0,VAR7*0.2,6,0),COLOR0000FF;
吸筹2:STICKLINE(VAR7,0,VAR7*0.2,5,0),COLOR6600FF;
吸筹3:STICKLINE(VAR7,0,VAR7*0.2,4,0),COLORBB00FF;
吸筹4:STICKLINE(VAR7,0,VAR7*0.2,3,0),COLORFF00FF;
吸筹5:STICKLINE(VAR7,0,VAR7*0.2,2,0),COLORFF33FF;
吸筹6:STICKLINE(VAR7,0,VAR7*0.2,1,0),COLORFF66FF;
吸筹7:STICKLINE(VAR7,0,VAR7*0.2,0,0),COLORFF99FF;
HDY:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORLIBLUE;
风险:=CEILING(SMA(VAR9,13,8)),LINETHICK2,COLORGREEN;
涨跌:=MA(3*SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,5,1)-2*
SMA(SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,5,1),3,1),5),LINETHICK2,COLORRED;
VARR1:=DYNAINFO(5);
VARR2:=BARSCOUNT(HIGH);
VARR3:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);
VARR4:=IF((VARR2 > 20),VARR3,0);
VARR5:=IF((HIGH < VARR1),0,IF((LOW > VARR1),1,(((VARR1 - HIGH) + 0.009) / ((LOW - HIGH) + 0.009))));
VARR6:=(DMA(VARR5,(VOL / CAPITAL)) * 60);
VARR7:=IF((((VARR6 > 0) AND (VARR6 > REF(VARR6,1))) AND (VARR4 >= 88)),VARR6,0);
VARR8:=((3 * SMA((((CLOSE - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1),3,1)));
VARR9:=EMA(VARR8,8);
VARR10:=((3 * SMA((((HIGH - HHV(HIGH,89)) / (LLV(LOW,89) - HHV(HIGH,89))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,89)) / (LLV(LOW,89) - HHV(HIGH,89))) * 100),5,1),3,1)));
VARR11:=(EMA(VARR10,3) - 10);
{STICKLINE(((VARR7 > 0) AND ((VARR11 < 20) OR ((VARR11 > REF(VARR11,1)) AND (VARR11 < 50)))),0,VARR7,1,0),COLORLIGRAY;
STICKLINE(((VARR7 > 0) AND ((VARR11 < 20) OR ((VARR11 > REF(VARR11,1)) AND (VARR11 < 50)))),0,VARR7,1,0),COLORWHITE;
STICKLINE(((VARR7 > 0) AND ((VARR11 < 20) OR ((VARR11 > REF(VARR11,1)) AND (VARR11 < 50)))),0,VARR7,0,0),COLORFF99FF;}
STICKLINE(HDY<5,0,VAR7*0.2,1,0),COLORYELLOW;
IF(HDY>REF(HDY,1),HDY,DRAWNULL),COLORRED;


---------------------------------------------------------



{叠伏系统2}

CC:=FORCAST(C,3);  OO:=FORCAST(O,3); HH:=FORCAST(H,3); LL:=FORCAST(L,3);
SHORT:=21; LONG:=34; M:=13;
{1.MACD}
DIFFFF:=EMA(CC,SHORT) - EMA(CC,LONG);
DEAAA:=EMA(DIFFFF,M);
MKCD:=WMA((DIFFFF-DEAAA),3)*400,COLOR00FF00,LINETHICK2;
{IF(MKCD>REF(MKCD,1),MKCD,DRAWNULL),COLOR0000FF,LINETHICK2;}
{2.MACD的BTX}
{差可能是正,是负-----相当与DIFF}
DC:=WMA(CC,SHORT/2)-WMA(CC,LONG/2);       {收盘价的DIFF} 
DK:=WMA(OO,SHORT/2)-WMA(OO,LONG/2);       {开盘价的DIFF}
DH:=(WMA(HH,SHORT/2)-WMA(HH,LONG/2))*1.8; {最高价的DIFF}  
DL:=(WMA(LL,SHORT/2)-WMA(LL,LONG/2))*1.8; {最低价的DIFF}   
VARVA1:=DC>REF(DC,1) AND DC>REF(DC,2);
VARVA2:=REF(VARVA1,1) AND DC<=REF(DC,1) AND DC>=REF(DC,2);
VARVA3:=REF(VARVA2,1) AND DC>=REF(DC,1) AND DC<=REF(DC,2);
VARVA4:=REF(VARVA3,1) AND DC<=REF(DC,1) AND DC>=REF(DC,2);
VARVA5:=REF(VARVA4,1) AND DC>=REF(DC,1) AND DC<=REF(DC,2);
VARVA6:=REF(VARVA5,1) AND DC<=REF(DC,1) AND DC>=REF(DC,2);
VARVA7:=REF(VARVA6,1) AND DC>=REF(DC,1) AND DC<=REF(DC,2);
VARVA8:=REF(VARVA7,1) AND DC<=REF(DC,1) AND DC>=REF(DC,2);
VARVA9:=REF(VARVA8,1) AND DC>=REF(DC,1) AND DC<=REF(DC,2);
VARA:=REF(VARVA9,1) AND DC<=REF(DC,1) AND DC>=REF(DC,2);
VARB:=REF(VARA,1) AND DC>=REF(DC,1) AND DC<=REF(DC,2);
VARC:=REF(VARB,1) AND DC<=REF(DC,1) AND DC>=REF(DC,2);
STICKLINE(VARVA1 OR VARVA2 OR VARVA3 OR VARVA4 OR VARVA5 OR VARVA6 OR VARVA7 OR VARVA8 OR VARVA9 OR VARA OR VARB OR VARC,DC,REF(DC,1),3,0),COLOR0F33AA;
STICKLINE(VARVA1 OR VARVA2 OR VARVA3 OR VARVA4 OR VARVA5 OR VARVA6 OR VARVA7 OR VARVA8 OR VARVA9 OR VARA OR VARB OR VARC,DC,REF(DC,1),2,0),COLOR0F66CC;
STICKLINE(VARVA1 OR VARVA2 OR VARVA3 OR VARVA4 OR VARVA5 OR VARVA6 OR VARVA7 OR VARVA8 OR VARVA9 OR VARA OR VARB OR VARC,DC,REF(DC,1),1,0),COLOR0F99DD;
VARD:=DC<REF(DC,1) AND DC<REF(DC,2);
VARE:=REF(VARD,1) AND DC>=REF(DC,1) AND DC<=REF(DC,2);
VARF:=REF(VARE,1) AND DC<=REF(DC,1) AND DC>=REF(DC,2);
VAR10:=REF(VARF,1) AND DC>=REF(DC,1) AND DC<=REF(DC,2);
VAR11:=REF(VAR10,1) AND DC<=REF(DC,1) AND DC>=REF(DC,2);
VAR12:=REF(VAR11,1) AND DC>=REF(DC,1) AND DC<=REF(DC,2);
VAR13:=REF(VAR12,1) AND DC<=REF(DC,1) AND DC>=REF(DC,2);
VAR14:=REF(VAR13,1) AND DC>=REF(DC,1) AND DC<=REF(DC,2);
VAR15:=REF(VAR14,1) AND DC<=REF(DC,1) AND DC>=REF(DC,2);
VAR16:=REF(VAR15,1) AND DC>=REF(DC,1) AND DC<=REF(DC,2);
VAR17:=REF(VAR16,1) AND DC<=REF(DC,1) AND DC>=REF(DC,2);
VAR18:=REF(VAR17,1) AND DC>=REF(DC,1) AND DC<=REF(DC,2);
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,DC,REF(DC,1),3,0),COLORFF3322;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,DC,REF(DC,1),2,0),COLORFF6622;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,DC,REF(DC,1),1,0),COLORFF9922;
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VARVA1;
STICKLINE(VAR19,REF(DC,1),REF(DH,2),0.1,0),COLOR0000FF;
STICKLINE(VAR19,REF(DC,1),REF(DC,2),4,0),COLOR0000FF;
VAR1A:=REF(VARVA1 OR VARVA2 OR VARVA3 OR VARVA4 OR VARVA5 OR VARVA6 OR VARVA7 OR VARVA8 OR VARVA9 OR VARA OR VARB OR VARC,1) AND VARD;
STICKLINE(VAR1A,REF(DC,1),REF(DL,2),0.1,0),COLOR00FF00;
STICKLINE(VAR1A,REF(DC,1),REF(DC,2),4,0),COLOR00FF00;
AA:=DC>REF(DC,1) AND REF(DC,1)>REF(DC,2) AND REF(DC,1)<REF(DC,3) AND IF(REF(DC,3)<REF(DC,4),1,IF(REF(DC,4)<REF(DC,5),REF(DC,1)<REF(DC,4) OR (REF(DC,2)<REF(DC,4) AND REF(DC,3)>=REF(DC,5)),IF(REF(DC,5)<REF(DC,6),1,REF(DC,6)<REF(DC,7))));
BBB:=DC<REF(DC,1) AND REF(DC,1)<REF(DC,2) AND REF(DC,1)>REF(DC,3) AND IF(REF(DC,3)>REF(DC,4),1,IF(REF(DC,4)>REF(DC,5),REF(DC,1)>REF(DC,4) OR (REF(DC,2)>REF(DC,4) AND REF(DC,3)<=REF(DC,5)),IF(REF(DC,5)>REF(DC,6),1,REF(DC,6)>REF(DC,7))));
DRAWTEXT(AA AND DC>REF(DK,1),DL*0.92,'转红'),COLOR0044FF;
DRAWTEXT(BBB AND DC<REF(DC,1),DH*1.08,'转绿'),COLOR00FF00;
DFC:=C-REF(C,1);{收盘价前差值,K线微分}
WJXS:=(120-60)/10;{微积分系数,可由中值定理导出,为兼顾后面引用及统一标尺,前移至此}
JGL_JF:=WJXS*EMA(DFC,60);{内层积分,隐含积分限[1--SHORT],结果:WJXS*EMA(EMA(CC,SHORT)-REF(EMA(CC,SHORT),1),LONG)}
DIF_JIP:=EMA(JGL_JF,120);{外层积分,重积分,隐含积分限[1--LONG],结果:EMA(CC,SHORT)-EMA(CC,LONG)}
DEA_GEM:=EMA(DIF_JIP,20);{平滑,压制高频}
MACD_LING:=400*(DIF_JIP-DEA_GEM),COLOR1133FF,COLORSTICK;{差值滤波然后作2倍放大,显示红、青色针状线柱}
K_DF_J:=SMA(JGL_JF,13,1),COLORFEDCBA;{平滑,压制超短线杂波}
D_DF_G:=SMA(K_DF_J,13,1),COLOR13F8F9;{再平滑,圆滑超短线造成的扰动}
J_DF_L:=2.5*K_DF_J-1.5*D_DF_G,COLORF813F9;{有源差值滤波,取得中高频短线信号}
RF:=REF(J_DF_L,1);
DJ:=ABS(J_DF_L-RF);
MM:=(HHV(DJ,120)+LLV(DJ,120))/2;
STICKLINE(J_DF_L>RF,J_DF_L,RF,2.3,0),COLORYELLOW;
STICKLINE(J_DF_L>0 AND J_DF_L>RF,J_DF_L,RF,1.0,0),COLORRED;
STICKLINE(J_DF_L<0 AND J_DF_L>RF,J_DF_L,RF,1.0,0),COLORMAGENTA;
STICKLINE( J_DF_L<RF,J_DF_L,RF,2.3,0),COLOR338833;
STICKLINE(J_DF_L>0 AND J_DF_L<RF,J_DF_L,RF,1.0,0),COLORLIRED;
STICKLINE(J_DF_L<0 AND J_DF_L<RF,J_DF_L,RF,1.0,0),COLORWHITE;
STICKLINE(J_DF_L<RF AND DJ<0.2*MM,J_DF_L+0.15*MM,RF-0.15*MM,0.1,0),COLOR33AA33;
STICKLINE(
[url=http://www.70822.com/soft/sort013/sort05/down-70494.html]叠伏[/url]

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