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

软件名称:[B]趋势套利(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:11.0 KB
官方主页:Home Page
更新时间:2020-11-12 00:09:35
软件简介:

 趋势套利

本公式,没加密,下载附件解压导入即可看到公式源码。
 

//趋势套利
底部确认天数:=50;
凹底右侧高度:=80;
凹底左侧高度:=50;
长阴满足天数:=3;
长阴跌幅系数:=4;
买点低量天数10:=9;
买点低量天数50:=50;
买点低量天数100:=100;
买点收盘价位置:=0.4;
上涨长腿倍数:=1.49;
下跌长腿倍数:=1.5;
买点缩量倍数:=1;
倍缩形态倍数:=1.8;
天:=80,colorligreen;
地:20,colorlired;
N:=5;
VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1), coloryellow,LINETHICK2;
低位凹底:IF(VAR1<25,-10,0), colormagenta;
CCC:=(3*C+L+O+H)/6;//分析家公式网www.70822.com
牛线:=(20*CCC+19*REF(CCC,1)+18*REF(CCC,2)+17*REF(CCC,3)+16*REF(CCC,4)+15*REF(CCC,5)+14*REF(CCC,6)+13*REF(CCC,7)+12*REF(CCC,8)+11*REF(CCC,9)+10*REF(CCC,10)+9*REF(CCC,11)+8*REF(CCC,12)+7*REF(CCC,13)+6*REF(CCC,14)+5*REF(CCC,15)+4*REF(CCC,16)+3*REF(CCC,17)+2*REF(CCC,18)+REF(CCC,20))/210,colormagenta, LINETHICK2;
马线:=MA(牛线,5), colorgray, LINETHICK2;
STICKLINE(C>牛线,85,87,7,0),colorred;
STICKLINE(C <牛线,85,87,7,0),colorgreen;
STICKLINE(牛线>REF(牛线,1),78,80,7,0),colorred;
STICKLINE(牛线 <REF(牛线,1) ,78,80,7,0),colorgreen;
STICKLINE(牛线>马线,71,73,7,0),colorred;
STICKLINE(牛线 <马线,71,73,7,0),colorgreen;
STICKLINE(C>=MA(C,60),64,66,7,0),colorred;
STICKLINE(C<MA(C,60),64,66,7,0),colorgreen;
趋势:=C>牛线 OR  牛线>REF(牛线,1) OR 牛线>马线 OR C>=MA(C,60);
板:=(C/REF(C,1)-1)*100>=9.9;
RC1:=REF(C,1);
比前涨率:=ABS((C-RC1)*100/RC1);
本日涨率:=ABS((C-O)*100/O);
涨率:=MAX(比前涨率,本日涨率);
短柱:=V/REF(MA(V,5),1) <= 0.5 OR V/HHV(V,30) <= 0.6;
长阴跌幅:=((REF(C,1)-C)/REF(C,1))>=0.045;
长阴:=C<REF(C,1) AND ABS(涨率)>=3 AND 长阴跌幅;
长阴短柱:=长阴 AND 短柱;
上下影线:=IF(C>=O,(H-C)<(O-L),(H-O)<=(C-L));
振幅:=(H-L)/REF(C,1)*100;
大长腿形态:=(MIN(O,C)-L)/(H-L)>=0.5 AND (MIN(O,C)-L)/C>=0.05;
长腿形态:=IF(C>O,(C-O)*1.5<(O-L),(O-C)*1.5<(C-L)) AND 上下影线 AND 振幅>3;
低量100形态:=VOL<=LLV(VOL,买点低量天数100),colorgray;
低量50形态:=VOL<=LLV(VOL,买点低量天数50),colorblue;
低量10形态:=VOL<=LLV(VOL,买点低量天数10),colorgreen;
当天涨幅小于:=C/REF(C,1)<=1.05;
二连长阴:=REF(长阴短柱,1) >0 AND REF(长阴短柱,2)>0;
位置低于长阴:=IF(二连长阴,1 ,IF(REF(长阴短柱,1)>0,C<=((REF(C,2)-REF(C,1))*买点收盘价位置 +REF(C,1)),C<= ((REF(C,3)-REF(C,2))*买点收盘价位置 +REF(C,2))));
量低于长阴:=IF(REF(长阴短柱,2)>0,V*买点缩量倍数<=REF(V,2),V*买点缩量倍数 <=REF(V,1));
几天内长阴短柱:=COUNT(长阴短柱,长阴满足天数)>0;
涨幅小于:=C/REF(C,1)<=1.035;
TT:=(2*CLOSE+OPEN+HIGH+LOW);
动能:=(TT/EMA(TT,3)-1)*500,COLORSTICK;
动能强:=动能>REF(动能,1);
FF:=动能;//分析家公式网www.70822.com
STICKLINE(FF>0,-40,FF-40,7,0),COLOR33CFDD;
STICKLINE(FF>0 AND FF>REF(FF,1),-40,FF-40,7,0),COLOR0000CC;
STICKLINE(FF<=0,-40,FF-40,7,0),colorgreen;
STICKLINE(FF<=0 AND FF>REF(FF,1),-40,FF-40,7,0), colorblue;
做空:=IF(FF<=0 AND FF<=REF(FF,1),FF,0),NODRAW,colorgreen;
回补:=IF(FF<=0 AND FF>REF(FF,1),FF,0),NODRAW, colorblue;
超跌:=REF(COUNT(长阴短柱,2),1)>0 AND 低位凹底;
反弹1:=((REF(做空,1) AND REF(做空,2) ) OR (REF(做空,1) AND REF(回补,2))) AND 回补;
反弹2:=(REF(做空,2) AND REF(回补,1)) AND 回补;
超跌反弹1:=超跌 AND 反弹1 AND 涨幅小于;
超跌反弹2:=超跌 AND 反弹2 AND 涨幅小于;
DRAWTEXT(REF(做空,1) AND 回补, FF-45,'抄'),colorblue;
公共:=几天内长阴短柱  AND 当天涨幅小于 AND 位置低于长阴 AND 低位凹底 AND 动能强;
大长腿选:= 大长腿形态 AND 公共 ,coloryellow;
长腿选:=长腿形态 AND 公共 ,colorwhite;
低量10选:=低量10形态 AND 公共 ,colorgreen;
低量50选:=低量50形态 AND 公共  ,colorblue;
低量100选:=低量100形态 AND 公共 ,colorgray;
STICKLINE(长阴短柱 AND VAR1<50
,0,60,4,0),colorligreen;
STICKLINE(超跌反弹1
,0,30,4,0),colorblue;
STICKLINE(超跌反弹2
,0,30,4,0),coloryellow;
大长腿:IF(大长腿选,85,0),coloryellow,LINETHICK1;
长腿:IF(长腿选,70,0),colorwhite,LINETHICK1;
低量10:=IF(低量10选,25,0),colorgreen,LINETHICK1;
低量50:=IF(低量50选,25,0),colorblue,LINETHICK1;
低量100:=IF(低量100选,25,0),colorgray,LINETHICK1;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
涨幅小于8:=((C-REF(C,1))/REF(C,1))<=0.08;
涨幅大于3:=((C-REF(C,1))/REF(C,1))>=0.03;
一穿三:=MA5>O AND MA10>O AND MA20>O AND MA5<C AND MA10<C AND MA20<C AND CLOSE>OPEN AND V>REF(V*1.9,1) AND 涨幅大于3 AND 涨幅小于8 AND C>牛线;
昨日强:=REF(一穿三,1);
前日强:=REF(昨日强,1);
昨日强今日洗盘:=昨日强 AND C<=REF(H,1) AND C<REF(C,1) AND H<REF(H,1) AND L>REF(L,1) AND O<REF(C,1) AND C>REF(O,1) AND
C>REF(L,1)  AND VOL<REF(VOL,1);
前日强今日洗盘:=前日强 AND C<=REF(H,2) AND C<REF(C,2) AND H<REF(H,2) AND L>REF(L,2) AND O<REF(C,2) AND REF(C,1)<REF(H,2) AND REF(O,1)<REF(H,2) AND C>REF(O,2) AND
C>REF(L,2) AND VOL<REF(VOL,2);
STICKLINE(昨日强今日洗盘,50,0,3,0),coloryellow;
STICKLINE(前日强今日洗盘,50,0,3,0),colorred;
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
VAR11:=EMA(X1,13)>REF(EMA(X1,8),1);
VAR22:=BB13>1 AND VAR11;
DRAWTEXT(FILTER(VAR22,10),40,'∠45上升'),coloryellow;
AA15:=AMOUNT/V*100;
BB15:=L<AA15*0.9;
CC115:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD11:=L<MA(C,5)*0.921;
EE11:=V<MA(V,5)*1.5;
LSC:=BB15 AND CC115 AND DD11 AND EE11;
DRAWTEXT(LSC,60,'鼠'),colormagenta;
 

趋势套利

趋势套利


[url=http://www.70822.com/soft/sort013/sort036/down-152038.html]趋势套利(同花顺公式 副图 源码 测试图)[/url]

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