【北斗七星】八个指标共振 趋势更可信 不是七星应该是北斗8星


{北斗七星副}

15,COLOR111111;


F:=71;

F10:=13;

F15:=3;

F11:=12;

F12:=9;

F13:=7;

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

DRAWICON(C>BBI,105,1);

DRAWTEXT(ISLASTBAR=1,IF(C>BBI,100,100),'   1'),COLORWHITE;

DIFF:=EMA(C,F11)-EMA(C,F);

DEA:=EMA(DIFF,F12);

MACD:=2*(DIFF-DEA);

DRAWICON(MACD>REF(MACD,1),90,1);

DRAWTEXT(ISLASTBAR=1,IF(MACD>REF(MACD,1),90,90),'   2'),COLORWHITE;

RSV:=(C-LLV(L,F))/(HHV(H,F)-LLV(L,F))*100;

K:=SMA(RSV,F10,1);

D:=SMA(K,F15,1);

J:=3*K-2*D;

DRAWICON(J>REF(J,1),80,1);

DRAWTEXT(ISLASTBAR=1,IF(J>REF(J,1),80,80),'   3'),COLORWHITE;

MA1:=EMA(C,F13);

DRAWICON(C>MA1,70,1);

DRAWTEXT(ISLASTBAR=1,IF(C>MA1,70,70),'   4'),COLORWHITE;

WLC:= REF(C,1);

RSI1:=SMA(MAX(C-WLC,0),F13,1)/SMA(ABS(C-WLC),F13,1)*100;

RSI2:=SMA(MAX(C-WLC,0),F10,1)/SMA(ABS(C-WLC),F10,1)*100;

DRAWICON(RSI1>RSI2,60,1);

DRAWTEXT(ISLASTBAR=1,IF(RSI1>RSI2,60,60),'   5'),COLORWHITE;

VAR6:=(2*C+H+L)/4;

VAR8:=LLV(L,34);

VARB:=HHV(H,34);

VARC:=EMA((VAR6-VAR8)/(VARB-VAR8)*100,8);

VARD:=EMA(VARC,5);

DRAWICON (VARC-VARD< 0,50,2);

DRAWICON(VARC-VARD>0,50,1);

DRAWTEXT(ISLASTBAR=1,IF(VARC-VARD>0,50,50),'   6'),COLORWHITE;

VAR2:=AMOUNT/VOL/100;

VAR18:=MA(VAR2,10);

DRAWICON (C< VAR18,40,2);

DRAWICON(C>VAR18,40,1);

DRAWTEXT(ISLASTBAR=1,IF(C< VAR18 OR C>VAR18,40,40),'   7'),COLORWHITE;

RSX:=(HHV(H,F)-C)/(HHV(H,F)-LLV(L,F))*100;

LWR1:=SMA(RSX,F13,1);

LWR2:=SMA(LWR1,F15,1);

DRAWICON (LWR1>LWR2,30,2);

DRAWTEXT(ISLASTBAR=1,IF(LWR1>LWR2,30,30),'   8'),COLORWHITE;





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

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

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

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