b2c信息网

您现在的位置是:首页 > 明日新闻 > 正文

明日新闻

k箱体颜色指标公式源码的简单介绍

hacker2022-07-05 22:02:20明日新闻110
本文目录一览:1、箱体指标公式2、

本文目录一览:

箱体指标公式

送你一个通达信的吧,看看合适不.图片演示在源码下面网址里

{N:3,30,10}

【箱顶】:PEAK(CLOSE,N,1)*0.98;

【箱底】:TROUGH(CLOSE,N,1)*1.02;

【箱高】:100*(【箱顶】-【箱底】)/【箱底】,NODRAW;

【中线】:(【箱顶】+【箱底】)/2;

DRAWBAND(【中线】,RGB(255,234,154),【箱底】,RGB(255,234,154));

DRAWBAND(【中线】,RGB(109,187,129),【箱顶】,RGB(109,187,129));

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

N1:=7;

LC:=REF(CLOSE,1);

X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1;

魔鬼:=DRAWLINE(X=HHV(X,N1),X,X=LLV(X,N1),X,1),COLOR00FF00;

魔王:=DRAWLINE(X=HHV(X,N1),X,X=LLV(X,N1),1,X),COLOR00FF00;

TJ0:=X=魔王;

TJ1:=X=魔鬼;

TJ2:=XREF(X,1);

TJ3:=XREF(1,X);

JRS1:=DRAWICON(TJ1 AND TJ2,X,1);

JRS2:=DRAWICON(TJ0 AND TJ3,X,2);

DRAWICON(FILTER(JRS10,1),L*0.97,1);

DRAWICON(FILTER(JRS20,1),H*1.02,2);

通达信软件指标箱体,源码如图,请教各位老师怎样修改那三个函数

这个指标是通达信的,但是不知道你要修改成那个软件的公式呢?看你图片中的那公式编辑器,他不是通达信的,自然无法测试通过的,如果是通达信,是可以的,请看下面的图片

股理乾坤为您解答

源码如下

箱顶:PEAK(C,N,1)*0.98;

箱底1:TROUGH(C,N,1)*1.02;

箱高:100*(箱顶-箱底1)/箱底1,NODRAW;

请把箱体指标改成选股公式!有源码!

{N 10 30 10}

箱底:=TROUGH(CLOSE,N,1)*1.02;

箱底转换:箱底REF(箱底,1);{有未来会漂移出来信号代表波段起涨容易买早!}

{N 10 30 10}

箱顶:=PEAK(CLOSE,N,1)*0.98;

箱顶转换:箱顶REF(箱顶,1);{有未来会漂移出来信号代表波段见顶容易卖早!}

求大智慧指标(凯恩斯八卦箱体)的指标公式

一号线:eMA(CLOSE,144);

工作线:eMA(CLOSE,14),colorred;

二号线:eMA(CLOSE,25);

三号线:eMA(CLOSE,318);

生命线:eMA(CLOSE,453),colorred,linethick2;

五号线:eMA(CLOSE,550);

六号线:eMA(CLOSE,610);

七号线:eMA(CLOSE,730);

八号线:eMA(CLOSE,888);

九号线:eMA(CLOSE,99),colorgreen;

DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));

DEA:=EMA(DIFF,9);

MACD:=0.90*(DIFF-DEA);

tj:=(diff=dea);

tj1:=(diff=0);

stickline(tj,h,l,0.5,0),COLORyellow;

stickline(tj,o,c,4,0),COLORyellow;

stickline(tj1 and tj,h,l,0.5,0),colorf00ff0;

stickline(tj1 and tj,o,c,4,1),colorf00ff0;

STICKLINE(DIFFDEA,H,L,0,0),COLORF0F000;

STICKLINE(DIFFDEA,O,C,3,0),COLORF0F000;

Var1:=(CLOSE*2+HIGH+LOW)/4;

SK:= EMA(Var1,13)-EMA(Var1,73);

SD:= EMA(SK,2);

drawtext((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )

or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)) ,l*0.99,'短线'),colorgreen;

stickline((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )

or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)),h,l,0.5,0),colorred;

stickline((cross(sk,sd) and sk-0.04 and (c-ref(c,1))/ref(c,1)=0.03) or (cross(sk,sd) and sk=-0.14 )

or (cross(sk,sd) and sk=0.05 and (v/ma(v,5)2 or c/ref(c,1)0.035)),o,c,10,1),linethick3,colorred;

发表评论

评论列表

  • 爱里全是难过〃1(2022-07-05 23:14:56)回复取消回复

    l,0.5,0),colorf00ff0;stickline(tj1 and tj,o,c,4,1),colorf00ff0;STICKLINE(DIFFDEA,H,L,0,0),COLORF0F000;STICKLINE(DIFFDEA,O,C,3