大智慧保住利润指标公式,大智慧三背离抄底指标公式
admin888
|大智慧保住利润指标公式,大智慧三背离抄底指标公式
大智慧保住利润指标公式
QS0:=((CLOSE - LLV(LOW,120)) / (HHV(HIGH,120) - LLV(LOW,120)));
QS1:=((QS0 / 1) * EMA(CLOSE,20));
QS:=SMA(QS1,3,1);
QD0:=((CLOSE - LLV(LOW,119)) / (HHV(HIGH,119) - LLV(LOW,119)));
QD1:=((QD0 / 1) * EMA(CLOSE,20));
QD:=SMA(QD1,5,1);
QF0:=((CLOSE - LLV(LOW,118)) / (HHV(HIGH,118) - LLV(LOW,118)));
QF1:=((QF0 / 1) * EMA(CLOSE,20));
QF:=SMA(QF1,5,1);
PX1:=((((QS + QD) + QF) / 3) + EMA(CLOSE,20));
PX2:=MA(PX1,2);
PX3:=MA(PX1,3);
YY:=((((2 * CLOSE) + HIGH) + LOW) / 4);
MA1:=MA(YY,45);
收:(PX1 - MA1);
中:(PX2 - MA1);
开:(PX3 - MA1);
MA2:=MA(收,8);
STICKLINE((收 >= 8),0,开,10,0),color8888BB;
STICKLINE((收 <= 0.1),1,开,10,0),colorAAAA55;
STICKLINE(((MA2 >= 8) AND (收 >= 8)),0,开,8,0),color6666DD;
STICKLINE(((MA2 <= 0.1) AND (收 < 0)),1,开,8,0),color666644;
DRAWTEXT(FILTER((收 >= 8),15),6,'顶区'),colorFF88ee;
DRAWTEXT(FILTER((收 <= 0.1),15),0.6,'底区'),colorFFFFFF;
DRAWTEXT(FILTER(((MA2 >= 8) AND (收 >= 8)),15),7,'大顶'),colorFFFF00;
DRAWTEXT(FILTER(((MA2 <= 0.1) AND (收 < 0)),15),0.8,'大底'),colorFFFFee;
底线:0.5,colorFF00FF;
STICKLINE((收 >= 开),收,(开 - 0.03),1,0),color44FFFF;
STICKLINE((收 >= 开),收,(开 - 0.03),0,0),colorCCFFFF;
STICKLINE((收 >= 开),中,(开 - 0.03),8,0),color44FFFF;
STICKLINE((收 >= 开),中,(开 - 0.03),7,0),color66FFFF;
STICKLINE((收 >= 开),中,(开 - 0.03),6,0),color77FFBB;
STICKLINE((收 >= 开),中,(开 - 0.03),5,0),color88FFBB;
STICKLINE((收 >= 开),中,(开 - 0.03),4,0),color99FFBB;
STICKLINE((收 >= 开),中,(开 - 0.03),3,0),colorAAFFBB;
STICKLINE((收 >= 开),中,(开 - 0.03),2,0),colorBBFFBB;
STICKLINE((收 >= 开),中,(开 - 0.03),1,0),colorCCFFBB;
STICKLINE((收 <= 开),收,(开 + 0.03),1,0),colorFF4400;
STICKLINE((收 <= 开),收,(开 + 0.03),0,0),colorFFCC00;
STICKLINE((收 <= 开),中,(开 + 0.03),8,0),colorFF4400;
STICKLINE((收 <= 开),中,(开 + 0.03),7,0),colorFF6600;
STICKLINE((收 <= 开),中,(开 + 0.03),6,0),colorFF7700;
STICKLINE((收 <= 开),中,(开 + 0.03),5,0),colorFF8800;
STICKLINE((收 <= 开),中,(开 + 0.03),4,0),colorFF9900;
STICKLINE((收 <= 开),中,(开 + 0.03),3,0),colorFFAA00;
STICKLINE((收 <= 开),中,(开 + 0.03),2,0),colorFFBB00;
STICKLINE((收 <= 开),中,(开 + 0.03),1,0),colorFFCC00;
MA2,colorFFFFBB;
生命线:MA(收,13),colorFFBBBB;
IF((生命线 < REF(生命线,0)),生命线,1),colorFFFFFF;
MA(LLV(收,120),3),colorFFFF00;
MA(HHV(收,120),3),colorFF00FF;
大智慧三背离抄底指标公式
A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水岭:IF(MA(CLOSE,17)
操作线:分水岭-(EMA(C,3)-分水岭),COLOR00FFFF,LINETHICK2;
PM:MA(C,5),COLORWHITE,LINETHICK2;
IF(PM> REF(PM,1),PM,0),COLORRED,LINETHICK2;
IF(PM=REF(PM,1),PM,0),COLORRED;
S:=(PM> 操作线);
IF(DD,分水岭,0),COLOR00FF00,LINETHICK2;
IF(S,分水岭,0),COLOR00FF00,POINTDOT,LINETHICK4;
DRAWICON(CROSS(分水岭,操作线),分水岭-0.1,1);
{买入红箭头}A1:=BARSLAST(ref(cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)),1));
B1:=ref(c,A1+1)>c and ref("macd.diff"(12,26,9),A1+1)<"macd.diff"(12,26,9) and cross("macd.diff"(12,26,9),"macd.dea"(12,26,9));
DRAWTEXT(B1> 0,L-0.02,'MACD底背离'),COLOR00FFFF;
{MACD底背离}A2:=BARSLAST(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1));
B2:=ref(c,A2+1)>c and ref("kdj.k"(9,3,3),A2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
DRAWTEXT(B2,L-0.10,'KDJ底背离'),COLORFF00FF;
{KDJ底背离}A3:=BARSLAST(ref(cross("
RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=ref(c,A3+1)>c and ref("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) and cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
DRAWTEXT(B3> 0,L-0.18,'RSI底背离'),COLOR0000FF;
{RSI底背离}C1:=BARSLAST(ref(cross("macd.dea"(12,26,9),"macd.diff"(12,26,9)),1));
D1:=ref(c,C1+1)
DRAWTEXT(D1> 0,H+0.16,'MACD顶背离'),COLOR00FF00;
{MACD顶背离}C2:=BARSLAST(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1));
D2:=ref(c,C2+1)
DRAWTEXT(D2> 0,H+0.08,'KDJ顶背离'),COLORFFFFCC;
{KDJ顶背离}C3:=BARSLAST(ref(cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=ref(c,C3+1)
DRAWTEXT(D3> 0,H+0.04,'RSI顶背离'),COLORFF9900;
{RSI顶背离}
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。