主图无未来放心用!好就多顶几下!
{绝无仅有主图}
{}
{参数:DF(3),N1(12)}
VAR1:=(C+H+O+L)/4;
卖出:=XMA(VAR1,20)*(1+80/1000),POINTDOT,COLORGREEN,LINETHICK3;
买入:=XMA(VAR1,32)*(1-100/1000),POINTDOT,COLORMAGENTA,LINETHICK3;
幅度:=100*(卖出-买入)/买入,NODRAW;
菩提:=买入+(卖出-买入)*2/3;{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};
般:=XMA(CLOSE,7);
若:=MEMA(CLOSE,3);
{DRAWICON(LONGCROSS(若,般,3) AND H>菩提,H,19);
DRAWICON(BARSLAST(LONGCROSS(若,般,3) AND H>菩提)=1,H,19);}
全绿K:=LONGCROSS(若,般,3) AND H>菩提;
{主力雷达白金 DF;1,10,3;N1:1,20,12 }
RSVL:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
KL:=SMA(RSVL,DF,1);
DL:=SMA(KL,DF,1);
KKL:=SMA(RSVL,DF,1);
DD:=SMA(KL,DF,1);
NL:=KKL+DD;
买入L:=DRAWICON(CROSS(NL,50),50,1),COLORRED;
卖出L:=DRAWICON(CROSS(160,NL),160,2),COLORGREEN;
卖出K:=CROSS(160,NL);
{股市狂升指标}
TM:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);
T1M:=V;
SL1M:=(TM/REF(TM,1)-1)*1000;
趋势5:=XMA(XMA(XMA(SL1M,20),20),20),COLORYELLOW;
趋势6:=XMA(XMA(XMA(SL1M,10),10),10),COLORMAGENTA;
QA9:=趋势6-趋势5;
QA10:=EMA(QA9,89);
买入M:=(QA9-QA10)*2,COLORSTICK;
{DRAWICON(买入M>=0,L,1);}
{牛熊区间背景}
M1:=EMA(C,5);M2:=EMA(C,13);M3:=EMA(C,34),COLORBLUE,LINETHICK2;
MC1:=EMA(C,55);MC2:=EMA(C,89);MA4:=EMA(C,144);
VAR1A1H:=(REF(CLOSE,1)-REF(ATR,1));
{买线BJ:=EMA(C,3);
卖线A:=REF(EMA(C,14),1)COLORWHITE,LINETHICK3;
卖线BJ:=(HHV(VAR1A1H,12)),LINETHICK3,COLORWHITE;}
{生命线A:=EMA(C,34),COLORBLUE,LINETHICK2;}
买线1:=REF(EMA(C,14),1)COLORWHITE,LINETHICK3;
卖线1:=IF(MC1>MAX(MC2,MA4),MC1,IF(MC1<MIN(MC2,MA4),MC2,MA4)),COLORFF00CC,LINETHICK3;
高1:=REF(HHV(H,150),3);
低1:=REF(LLV(L,150),3);
{上行:=CROSS(买线1,卖线1);
下行:=CROSS(卖线BJ,买线BJ);}
STICKLINE(买线1>=卖线1,REFDATE(低1,DATE),REFDATE(低1,DATE)*0.96,6,0)COLOR001050; |