抛物转向SAR
免费体验:请加微信号:18020657357。
1.任何时候都可以使用转向 为参考停损点;
有 = MA(CLOSE,1);
2.价格涨跌的速度必须比转向 升降的速度快,否则可能会产生停损信号;
3.转向 由红色变成绿色时,卖出参考;
4.转向 由绿色变成红色时,买进参考;
5.本指标周期参数一般设定为4天;
6.本设定主要为寻找出现多头停损或空头停损的个股。
钱 = (LOW+HIGH+CLOSE)/3;
就 = MA(钱,5);
好 = HHV(就,10);
清 = IF(HHV((有<好),10),100,90),colorgreen;
仓 = IF(HHV((有<好),10),99,95),colorwhite;
清仓 = CROSS(清,仓) AND 清 > 仓;
清仓1 = CROSS(仓,清) AND 清 < 仓;
DRAWTEXT(清仓,HIGH*1.0368,'↙清') ,colorligreen;
DRAWTEXT(清仓1,HIGH*1.0368 ,'↙╦') ,colorgray;
STICKLINE(清仓,CLOSE,O,8,0),colorligreen;
STICKLINE(清仓1,CLOSE,O,8,0),colorwhite;
d:=IF(ISNULL(SOLARTERM),1,2);
DRAWTEXT(d=2,CODETYPE, SOLARTERM);
N:= MA (CLOSE,10);
转向:SAR_S(N,2,10),LINETHICK3,POINTDOT;
绿进红﹦:(MA(C,30)+MA(C,72))/2 ,LINETHICK1,POINTDOT;
╬ : EMA(CLOSE,17),LINETHICK1 ,colorwhite;
zsx1:=LLV(CLOSE,60);
zq:=BARSLAST(CLOSE=ZSx1);
gg:=HHV(CLOSE,zq);
IF(gg>REF(gg,1))
zj=(gg-REF(gg,1));
ELSE zj:=0;
IF(zq=0)
高压:zsx1,colorgray,LINETHICK1;
ELSE 高压:REF(高压,1)+zj,LINETHICK1;
A1:=EMA(C,14),colorwhite,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
支撑:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),colorlired,LINETHICK1,POINTDOT;
压力:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL) ,colorligreen,LINETHICK1,POINTDOT;
底 : CROSS(高压,绿进红﹦) ,colorligreen,POINTDOT ;
DRAWTEXT(底,HIGH*1.0368,'↙底') ,colorligreen;
DRAWICON(底,LOW*0.98,'buy');
STICKLINE(底,CLOSE,O,6,0) ,colorgreen;
买 : CROSS(╬,转向) AND 绿进红﹦<= CLOSE ,colormagenta,POINTDOT ;
STICKLINE(买,CLOSE,O,8,0) ,colorlired;
DRAWTEXT(买,LOW*0.98,'↖买') ,colorlired;
DRAWTEXT(ISLASTBAR,高压,' ̄╦高压'),colorgray;
DRAWTEXT(ISLASTBAR,压力,' ̄╬压力') ,colorligreen;
DRAWTEXT(ISLASTBAR,支撑,' ̄╩支撑'),colorlired;
DRAWTEXT(ISLASTBAR,绿进红﹦,' ̄╩绿进红﹦') ,colorwhite;