通达信长妖趋势主图指标公式

DRAWTEXT_FIX(1,0.005,0,0,'所属风格:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0,0,FGBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.005,0.05,0,'所属概念:'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.06,0.05,0,GNBLOCK),COLORYELLOW;
KBY1:EMA(C,10),COLOR61DC16 DOTLINE;
KBY2:EMA(KBY1,3),COLOR61DC16 DOTLINE;
KBY3:EMA(KBY2,3),COLOR61DC16 DOTLINE;
KBY4:EMA(KBY3,3),COLOR61DC16 DOTLINE;
KBY5:EMA(KBY4,3),COLOR61DC16 DOTLINE;
KBYS1:EMA(C,45),COLORD1875A DOTLINE;
KBYS2:EMA(KBYS1,3),COLORD1875A DOTLINE;
KBYS3:EMA(KBYS2,3),COLORD1875A DOTLINE;
KBYS4:EMA(KBYS3,3),COLORD1875A DOTLINE;
KBYS5:EMA(KBYS4,3),COLORD1875A DOTLINE;
IF(KBY1>REF(KBY1,1),KBY1,DRAWNULL),COLORMAGENTA LINETHICK2;
IF(KBY2>REF(KBY2,1),KBY2,DRAWNULL),COLORMAGENTA;
IF(KBY3>REF(KBY3,1),KBY3,DRAWNULL),COLORMAGENTA;
IF(KBY4>REF(KBY4,1),KBY4,DRAWNULL),COLORMAGENTA;
IF(KBY5>REF(KBY5,1),KBY5,DRAWNULL),COLORMAGENTA;
IF(KBYS1>REF(KBYS1,1),KBYS1,DRAWNULL),COLORRED LINETHICK2;
IF(KBYS2>REF(KBYS2,1),KBYS2,DRAWNULL),COLORRED;
IF(KBYS3>REF(KBYS3,1),KBYS3,DRAWNULL),COLORRED;
IF(KBYS4>REF(KBYS4,1),KBYS4,DRAWNULL),COLORRED;
IF(KBYS5>REF(KBYS5,1),KBYS5,DRAWNULL),COLORRED;
STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,3.5,-1),COLOR00FFFF;
STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,3.5,-1),COLORGREEN;
ACB1:=REF(MA(C,20),10);
开:=O-ACB1;
高:=H-ACB1;
低:=L-ACB1;
收:=C-ACB1;
MID:=MA(C,20);
UPPER:=MID+2*STD(C,20);
LOWER:=MID-2*STD(C,20);
V1:=(C-LOWER)/(UPPER-LOWER)*100;
V2:=V1-EMA(V1,5);
K1:=SUM(LLV(V2,4),4)/4;
V3:=EMA(V2,64)*10;
V4:=EMA(0.4*V2*(-1),3);
V5:=-1*EMA(V2,39)*10;
A:=V3>10;
B:=V2>V4;
D:=V5>10;
E:=V3<=10 OR V2<=V4 OR V5<=10;
AAA1:=C>MA(C,5);
KBYF:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1);
KBYG:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
趋势:=IF(KBYF-KBYG,KBYF,KBYF),COLORBB11AA,LINETHICK0;
底部:=IF(KBYG-KBYF,KBYG,KBYF),COLORGRAY;
多多:=BARSLASTCOUNT(开<=收AND B)=1 AND AAA1 AND(趋势>REF(趋势,1));
{DRAWICON(多多,L*1.002,9);}
KBC:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
KBC1:=EMA(KBC,3);
KBC2:=EMA(KBC,5);
KBC3:=EMA(KBC,7);
T1:=KBC2>=KBC3 AND KBC1<REF(KBC1,1);
T2:=KBC2<KBC3 AND KBC1>REF(KBC1,1);
STICKLINE(T1,C,O,1.25,0),COLORFF7700;STICKLINE(T1,C,O,1.25,0),COLORFF7700;
STICKLINE(T2,C,O,1.25,0),COLORRED;
STICKLINE(T2,C,O,1.25,0),COLORRED;
N:=10;
大涨:=CLOSE/REF(CLOSE,1)>=1.08 OR((H-L)/REF(C,1)>0.1 AND C=H);
STICKLINE(大涨,C,O,2.75,0),COLOR007FFF;
DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;
DBB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;
DRAWTEXT(crOSS(DA-DBB,0),L*0.995,'★B'),COLORYELLOW;
JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(Abs(C-REF(C,1)),5,1)*100;
操作线:MA(C,5)*IF(CONST(MA(C,5)),1,DRAWNULL)COLORYELLOW LINETHICK2;
NN:=8;
AA:=REF(H,NN)=HHV(H,2*NN+1);
AA1:=REF(L,NN)=LLV(L,2*NN+1);
QY:=(AA,NN+1);QY1:=(AA1,NN+1);
CC:=FILTER(QY,NN)AND H=HHV(H,NN+1);
CC1:=FILTER(QY1,NN)AND L=LLV(L,NN+1);
DRAWICON(CC,H,2);



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

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

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

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