以下是西电老师的《底部支撑决策》与《止损线》合二为一公式
西电老师的《底部支撑决策》与《止损线》合二为一公式
底部支撑: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);更多指标公式:www.shenqizhibiao.com
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;
评论(0)