大智慧买卖参考主图指标公式

N1:=6;N2:=12;N3:=26;
MA13:MA(CLOSE,13),COLORFF00FF,LINETHICK2;
MA17:MA(CLOSE,17),COLORBLUE,LINETHICK2;
mtm:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(Abs(MTM),6),6);
{买卖}
买:IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND crOSS(DX,MA(DX,2)),1,0),COLORRED,LINETHICK0;
卖:IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0),COLOR00FF00,LINETHICK0;
DRAWTEXT(filter(买=1,5),LOW-0.03,'▲'),COLORRED;
STICKLINE(filter(买=1,5),HIGH,LOW,0,1),COLORRED,LINETHICK2;
STICKLINE(filter(买=1,5),OPEN,CLOSE,4,1),COLORRED,LINETHICK2;
DRAWTEXT(filter(卖=1,1),HIGH*1.02,'▼'),COLOR00FF00;
STICKLINE(filter(卖=1,1),HIGH,LOW,0,1),COLOR00FF00,LINETHICK2;
STICKLINE(filter(卖=1,1),OPEN,CLOSE,4,1),COLOR00FF00,LINETHICK2;
{加仓}
加仓A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
加仓B:=加仓A;{白K突破追涨要用}
DRAWTEXT(FILTER((CROSS(加仓A,0) AND 买<>1) OR (CROSS(CLOSE,MA13) AND 买<>1),3),LOW-0.03,'♂'),COLORFF00FF;
STICKLINE(FILTER((CROSS(加仓A,0) AND 买<>1) OR (CROSS(CLOSE,MA13) AND 买<>1),3),HIGH,LOW,0,1),COLORFF00FF,LINETHICK2;
STICKLINE(FILTER((CROSS(加仓A,0) AND 买<>1) OR (CROSS(CLOSE,MA13) AND 买<>1),3),OPEN,CLOSE,4,1),COLORFF00FF,LINETHICK2;
加仓:FILTER((CROSS(加仓A,0) AND 买<>1) OR (CROSS(CLOSE,MA13) AND 买<>1),3),COLORFF00FF,LINETHICK0;
{注意}
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
注意:IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0),COLORYELLOW,LINETHICK0;
DRAWTEXT(注意 AND 卖<>1,HIGH*1.02,'¤'),COLORYELLOW;
STICKLINE(注意 AND 卖<>1,HIGH,LOW,0,1),COLORYELLOW,LINETHICK2;
STICKLINE(注意 AND 卖<>1,OPEN,CLOSE,4,1),COLORYELLOW,LINETHICK2;
{机构建仓}
建仓区域:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
{-股票公式网站 }
DRAWTEXT(建仓区域<5,LOW-0.03,''),COLORFF0033;
DRAWTEXT(建仓区域<5,LOW-0.03,'='),COLORWHITE;
机构建仓区:建仓区域<5,COLORFF0033,LINETHICK0;
{支撑与压力线}
RSV1:=(c-LLV(low,13))/(HHV(h,13)-LLV(l,13))*100;
K1:=SMA(RSV1,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
RSV2:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
支撑:IF(CROSS(J1,J2),L,REF(L,BArslAST(CROSS(J1,J2)))),COLORRED,LINETHICK2;
压力:IF(CROSS(J2,J1),H,REF(H,BARSLAST(CROSS(J2,J1)))),COLOR00FF00,LINETHICK2;
{白K突破追涨}
DRAWTEXT((CROSS(C,压力) AND 加仓B<>加仓A) OR (CROSS(C,压力) AND 买<>1),low-0.03,'↑'),COLORWHITE;
STICKLINE((CROSS(C,压力) AND 加仓B<>加仓A) OR (CROSS(C,压力) AND 买<>1),HIGH,LOW,0,1),COLORWHITE,LINETHICK2;
STICKLINE((CROSS(C,压力) AND 加仓B<>加仓A) OR (CROSS(C,压力)AND 买<>1),OPEN,CLOSE,4,1),COLORWHITE,LINETHICK2;
突破压力位:IF((CROSS(C,压力) AND 加仓B<>加仓A) OR (CROSS(C,压力)AND 买<>1),1,0),COLORWHITE,LINETHICK0;
{黄金卖点---波动仪出品}
黄金卖点:EMA(c+(h-l)*0.618,3),coloryellow,LINETHICK1;
黄金买点:EMA((o+h+l)/3,4),colorccffff,LINETHICK0;
红粉佳人:EMA(SLOPE(C,21)*20+C,42),COLORred,LINETHICK0;
DRAWTEXTREL(700,20,'黄金卖点:'+NUMTOSTRN(黄金卖点,2 )),LINETHICK2,coloryellow;
DRAWTEXTREL(400,20,'黄金买点:'+NUMTOSTRN(黄金买点,2 )),LINETHICK2,coloryellow;
PARTLINE(黄金买点,c>=黄金买点,RGB(255,0,255),1,RGB(0,0,0)),LINETHICK1;
PARTLINE(红粉佳人,c>=黄金买点 and 红粉佳人>=ref(红粉佳人,1),RGB(255,0,0),红粉佳人>=ref(红粉佳人,1),RGB(255,255,255),c>=黄金买点 and 红粉佳人<ref(红粉佳人,1),RGB(0,0,255),1,RGB(0,255,0)),LINETHICK2;
预测明日买点:=EMA((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4;
DRAWTEXTREL(360,100,'昨测今日买点:'+NUMTOSTRN(ref(预测明日买点,1),2 )),LINETHICK2,colorwhite;
预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-黄金买点)*0.618;
DRAWTEXTREL(670,200,'昨测今日卖点:'+NUMTOSTRN(ref(预测明日卖点,1),2 )),LINETHICK2,colorwhite;




来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图