软件名称:[B]卧虎指标(同花顺公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2021-06-04 00:11:33
软件简介:
卧虎指标
短期趋势线价咯:MA(C,5),LINETHICk2,COLOR0099CC;
中期趋势线价咯:EMA(C,14),LINETHICK3,coloryellow;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
生命线价咯:EMA(X,13),LINETHICK2,colormagenta;
五日乖离率:=(C-短期趋势线价咯)/短期趋势线价咯*100;
BB05:=ATAN((短期趋势线价咯/REF(短期趋势线价咯,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((短期趋势线价咯-REF(短期趋势线价咯,1))/REF(短期趋势线价咯,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;
//IF(BB05>30 AND 短期趋势线价咯>REF(短期趋势线价咯,1), 短期趋势线价咯,DRAWNULL),LINETHICK0,COLOR0099CC;
AA10:=MA(C,10), LINETHICK0;
AA20:=MA(C,20);
BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
//IF(BB05<0 AND 短期趋势线价咯<REF(短期趋势线价咯,1), 短期趋势线价咯,DRAWNULL),LINETHICK0,COLOR0099CC;
AA30:=MA(C,30), LINETHICK0;
三拾日乖离率:=(C-AA30)/AA30*100,NODRAW;
VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);
VAR2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1);
BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
VAR5:=CROSS(CCI,-100);
VAR6:=IF(REF(C,1)*1.08,DRAWNULL,CCI>=200);
//减仓1信号
SJ:=VAR5;
//STICKLINE(SJ,H,L,0.6,0),coloryellow;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , CLOSE,'←减仓'),colorcyan;
//{减仓2信号}
JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10>REF(AA10,1) ;
减仓:=FILTER(JC,10);
DRAWTEXT(减仓,CLOSE,'←减仓'),colorcyan;
//{大胆博信号}
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF((CLOSE/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),45),(HIGH)*(1.005),'←大胆博 '),coloryellow;
//{轻仓追信号}
ZZ:=HIGH>REF(HHV(HIGH,60),1) AND CLOSE/REF(CLOSE,1)>1.093;
DRAWTEXT(ZZ,CLOSE,'轻仓追'),colorlired;
//{强势加仓信号}
PLUS:=IF(EXIST(FILTER((VAR4AA>90),45),10)AND LOW<短期趋势线价咯*1.02AND LOW>短期趋势线价咯 *0.98,1,DRAWNULL);
DRAWTEXT(PLUS=1,LOW*0.98,'←加仓'),coloryellow;
//{止损线}
LOSSPRICE:=FINDLOW(LOW,BARSLAST(VAR4AA>90),1,1);
DRAWTEXT(FILTER((VAR4AA>90),45),LOW,'------止损线'),colorgreen;
//DRAWSL(FILTER((VAR4AA>90),45),LOSSPRICE,0,3,0),colorgreen;
DRAWTEXT_FIX(O=O,0,0.04,0,'"大胆博": 20%至50%仓位介入,跌破绿色止损线须离场'),coloryellow;
DRAWTEXT_FIX(O=O,0,0.08,0,'"轻仓追": 5%至10%仓位介入,次日起择机止盈离场'),colorlired;
DRAWTEXT_FIX(O=O,0,0.12,0,'" 加仓 ": 10%至20%仓位介入,次日起择机止盈离场'),coloryellow;
DRAWTEXT_FIX(O=O,0,0.16,0,'" 减仓 ": 降低仓位,或全部清仓'),colorcyan;
DRAWTEXT_FIX(O=O,0,0.20,0,'"止损线": 若跌破此线,应坚决离场'),colorgreen;
DRAWTEXT_FIX(O=O,0,0.24,0,'↑↑【卧虎指标】文字信号简述↑↑'),colorligray;
[url=http://www.70822.com/soft/sort013/sort036/down-156275.html]卧虎指标(同花顺公式 主图 源码 测试图)[/url]