收集:中国股票市场经济分析网

大智慧公式
大智慧公式:上证指数趋势监控
{n1: 1  300  10}
上收:="h000001$CLOSE";
上开:="h000001$OPEN";
上高:="h000001$HIGH";
上低:="h000001$LOW";
STICKLINE(上收>=上开,上开,上收,6,1 ),COLOR0000FF;
AA:=STICKLINE(上收>=上开,上收,上高,0.6,1 ),COLOR0000FF;
STICKLINE(上收>=上开,上开,上低,0.6,1 ),COLOR0000FF;
STICKLINE(上开>上收,上收,上开,6,0 ),COLORFFFF00;
BB:=STICKLINE(上开>上收,上收,上低,0.6,0 ),COLORFFFF00;
STICKLINE(上开>上收,上开,上高,0.6,0 ),COLORFFFF00;
JJ:=(上开+上高+上低)/3;
A:=EMA(JJ,N1);
B:=REF(A,1);
智能黄金线:A,POINTDOT,COLORYELLOW;
B,POINTDOT,COLORYELLOW;
STICKLINE(A>B,A,B,5,0),COLORYELLOW;
STICKLINE(A<B,A,B,5,0),COLORBLUE;
VA1:=EMA(上收,8);
VA2:=EMA(上收,20);
DRAWTEXT(CROSS(VA2,VA1),VA1,'★止损'),COLORyellow;
DRAWTEXT(CROSS(VA1,VA2),VA1,'★买入'),COLOR00FF00;
选手a:=MA(上收,3);
箱顶a:=MA(REF(HHV(上收,6),1),3);
箱底a:=MA(REF(LLV(上收,3),1),3);
t1:=MA(上收,20)>=REF(MA(上收,20),1);
t2:=CROSS(选手a,箱底a) AND 箱顶a/箱底a>100/100 AND t1;
t3:=CROSS(箱顶a,选手a) AND 箱顶a/箱底a>100/100;
选手:=MA(上收,2);
箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF;
箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00;
t4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100;
t5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100;
DRAWICON(t2 OR t4,REF(上低,1),1);
DRAWICON(t3 OR t5,REF(上高,1)+20,2);
Var1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,3,1);
t6:=DRAWTEXT(Var3>=Var4,箱顶-5,'大盘中期好'),COLOR00FFFF;{持仓区,大盘中期向好!}
t7:=DRAWTEXT( A>B,(箱底+(箱顶-箱底)/2),'大盘短期好'),COLOR00FFFF;{大盘短期向好!}
DRAWTEXT(CROSS(Var3,Var4) AND Var3<40,箱底+5,'逢低吸呐'),COLORf00ff0;
t8:=DRAWTEXT( Var3<Var4,箱顶-5,'大盘中期坏'),COLORf0f000;{空仓区,大盘中期走坏!}
t9:=DRAWTEXT(A<B,(箱底+(箱顶-箱底)/2),'大盘短期坏'),COLORf0f000;{大盘短期走坏!}
DRAWTEXT(CROSS(Var4,Var3) AND Var4>75,箱底+5,'逢高减磅'),COLORf0f000;

{n1: 1  300  10}
上收:="h000001$CLOSE";
上开:="h000001$OPEN";
上高:="h000001$HIGH";
上低:="h000001$LOW";
STICKLINE(上收>=上开,上开,上收,6,1 ),COLOR0000FF;
AA:=STICKLINE(上收>=上开,上收,上高,0.6,1 ),COLOR0000FF;
STICKLINE(上收>=上开,上开,上低,0.6,1 ),COLOR0000FF;
STICKLINE(上开>上收,上收,上开,6,0 ),COLORFFFF00;
BB:=STICKLINE(上开>上收,上收,上低,0.6,0 ),COLORFFFF00;
STICKLINE(上开>上收,上开,上高,0.6,0 ),COLORFFFF00;
JJ:=(上开+上高+上低)/3;
A:=EMA(JJ,N1);
B:=REF(A,1);
智能黄金线:A,POINTDOT,COLORYELLOW;
B,POINTDOT,COLORYELLOW;
STICKLINE(A>B,A,B,5,0),COLORYELLOW;
STICKLINE(A<B,A,B,5,0),COLORBLUE;
VA1:=EMA(上收,8);
VA2:=EMA(上收,20);
DRAWTEXT(CROSS(VA2,VA1),VA1,'★止损'),COLORyellow;
DRAWTEXT(CROSS(VA1,VA2),VA1,'★买入'),COLOR00FF00;
选手a:=MA(上收,3);
箱顶a:=MA(REF(HHV(上收,6),1),3);
箱底a:=MA(REF(LLV(上收,3),1),3);
t1:=MA(上收,20)>=REF(MA(上收,20),1);
t2:=CROSS(选手a,箱底a) AND 箱顶a/箱底a>100/100 AND t1;
t3:=CROSS(箱顶a,选手a) AND 箱顶a/箱底a>100/100;
选手:=MA(上收,2);
箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF;
箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00;
t4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100;
t5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100;
DRAWICON(t2 OR t4,REF(上低,1),1);
DRAWICON(t3 OR t5,REF(上高,1)+20,2);
Var1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,3,1);
t6:=DRAWTEXT(Var3>=Var4,箱顶-5,'大盘中期好'),COLOR00FFFF;{持仓区,大盘中期向好!}
t7:=DRAWTEXT( A>B,(箱底+(箱顶-箱底)/2),'大盘短期好'),COLOR00FFFF;{大盘短期向好!}
DRAWTEXT(CROSS(Var3,Var4) AND Var3<40,箱底+5,'逢低吸呐'),COLORf00ff0;
t8:=DRAWTEXT( Var3<Var4,箱顶-5,'大盘中期坏'),COLORf0f000;{空仓区,大盘中期走坏!}
t9:=DRAWTEXT(A<B,(箱底+(箱顶-箱底)/2),'大盘短期坏'),COLORf0f000;{大盘短期走坏!}
DRAWTEXT(CROSS(Var4,Var3) AND Var4>75,箱底+5,'逢高减磅'),COLORf0f000;

发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口


相关内容


  • 上一篇教程:
  • 下一篇教程: