通达信终极黄金主图指标公式

DIFF:=EMA(C,5)-EMA(C,20);
DEA:=EMA(DIFF,10);
macd:=2*(DIFF-DEA);
JC:=crOSS(DIFF,DEA);
SC:=CROSS(DEA,DIFF);
DCJC:=JC AND DEA>0;
VAR1:=1;
VAR2:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;
VAR3:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;
VAR4:=REF(VAR2,1)<-20 AND VAR3;
VAR5:=REF(VAR2,1)<-20 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;
VAR6:=FILTER(VAR4 OR VAR5,3);
VAR7:=OPEN>CLOSE AND HIGH-IF(CLOSE>OPEN,CLOSE,OPEN)>IF(OPEN<CLOSE,OPEN,CLOSE)-LOW;
VAR8:=REF(VAR2,1)>Abs(-20) AND VAR7;
{- }
VAR9:=REF(VAR2,1)>ABS(-20) AND CLOSE<OPEN AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;
VARA:=FILTER(VAR8 OR VAR9,3);
VARB:=CLOSE>OPEN AND OPEN-LOW>HIGH-CLOSE;
VARC:=REF(VAR2,1)<-13 AND VAR3;
VARD:=REF(VAR2,1)<-13 AND CLOSE>OPEN AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*1000>20;
VARE:=FILTER(VARC OR VARD,3);
VARF:=OPEN>CLOSE AND HIGH-IF(CLOSE>OPEN,CLOSE,OPEN)>IF(OPEN<CLOSE,OPEN,CLOSE)-LOW;
VAR10:=REF(VAR2,1)>ABS(-13) AND VAR7;
VAR11:=REF(VAR2,1)>ABS(-13) AND CLOSE<OPEN AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*1000>20;
VAR12:=FILTER(VAR10 OR VAR11,3);
DRAWTEXT(VARE*VAR1>0,LOW,'短线关注'),COLORRED;
DRAWTEXT(VAR12*VAR1>0,HIGH,'控制风险'),COLORCYAN ;
LC:=REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , HIGH,'→ 逃顶 '),COLORBLUE ;
DRAWTEXT(CROSS(RSI,11) , LOW,'→ 低吸 '),COLORRED ;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,5);
B:=REF(A,1);
终极黄金:STICKLINE(A>B,A,B,5,0),COLORC44CF0;
一卸千里:STICKLINE(A<B,A,B,5,0),COLORBLUE;
天籁:HHV(HIGH,35),COLORRED,LINETHICK2;
地籁:LLV(LOW,55),COLORRED,LINETHICK2;
三十四日:MA(CLOSE,34);
八十九日:MA(CLOSE,89);
一百四十四日:MA(CLOSE,144);
无穷成本均线: DMA(CLOSE,vol/CAPITAL),LINETHICK2;




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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