飞狐黄金箱主图指标公式

N1:=4;
上收:=c;
上开:=o;
上高:=h;
上低:=l;
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,l,1);
DRAWICON(t3 OR t5,h,2);
Var1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,3,1);
DRAWTEXT(CROSS(Var3,Var4) AND Var3<40,箱底,'逢低吸呐'),COLORf00ff0;
DRAWTEXT(CROSS(Var4,Var3) AND Var4>75 ,箱顶*1.02,'逢高减磅'),COLORf0f000;
DRAWTEXT(Var3>=Var4 and BARSCOUNT(C)=SYSPARAM(1),箱顶,'--中期好'),COLOR00FFFF,ALIGN1;{持仓区,中期向好!}
DRAWTEXT( Var3<Var4 and BARSCOUNT(C)=SYSPARAM(1),箱顶,'--中期坏'),COLORf0f000,ALIGN1;{空仓区,中期走坏!}
DRAWTEXT( A>B and BARSCOUNT(C)=SYSPARAM(1),箱底,'--短期好'),COLOR00FFFF,ALIGN1;
DRAWTEXT(A<B and BARSCOUNT(C)=SYSPARAM(1),箱底,'--短期坏'),COLORf0f000,ALIGN1;



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

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

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

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