《底部支撑决策》与《止损线》合二为一
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-07-05 08:34:00
公式简介:
底部支撑:HHV(MA(L,11),98),COLORGREEN,LINETHICK1;
压力1:MA(底部支撑,12),COLORCYAN;
压力2:MA(底部支撑,18),COLORMAGENTA;
压力3:MA(底部支撑,24),COLORRED;
压力4:MA(底部支撑,30),COLORBLUE,LINETHICK1;
DRAWTEXT_FIX(1,0.0,0.1,0,'红色、振幅大的股是适合做短线、波段的股'),COLOR0000FF,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.15,0,'绿色较多的股是垃圾股'),COLOR008000,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.2,0,'白色较多的股是过渡股'),COLORFFFFFF,LINETHICK1;
DRAWTEXT_FIX(1,0.00,0.25,0,'底部支撑线,线下休息线上做'),COLOR00FF00,LINETHICK1;
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2 AND
CLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(HIGH,3),1,0)));
TP:=TJ2=1;
STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),1,0),COLORGREEN;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100<1.1,MAX(OPEN,REF(CLOSE,1)),CLOSE,3.5,0),COLORGREEN;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100<1.1,MAX(OPEN,REF(CLOSE,1)),LOW,0.001,0),COLORGREEN;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=1.1,MIN(OPEN,REF(CLOSE,1)),CLOSE,3.5,0),COLORWHITE;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=1.1,MIN(OPEN,REF(CLOSE,1)),HIGH,0.001,0),COLORWHITE;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=2.1,MIN(OPEN,REF(CLOSE,1)),CLOSE,3.5,0), COLORRED;
STICKLINE((HIGH-REF(C,1))/REF(C,1)*100>=2.1,MIN(OPEN,REF(CLOSE,1)),HIGH,0.001,0), COLORRED;
STICKLINE(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95,50,0),COLORWHITE;
DRAWTEXT(ISLASTBAR,HHV(C,5)*0.95,'止损价位'),COLORWHITE;
[url=http://www.goodgupiao.com/gupiaogongshi/21406.html][B]《底部支撑决策》与《止损线》合二为一[/B][/url]