您现在的位置:好股网 >> 股票公式 >> 大智慧L2公式 >> 一键转帖:大智慧 自用趋势公式 源码 图

大智慧 自用趋势公式 源码 图


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-03-13 09:14:00
公式简介:

大智慧源码

自用趋势

a1:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
a2:=SMA(a1,13,1);
a3:=SMA(a2,13,1);
出击:3*a2-2*a3,coloryellow ,linethick2;
阻力:3*a3-2*a2,colorblue,linethick2 ;
卖线: HHV(MA(阻力,3),13),colorRED,LINETHICK2;
买线:llV(MA(出击,3),13),color00ff00,LINETHICK2;
VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57;
VAR34:=EMA(VAR33,5);
VAR35:=3*VAR33-2*VAR34;
绝买:CROSS(VAR35,VAR33) AND VAR33<2.1 and c>o,COLORred;
DRAWTEXT(绝买,0.9,'绝买'),COLORred;

Var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
Var2:=SMA(SMA(Var1,3,1),3,1);
Va3:=EMA(Var2,5);
无敌:=3*Var2-2*Va3;
CROSS(无敌,Var2) AND 无敌<21;

趋势副图
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
趋势:VAR9,COLORFFFFFF,POINTDOT;
STICKLINE(VAR9>VARA,VAR9,VARA,8,0),COLOR0000FF;
STICKLINE(VAR9<=VARA,VAR9,VARA,8,0),COLOR00FF00 ;
DRAWTEXT(AA,趋势,'牛'),COLORYELLOW;
奔牛: EMA(0.382*REF(VAR9,2)+0.618*VAR9,6),COLORYELLOW;
PARTLINE(奔牛,奔牛>REF(奔牛,1),RGB(255,0,0),奔牛<REF(奔牛,1),RGB(0,255,0)),LINETHICK2;
PARTLINE(20,奔牛>REF(奔牛,1),RGB(255,0,0),奔牛<REF(奔牛,1),RGB(0,255,0)),POINTDOT,LINETHICK2;
PARTLINE(50,奔牛>REF(奔牛,1),RGB(255,0,0),奔牛<REF(奔牛,1),RGB(0,255,0)),POINTDOT,LINETHICK2;
PARTLINE(80,奔牛>REF(奔牛,1),RGB(255,0,0),奔牛<REF(奔牛,1),RGB(0,255,0)),POINTDOT,LINETHICK2;
趋势!: 5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA(
(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((
CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK0,
COLOR7F52AF;
底部:= 5;
抄底: IF(CROSS(趋势!,底部),60,0),LINETHICK1,STICK,COLORFF02FF;{超底:粉红柱}
DRAWTEXT(抄底,50,'【抄】'),COLORYellow,LINETHICK1;{←抄底}
天线:=100;
{逃顶: IF(CROSS(天线,趋势!),1,0),LINETHICK0,STICK,COLORGREEN;}
STICKLINE(CROSS(天线,趋势!),60,100,1,1),COLORGREEN;{逃顶:绿空心柱}
DRAWTEXT(CROSS(天线,趋势!),60,'【逃】'),COLORWhite,LINETHICK1;
VARMD1:=REF(CLOSE,1);
VARMD2:=((SMA(MAX(CLOSE-VARMD1,0),7,1))/(SMA(ABS(CLOSE-VARMD1),7,1)))*(100);
VARMD3:=CROSS(69,VARMD2);
TMDD:=IF((DATE<=1341231),1,0);
卖DD:=(FILTER(VARMD3,4))*(TMDD);
DRAWTEXT(卖DD,100,'卖★'),COLORF9F900,LINETHICK2;


同花顺

a1:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
a2:=SMA(a1,13,1);
a3:=SMA(a2,13,1);
出击:3*a2-2*a3,coloryellow ,linethick2;
阻力:3*a3-2*a2,colorblue,linethick2 ;
卖线: HHV(MA(阻力,3),13),colorred,LINETHICK2;
买线:LLV(MA(出击,3),13),color00ff00,LINETHICK2;
VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57;
VAR34:=EMA(VAR33,5);
VAR35:=3*VAR33-2*VAR34;
绝买:CROSS(VAR35,VAR33) AND VAR33<2.1 AND C>O,colorred;
DRAWTEXT(绝买,0.9,'绝买'),colorred;
Var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
Var2:=SMA(SMA(Var1,3,1),3,1);
Va3:=EMA(Var2,5);
无敌:=3*Var2-2*Va3;
CROSS(无敌,Var2) AND 无敌<21;


 



[url=http://www.goodgupiao.com/gupiaogongshi/26694.html][B]大智慧 自用趋势公式 源码 图[/B][/url]