站内快速搜索    

发新话题
打印

[大智慧Ⅰ] {操盘高手Ⅲ}大智慧L2

{操盘高手Ⅲ}大智慧L2

 

本文来自:海涛股票论坛(www.198bbs.com)  作者:菠菜娃娃   点击729


<DIV class=msgborder id=code0>操作线:ema(c,n),color00ff00,linethick2;{30日指数平滑均价}<BR>A:=ref(操作线,1);<BR>mtm:=close-ref(close,1);<BR>dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);<BR>dy:=hhv(dx,2)=hhv(dx,7) and count(dx&gt;50,2) and cross(ma(dx,2),dx);<BR>lc:=ref(close,1);<BR>rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;<BR>{买入}<BR>stickline(操作线&gt;=A,high,low,0,0),colorff00ff;<BR>stickline(操作线&gt;=A,open,close,4,0),colorff00ff;<BR>stickline(cross(操作线,A),high,low,0,0),colorred;<BR>stickline(cross(操作线,A),open,close,4,0),colorred;<BR>drawtext(cross(操作线,A),low*0.98,'▲'),colorred;<BR>drawtext(cross(操作线,A),low*0.975,'∣'),colorred;<BR>drawtext(cross(操作线,A),low*0.975,'‖'),colorred;<BR>drawtext(cross(操作线,A),low*0.97,'∣'),colorred;<BR>drawtext(cross(操作线,A),low*0.97,'‖'),colorred;<BR>drawtext(cross(操作线,A),low*0.965,'∣'),colorred;<BR>drawtext(cross(操作线,A),low*0.965,'‖'),colorred;<BR>{卖出}<BR>stickline(操作线&lt;A,high,low,0,0),colorcccccc;<BR>stickline(操作线&lt;A,open,close,4,0),colorcccccc;<BR>stickline(cross(A,操作线),high,low,0,0),color00ff00;<BR>stickline(cross(A,操作线),open,close,4,0),color00ff00;<BR>drawtext(cross(A,操作线),high*1.02,'▼'),color00ff00;<BR>drawtext(cross(A,操作线),high*1.025,'∣'),color00ff00;<BR>drawtext(cross(A,操作线),high*1.025,'‖'),color00ff00;<BR>drawtext(cross(A,操作线),high*1.03,'∣'),color00ff00;<BR>drawtext(cross(A,操作线),high*1.03,'‖'),color00ff00;<BR>drawtext(cross(A,操作线),high*1.035,'∣'),color00ff00;<BR>drawtext(cross(A,操作线),high*1.035,'‖'),color00ff00;<BR><BR>{减仓}<BR>减仓:filter(cross(80,rsi) or dy,5),colorblue;<BR>drawtext(减仓 and 操作线&gt;A,high*1.03,'○'),colorblue;<BR>红K买入:0,colorred;<BR>绿K卖出:0,color00ff00;<BR>粉K持股:0,colorff00ff;<BR>灰K持币:0,colorffffcc;</DIV><BR>1、编写思路:运用30日指数平滑均价线作为买入卖出的依据。<BR>2、用法说明:一、上穿操作线买入,下穿操作线卖出。<BR>             二、红箭头买入、粉K持股、绿箭头卖出、灰K持币、蓝圈减仓。<BR>3、声明:本指标公式不含未来数据。}<BR>{优点:大牛市避免频繁操作,熊市避免深度套牢。<BR>缺点:横盘信号出现频繁,容易造成资金流失。任何软件好像都不可避免这种情况,所以要谨慎操作。} {操盘高手Ⅲ}大智慧L2 - ≡指标公式探讨区≡ -

TOP

谢谢提供!!!!!!!!!!!

TOP

:) :)

TOP

又是变量N没有定义

TOP

发新话题