当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:曲线趋势顶底,止盈止损 均线趋势
软件名称:[B]曲线趋势顶底,止盈止损 均线趋势[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2023-09-26 00:15:25
软件简介:
曲线趋势顶底,止盈止损 均线趋势
{//01止盈止损}
A:=ZIG(3,5);
零轴:5;
STICKLINE(A>=REF(A,1),2.1,2.9,9/3,0),COLORRED,LINETHICK1;
STICKLINE(A<REF(A,1),2.1,2.9,99/3,0),COLORGREEN,LINETHICK1;
{//02均线趋势}
均线1:=MA(CLOSE, 5);
STICKLINE(均线1>=REF(均线1,1),1,1.8,99/3,0),COLORMAGENTA,LINETHICK1;
CV:=CLOSE;
布林线:=MA(CLOSE,1)-(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
STICKLINE(布林线>=0,0,0.8,99/3,0),COLORYELLOW,LINETHICK1;
DIFF :=EMA(CLOSE,10) - EMA(CLOSE,23);
DEA :=EMA(DIFF,8);
VAF:=TROUGHBARS(3,15,1)<4;
VAF2:=PEAKBARS(3,15,1)<4;
STICKLINE(FILTER(VAF=1,5),4,4.8,99/3,0),COLORRED,LINETHICK1;
DRAWTEXT(FILTER(VAF=1,3),4.6,'底'),COLORRED ,LINETHICK2;
STICKLINE(FILTER(VAF2=1,5),4,4.8,99/3,0),COLORGREEN,LINETHICK1;
DRAWTEXT(FILTER(VAF2=1,3),4.6,'顶'),COLORRED ,LINETHICK2;
STICKLINE(TROUGHBARS(3,3,1)=0 AND DIFF<0 AND DIFF<DEA,3,3.8,99/3,0),COLORRED,LINETHICK1;
STICKLINE(PEAKBARS(3,3,1)=0 AND DIFF>0 AND DIFF>DEA,3,3.8,99/3,0),COLORGREEN,LINETHICK1;
[url=http://www.70822.com/soft/sort013/sort05/down-169410.html]曲线趋势顶底,止盈止损 均线趋势[/url]