外盘黄金怎么开户:大智慧公式原码——顶底
期货交易 2020-11-17 09:24期货交易www.xyhndec.cn
外盘黄金怎么开户:大智慧公式原码——顶底
用公式来预测顶底是最不准的,但参考价值极大。
下面是一个较好公式原码。
{顶底}
箱顶:HHV(MA((LOW+HIGH+CLOSE+O)/4,5),58),color00aaff;
箱底LV(MA((LOW+HIGH+CLOSE+O)/4,6),88),colorGREEN;
Var2:=EMA((HIGH+LOW+CLOSE)/3(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))20/10+箱底,2);
Var3:=(3Var2-2SMA(Var2,5,1))0.3;
Var4:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13));
Var5:=EMA(3Var4-2SMA(Var4,18,1),5);
Var6:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8));
Var7:=3SMA(Var6,3,1)-2SMA(SMA(Var6,3,1),5,1);
Var8:=(INDEXC2+INDEXH+INDEXL)/4;
Var9:=EMA(Var8,13)-EMA(Var8,34);
VarA:=EMA(Var9,5);
资金流向:=(Var9-VarA+箱底)1,coloryello;
VarG1:=1.86EMA(CLOSE,5)-EMA(CLOSE,13);
趋势力度:VarG1,colorFFAA99;
as:=箱底;
牛气冲天:STICKLINE( 趋势力度>=as,as ,趋势力度 ,4 ,0 ) ,colorred ;
sTICKLINE( 趋势力度<= REF(趋势力度,1)
AND 趋势力度>as,as ,趋势力度 ,4 ,1 ) ,colorhite;
趁机派发:STICKLINE( REF(趋势力度,2)<REF(趋势力度,1) and 趋势力度<= REF(趋势力度,1)
AND 趋势力度>as,as ,趋势力度 ,4 ,0 ) ,colreen ;
熊气盖天:STICKLINE( 趋势力度<as-0.5,as-0.5 ,趋势力度 ,8 ,1 ) , ;
MA3:MA(C,3),coloraaee00;
MA21:MA(C,21),colorhite;
DRAWTEXT( CROSS(MA3 , 箱底),l , '试'),colorred;
DRAWTEXT( CROSS(MA3 , MA21),l , '买'),coloryello;
DRAWTEXT( CROSS(MA3 , 箱顶) AND c>箱顶,箱顶 , '追'),color00EEAA;
DRAWTEXT( CROSS(箱顶,MA3)and c<箱顶 ,h , '卖') ,colorFFAA99;
DRAWTEXT( ref(资金流向 ,2)<ref(资金流向 ,1) and ref(资金流向 ,1)>资金流向
and 资金流向>箱顶 and c>箱顶,h1.0051, '顶'),colorhite;
DRAWTEXT( CROSS(趋势力度 , 箱底),箱底, '加仓'),colorred;
(责任编辑牛炒股网)
|
上一篇:国睿科技(600562) 股票股价
下一篇:股票公式:编写公式时常用的通式