趋势印钞机通达信主图指标,源码

DRAWGBK(C>0, RGB(0,0,00),RGB(0,0,0),0,'623',0);
N:=5;
BU:=BARSLAST(CLOSE=HHV(CLOSE,N));
SE:=BARSLAST(CLOSE=LLV(CLOSE,N));
KK1:=SE;
KK2:=BU;
LM1:=SE;
LM2:=BU;
OK:=KK1>KK2 AND LM1>LM2;
OK1:=KK1>KK2 AND LM1<LM2;
NOK:=KK2>KK1 AND LM2>LM1;
分析家公式网:=KK2>KK1 AND LM2<LM1;
STICKLINE(OK1,CLOSE,OPEN,4,0),COLORGREEN;
STICKLINE(OK1,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(OK,CLOSE,OPEN,4,0),COLORRED;
STICKLINE(OK,HIGH,LOW,0,0),COLORRED;
DRAWICON(OK AND NOT(REF(OK,1)),LOW-0.02,5);
DRAWICON(NOK AND NOT(REF(NOK,1)),HIGH+0.06,15);
DRAWTEXT(OK AND NOT(REF(OK,1)),LOW-0.02,' 开多');
DRAWTEXT(NOK AND NOT(REF(NOK,1)),HIGH+0.06,' 开空');
STICKLINE(NOK,CLOSE,OPEN,4,0),COLORFF0000;
STICKLINE(NOK,HIGH,LOW,0,0),COLORFF0000;
STICKLINE(分析家公式网,CLOSE,OPEN,4,0),COLORBLUE;
STICKLINE(分析家公式网,HIGH,LOW,0,0),COLORBLUE;
M1:=REF(MA(CLOSE,3),3);
M2:REF(MA(CLOSE,25),5),COLORGREEN;
止损止赢:IF(M1>M2,M2,M1),COLORRED;
IF(止损止赢>REF(止损止赢,1) AND 止损止赢=M2,止损止赢,DRAWNULL),LINETHICK2,COLORRED;
BK:=OK AND NOT(REF(OK,1));
SK:=NOK AND NOT(REF(NOK,1));
BIAS1 := (HIGH-REF(MA(CLOSE,25),5))/REF(MA(CLOSE,25),5)*100;
BIAS2 := (LOW-REF(MA(CLOSE,25),5))/REF(MA(CLOSE,25),5)*100;
BKT:=BARSLAST(BK);
SKT:=BARSLAST(SK);
SPP:=BKT<SKT AND BIAS1>=KK1 AND REF(BIAS1,1)<KK1;
BPP:=SKT<BKT AND BIAS2<=KK2 AND REF(BIAS2,1)>KK2;
SP:=SPP AND COUNT(SPP,BKT)=1;
BP:=BPP AND COUNT(BPP,SKT)=1;
DRAWICON(BP,LOW-0.02,8);
DRAWICON(SP,HIGH+0.06,9);
DRAWNUMBER(ISLASTBAR  ,C,C),COLORYELLOW;



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

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

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

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