当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:趋势线顶底判断副图源码
软件名称:[B]趋势线顶底判断副图源码[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2015-04-16 04:28:36
软件简介:
Var1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
趋势线: EMA(Var1,8);
趋势均线:MA(趋势线,7);
Var3:=(C+H+L+O)/4;
Var4:=LLV(L,34);
Var5:=HHV(H,34);
Var6:=EMA((Var3-Var4)/(Var5-Var4)*100,8);
Var7:=EMA(Var6,5);
STICKLINE((Var6-Var7)>0,Var6,Var7,8,1),colorBB11AA;
STICKLINE((Var6-Var7)<0,Var6,Var7,8,1),colorgreen;
卖:IF(CROSS(趋势均线,趋势线) AND 趋势线>80,50,100),colorgreen;
顶部区域:STICKLINE(Var7>80,100,105,10,1),colorFFFFDD;
底部区域:STICKLINE(Var7<20,-5,0,8,1),coloryellow;
趋势线:=SMA(EMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,3),7,1)-(13);
判断:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8);
买参考:IF(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND 判断
<25 ,35,1),colorwhite,POINTDOT;
STICKLINE(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND 判断
<25 ,35,0,2,1),colorwhite;
卖参考:IF(FILTER(判断<REF(判断,1)AND 判断
>65,5),80,70),colorred;
STICKLINE(FILTER(判断<REF(判断,1)AND 判断
>65,5),80,70,4,0),COLOR00FF00;
DVAR4:=LLV(LOW,10);
DVAR3:=HHV(HIGH,25);
阶段卖出: 3.2*30,COLORC6C600;
3.5*30,COLOR0088FF;
清仓卖出: 3.5*30,COLORFF75FF;
动力线:= EMA((CLOSE-DVAR4)/(DVAR3-DVAR4)*4,4)*30;
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),colorred;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORFF7700;
底部:0.2*30,COLOR70DB93;
关注:0.5*30,coloryellow;
DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,7),LAYER0;
DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,8),LAYER0;
DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,7),LAYER0;
DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,8),LAYER0;
强弱分界线:1.75*30,POINTDOT,LINETHICK2,COLOR70DB93;
数值:动力线,COLORA8A8A8;
[url=http://www.70822.com/soft/sort013/sort036/down-83252.html]趋势线顶底判断副图源码[/url]