分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式大智慧L2公式 → 一键转帖:波段买卖

软件名称:[B]波段买卖[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:14.0 KB
官方主页:Home Page
更新时间:2017-05-30 03:37:43
软件简介:

 {波段操作 www.70822.com}

MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
mai:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
买:=filter(mai=1,5);
买1:=ref(买=1,1);
卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);
卖1:=ref(卖,1);
RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K1:=SMA(RSV1,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
BDGD1:=HHV(J1,2)=HHV(J1,8) AND J1>80;
BDDD:=LLV(J1,2)=LLV(J1,8);
J1下拐:=IF(CROSS(REF(J1-0.01,1),J1) AND REF(BDGD1,1),1,0);
J1下拐1:=ref(J1下拐,1);
J1上拐:=IF(CROSS(J1,REF(J1+0.01,1)) AND BDDD AND J1<20,1,0);
J1上拐1:=ref(J1上拐=1,1);
 
{预报顶底}
Var10:=IF(TROUGH(3,16,1)=0 AND H>LOW+0.04,4,0);
Var11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
Var12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
Var13:ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3),colorwhite;
Var14:ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3),stick,colorgreen;
Var15:ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3),colorwhite;
Var16:ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3),stick,colorgreen;
Var17:ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3),colorwhite;
Var18:ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3),stick,colorgreen;
drawtext(var13 and not(var15) and not(var17),1.6,'中线买'),colorred;
drawtext(var15 and not(var17),1.6,'中长线买'),colorred;
drawtext(var17 and var15 and var13,1.6,'长线买'),colorred;
drawtext(var14 and not(var16) and not(var18),1.6,'中线卖'),colorgreen;
drawtext(var16 and not(var18),1.6,'中长线卖'),colorgreen;
drawtext(var18 and var16 and var14,1.6,'长线卖'),colorgreen;
买点1:=Var10;
买点2:=(Var11+Var13+Var15+Var17);
买点:=买点1 or 买点2;
卖点:=(Var12+Var14+Var16+Var18);
 
{成交量}
成交量:=(v-ref(vol,1))/ref(vol,1)*100>=300;
 
{波浪形态}
M1:=MA(CLOSE,13);
M2:=MA(CLOSE,34);
M3:=MA(CLOSE,55);
M4:=MA(CLOSE,89);
M5:=MA(CLOSE,144);
TY:=C;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A:=REF(C,BARSLAST(HD));
B:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波浪顶:=IF(T1,A,A);
波浪底:=IF(T2,B,B);
攻击:=(CROSS(C,波浪底) OR CROSS(C,波浪顶)) OR (CROSS(C,M3) OR CROSS(C,M4)OR cross(C,M2));
攻击2:=ref(攻击,1);{昨日攻击}
回落:=(CROSS(波浪底,C) OR CROSS(波浪顶,C)) OR (CROSS(m3,C) OR CROSS(m4,C)OR cross(m2,C));
 
抄底:filter((买 and 买点 or j1上拐 and 买点 {or 买 and ref(买点,1)} or j1上拐 and ref(买点,1)
     {or 买 and 攻击 or 买 and 攻击2} or 攻击 and J1上拐 and not(买) and not(买1) or 攻击 and J1上拐1 and not(买) and not(买1)),2),colorwhite;
抄底2:攻击 and 买点,colorred;
drawtext(抄底,抄底*1.4,'买1'),colorred;
drawtext(抄底2,抄底2*1.2,'买2'),colorred;
天量慎买:=抄底 and 成交量;
drawtext(天量慎买,0.2,'天量慎买'),coloryellow;
 
{振荡市}
VAR1D:=((CLOSE-MA(CLOSE,13))/(MA(CLOSE,13)))*(100);
VAR1E:=100-ABS(VAR1D);
警:=IF((BARSCOUNT(CLOSE)<13),(-100),0-IF((VAR1E<92) AND (VAR1D<0),85,100));
大底:filter((警=-85 and 买点)=1,1),colorwhite;
洗盘:攻击 and 买1 and c<ref(c,1) or 攻击 and ref(抄底,1) and c<ref(c,1),colorwhite;
{天赐良机:=filter((大底 or 洗盘)=1,1);}
drawtext(大底,0.5,'大底'),colorred;
drawtext(洗盘,0.3,'洗盘'),coloryellow;
{drawtext(天赐良机,0.3,'天赐良机'),colorred;};
 
{买卖组合}
V1:=LLV(LOW,10);
V2:=HHV(HIGH,20);
lyf1:=EMA(((CLOSE-V1)/(V2-V1))*((-100)),3);
VARg5:=((CLOSE)/(REF(CLOSE,5))>=1.15);
VARg6:=BACKSET(VARg5,5);
入市日:filter((VARg6 AND (COUNT(VARg6,5)=1) or (CLOSE>=HHV(HIGH,HIGH))
AND ((CLOSE)/(REF(CLOSE,1))>1.098) AND (REF(VOL,LOW)>REF(VOL,34))
AND (REF(VOL,LOW)>REF(VOL,1)) AND (LYF1>(-93))
AND (REF(VOL,LOW)>REF(VOL,8)))=1,2),colorwhite;
drawtext(入市日,0.8,'黑马'),colorred;
{ www.70822.com}
卖出1:=卖 and 卖点 or 卖1 and 卖点 or j1下拐 and 卖点 or j1下拐 and ref(卖点,1) or 卖 and ref(卖点,1) or 卖1 and ref(卖点,1) or 回落;
卖出:filter((if(ref(抄底,1)=1 and 卖出1=1,卖出1=0,卖出1))=1,1),stick,colorgreen;
drawtext(卖出,卖出*1.2,'卖1'),colorgreen;
卖出2:卖点 and 回落,stick,colorred;
drawtext(卖出2,卖出2*1,'卖2'),colorgreen;

[url=http://www.70822.com/soft/sort013/sort03/down-112232.html]波段买卖[/url]

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