{用法:
1、大家可以可翻阅历史牛股,可以说几乎所以牛股的主升行情都是在股价上穿”主力成本‘线后开始。
2、当股价上穿主力成本线后,多空线上穿强命线,可择机买入。}
多空线:SMA((O+CLOSE+HIGH+LOW)/4,3,1),COLORRED;
多空线1:=SMA((O+CLOSE+HIGH+LOW)/4,5,1);
主力成本:EMA(COST(9),250),COLORYELLOW;
长命线:EMA(COST(27),120),COLORWHITE;
强命线:EMA(COST(81),10);
VARG1:=1.86*EMA(CLOSE,5)-EMA(CLOSE,13);
趋势力度:=VARG1;
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORF4E202;
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORF4E202,LINETHICK2;
CG:=IF(MA(CLOSE,17) 浮筹:=CG-(EMA(C,3)-CG),COLORYELLOW; 力度:=趋势力度-浮筹,NODRAW; 年线:=EMA(C,250); 散筹:=年线-(EMA(C,3)-年线),COLORFF80FF,LINETHICK2; 操作线:=EMA(C,7),COLOR00FF00; A:=(REF(操作线,1)); {STICKLINE((操作线>A),A,操作线,2,0),COLORBLUE; STICKLINE((操作线<=A),A,操作线,2,0),COLORYELLOW;} JJ:=(3*C+H+L+O)/6; VAR11:=(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>VAR11 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; TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(LOW,3),1,0))); STFZ:=TJ3=1; CL:=STFZ AND TP; TJCL:=FILTER(CL,3); STICKLINE(LJL,OPEN,CLOSE,1,0),COLORYELLOW; IF(多空线>REF(多空线,1),多空线,DRAWNULL),COLORMAGENTA,LINETHICK2;