股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 长城烽烟 该指标的不足之处是信号很少


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-8 23:20:55

以下是长城烽烟 该指标的不足之处是信号很少

长城烽烟 该指标的不足之处是信号很少

源码

A5:=MA(C,5);
A10:=MA(C,10);
A20:=MA(C,20);
A30:=MA(C,30);
KK:=A5>A10 AND A10>A20 AND A5>REF(A5,1) AND A5>A10;
AA:=REF(KK,1)=1 AND KK;
BB:=REF(KK,1)<1 AND KK AND C>REF(C,1);
HSL:=V/CAPITAL*100;
K:="KDJ.K"(21,3,3);
V1:=C>MA(C,5) AND MA(C,5)>MA(C,10) AND MA(C,5)>MA(C,10) AND
MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND
C>REF(C,1);
XG:=IF(V1 AND HSL>3 AND K<81,1,0);
A1:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100-50;
AA3:=SMA(A1,13,1);
地红线:=SMA(AA3,3,1),LINETHICK2,COLORRED;
TMD:=C-REF(C,1);
金线:=100*EMA(EMA(TMD,5),5)/EMA(EMA(ABS(TMD),5),5),COLORWHITE,LINETHICK1;
银线:=MA(金线,5),COLOR00FF00,LINETHICK1;
爆发线:=30,COLORFF00FF,LINETHICK1;
起步线:=0,COLORWHITE,LINETHICK1;
抄底线:=-25,COLORWHITE,LINETHICK1;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);
XXGG:=CROSS(VAR5,15) OR CROSS(VAR5,20) OR CROSS(VAR5,25);
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
MMMM:=CROSS(D1,K1);
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:= MA(SS1,4);
SS3:=HHV(SS2,10);
SS4:=MA(SS3,3);
SS5:=1.25*SS4-0.25*SS3;
XKKJ:=IF(SS5>SS3,SS3,SS5);
FF1:=LLV(SS2,10);
FF2:=MA(FF1,3);
FF3:=1.25*FF2-0.25*FF1;
DKKJ:=IF(FF3<FF1,FF1,FF3);
MA13:=MA(C,13);
ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);
ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);
HHHH:=ZDHM OR ZHM;
KKKKK:=HHHH + MMMM + XXGG >=3;
长城烽烟:KKKKK AND REF(KKKKK,1)<1 AND REF(KKKKK,2)<1 AND REF(KKKKK,3)<1;





回复

举报

QQ|

GMT+8, 2024-11-28 00:54

快速回复 返回顶部 返回列表