抛物转向SAR
免费体验:请加微信号:18020657357。
1.任何时候都可以使用转向 为参考停损点;
2.价格涨跌的速度必须比转向 升降的速度快,否则可能会产生停损信号;
3.转向 由绿色变成红色时,卖出参考;
4.转向 由红色变成绿色时,买进参考;
5.本指标周期参数一般设定为4天;
6.本设定主要为寻找出现多头停损或空头停损的个股。
d:=IF(ISNULL(SOLARTERM),1,2);
DRAWTEXT(d=2,CODETYPE, SOLARTERM) ,colorgray;
时间周期:=ABS(TAN(YEAR)),colorgray;
年:=ABS(MONTH)-1 ,coloryellow;
月:=ABS(MONTH)/11.1,coloryellow;
日:=ABS(DAY)-14,coloryellow;
年份:=CROSS(月,年) ,colorlired;
月份:=CROSS(年,日),colorgray;
VERLINE (年份,1),coloryellow;
VERLINE (月份,2),colorgray;
年份显时:=IF(CROSS(月,年),2,1) ,colorlired;
月份显时:=IF(CROSS(年,日),2,1),colorgray;
DRAWTEXT(年份显时=2,CODETYPE,DATE),colorlired;
DRAWTEXT(月份显时=2,CODETYPE,MONTH) ,colorwhite;
有 = MA(CLOSE,1);
钱 = (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;
转向:SAR_S(10,2,10),LINETHICK3,POINTDOT;
绿进红﹦:(MA(C,30)+MA(C,72))/2,LINETHICK1;
操作线 : EMA(CLOSE,17) ,colorwhite,LINETHICK1;
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,4),BARSLAST(CROSS(0,A1X))+1),DRAWNULL) ,colorligreen,LINETHICK1,POINTDOT;
底 : CROSS(高压,绿进红﹦),colorgreen,POINTDOT ;
DRAWTEXT(底,HIGH*1.0368,'↓底'),colorgreen;
DRAWICON(底,LOW*0.98,'buy');
STICKLINE(底,CLOSE,O,6,0) ,colorgreen;
买 :CROSS(转向,LOW),colorlired;
卖 :CROSS(HIGH,转向) AND HIGH > 高压 ,colorligreen;
STICKLINE(买,CLOSE,O,8,0),colorlired;
DRAWTEXT(买,LOW*0.98,'A'),colorlired;
STICKLINE(卖,CLOSE,O,8,0),colorligreen;
DRAWTEXT(卖,HIGH*1.0368,'B'),colorligreen;
低点买 : LOW<=LLV(LOW,30),colorwhite;
DRAWTEXT(低点买,LOW,'↑'),colorligray;
DRAWTEXT(ISLASTBAR,压力,' ̄╬压力') ,colorligreen;
DRAWTEXT(ISLASTBAR,支撑,' ̄╩支撑'),colorlired;