您当前的位置:股票 > 财经资讯 > 财经频道

飞狐二十四节气K线主图指标公式,飞狐绝好中线主图指标公式

2024-06-15 23:17:50 来源: 作者: admin888
分享到
关注牛市通网在线:
  • 扫描二维码

    关注√

    牛市通网微信

在线咨询:
  • 扫描或点击关注牛市通网在线客服

飞狐二十四节气K线主图指标公式,飞狐绝好中线主图指标公式

飞狐二十四节气K线主图指标公式

Tbs:=POW(10,ABS(LOG(MINdifF)));

jqd:=LSOLARTERMday(date);

fd:=date;

tj:=(jqd-ref(jqd,1)<>DATEDIFF(ref(fd,1),fd))*((month)*2-(jqd>day)-(day<=16));

Jw:BArslAst(tj),LINETHICK;

Jdg:=Jw=0 or ISLASTBAR;

Jwx:=0*C;

for JQ=datacount-1 downto lbound(Jdg) doif Jdg[JQ] thenJwx[JQ]:=0;

elseJwx[JQ]:=Jwx[JQ+1]+1;

Jr:=BACKSET(ISLASTBAR,Jw+1)-ISLASTBAR;

Jwx:=refx(Jwx,1)+Jr,LINETHICK;

Joo:=ref(o,Jw);

Jhh:=hhv(h,Jw+1);

JLL:=LLv(L,Jw+1);

Jzq1:=BARSLAST(ref(Jwx,1)=0 or BARPOS=1)+1;//N天数

Jyt1:=if(Jzq1=1 and refx(Jzq1,2)=1,13,if(refx(Jzq1,1)=1 or Jzq1=1,7,14));

节开:ROUND(JOO*TBS)/TBS,LINETHICK,COLOReeee00;

节高:ROUND(refx(Jhh,Jwx)*TBS)/TBS,LINETHICK,COLOReeaaFF;

节低:ROUND(refx(JLL,Jwx)*TBS)/TBS,LINETHICK,COLOR00ee00;

节收:ROUND(refx(c,Jwx)*TBS)/TBS,LINETHICK,COLOR00eeee;

Jf:=节收>节开 or (节收=节开 and 节收>ref(节收,JW));

Jj:=cross(Jw,Jwx);

STICKLINE(Jw>0 and JF and Jj ,节低,节高,10,0),Color5055B1;

STICKLINE(节开<节收 ,节开,节收,JYT1,0),Color5055B1;

STICKLINE(Jw>0 and not(JF) and Jj ,节低,节高,10,0),Color5A7234;

STICKLINE(节开>节收 ,节开,节收,JYT1,0),Color5A7234;

STICKLINE(C>=O,C,O,8,0),COLOR0000AA;

STICKLINE(C>=O,C,O,6,0),COLOR0000bb ;

STICKLINE(C>=O,C,O,4,0),COLOR0000cc ;

STICKLINE(C>=O,C,O,2,0),COLOR0000ee;

STICKLINE(C>=O,H,L,0,0),COLOR0000ff;

STICKLINE(C<=O,C,O,8,0),Color7B7b00;

STICKLINE(C<=O,C,O,6,0),Color909000;

STICKLINE(C<=O,C,O,4,0),ColorA8a800;

STICKLINE(C<=O,C,O,2,0),COLORcece00;

STICKLINE(C<=O,H,L,0,0),COLORffff00;

drawtext(tj=1 ,l,'小寒'),COLORYELLOW,align0,PXDN5;

drawtext(tj=2 ,L,'大寒'),COLORYELLOW,align0,PXDN5;

drawtext(tj=3 ,L,'立春'),COLORGREEN,align0,PXDN5;

drawtext(tj=4 ,L,'雨水'),COLORGREEN,align0,PXDN5;

drawtext(tj=5 ,L,'惊蛰'),COLORGREEN,align0,PXDN5;

drawtext(tj=6 ,L,'春分'),COLORGREEN,align0,PXDN5;

drawtext(tj=7 ,L,'清明'),COLORYELLOW,align0,PXDN5;

drawtext(tj=8 ,L,'谷雨'),COLORYELLOW,align0,PXDN5;

drawtext(tj=9 ,L,'立夏'),COLORRED,align0,PXDN5;

drawtext(tj=10,L,'小满'),COLORRED,align0,PXDN5;

drawtext(tj=11,L,'芒种'),COLORRED,align0,PXDN5;

drawtext(tj=12,L,'夏至'),COLORRED,align0,PXDN5;

drawtext(tj=13,L,'小暑'),COLORYELLOW,align0,PXDN5;

drawtext(tj=14,L,'大暑'),COLORYELLOW,align0,PXDN5;

drawtext(tj=15,L,'立秋'),COLORBBBBBB,align0,PXDN5;

drawtext(tj=16,L,'处暑'),COLORBBBBBB,align0,PXDN5;

drawtext(tj=17,L,'白露'),COLORBBBBBB,align0,PXDN5;

drawtext(tj=18,L,'秋分'),COLORBBBBBB,align0,PXDN5;

drawtext(tj=19,L,'寒露'),COLORYELLOW,align0,PXDN5;

drawtext(tj=20,L,'霜降'),COLORYELLOW,align0,PXDN5;

drawtext(tj=21,L,'立冬'),COLORFF9900,align0,PXDN5;

drawtext(tj=22,L,'小雪'),COLORFF9900,align0,PXDN5;

drawtext(tj=23,L,'大雪'),COLORFF9900,align0,PXDN5;

drawtext(tj=24,L,'冬至'),COLORFF9900,align0,PXDN5;

drawtext(tj=1 ,H,'丑月'),COLORYELLOW,align0,PXUP19;

drawtext(tj=3 ,H,'寅月'),COLORGREEN,align0,PXUP19;

drawtext(tj=5 ,H,'卯月'),COLORGREEN,align0,PXUP19;

drawtext(tj=7 ,H,'辰月'),COLORYELLOW,align0,PXUP19;

drawtext(tj=9 ,H,'巳月'),COLORRED,align0,PXUP19;

drawtext(tj=11,H,'午月'),COLORRED,align0,PXUP19;

drawtext(tj=13,H,'未月'),COLORYELLOW,align0,PXUP19;

drawtext(tj=15,H,'申月'),COLORBBBBBB,align0,PXUP19;

drawtext(tj=17,H,'酉月'),COLORBBBBBB,align0,PXUP19;

drawtext(tj=19,H,'戌月'),COLORYELLOW,align0,PXUP19;

drawtext(tj=21,H,'亥月'),COLORFF9900,align0,PXUP19;

drawtext(tj=23,H,'子月'),COLORFF9900,align0,PXUP19;

飞狐绝好中线主图指标公式

A1:=3*ema((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*ema((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);

//A2:=LLV(L,21);

a3:LLV(L,30);

a4:=EMA(A1,5);

A5:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;

a6:ma(c,20);

dif:="macd.diff"(26,12,9);

dea:="macd.dea"(26,12,9);

基础:( dif<-0.1 and dif>dea),COLORyellow,LINETHICK;

中线买入:crOSS(A1,a4)AND (A5-a4)>40 and 基础,COLORred,LINETHICK;

stICKLINE( 基础,a3,a3*1.1,4,0),COLORyellow;

STICKLINE(CROSS(A1,a4)AND (A5-a4)>40 and 基础 ,a3,a3*1.2,4,0),COLORred;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。

责任编辑:admin888 标签:飞狐二十四节气K线主图指标公式,飞狐绝好中线主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

飞狐二十四节气K线主图指标公式,飞狐绝好中线主图指标公式

admin888

|

飞狐二十四节气K线主图指标公式,飞狐绝好中线主图指标公式

飞狐二十四节气K线主图指标公式

Tbs:=POW(10,ABS(LOG(MINdifF)));

jqd:=LSOLARTERMday(date);

fd:=date;

tj:=(jqd-ref(jqd,1)<>DATEDIFF(ref(fd,1),fd))*((month)*2-(jqd>day)-(day<=16));

Jw:BArslAst(tj),LINETHICK;

Jdg:=Jw=0 or ISLASTBAR;

Jwx:=0*C;

for JQ=datacount-1 downto lbound(Jdg) doif Jdg[JQ] thenJwx[JQ]:=0;

elseJwx[JQ]:=Jwx[JQ+1]+1;

Jr:=BACKSET(ISLASTBAR,Jw+1)-ISLASTBAR;

Jwx:=refx(Jwx,1)+Jr,LINETHICK;

Joo:=ref(o,Jw);

Jhh:=hhv(h,Jw+1);

JLL:=LLv(L,Jw+1);

Jzq1:=BARSLAST(ref(Jwx,1)=0 or BARPOS=1)+1;//N天数

Jyt1:=if(Jzq1=1 and refx(Jzq1,2)=1,13,if(refx(Jzq1,1)=1 or Jzq1=1,7,14));

节开:ROUND(JOO*TBS)/TBS,LINETHICK,COLOReeee00;

节高:ROUND(refx(Jhh,Jwx)*TBS)/TBS,LINETHICK,COLOReeaaFF;

节低:ROUND(refx(JLL,Jwx)*TBS)/TBS,LINETHICK,COLOR00ee00;

节收:ROUND(refx(c,Jwx)*TBS)/TBS,LINETHICK,COLOR00eeee;

Jf:=节收>节开 or (节收=节开 and 节收>ref(节收,JW));

Jj:=cross(Jw,Jwx);

STICKLINE(Jw>0 and JF and Jj ,节低,节高,10,0),Color5055B1;

STICKLINE(节开<节收 ,节开,节收,JYT1,0),Color5055B1;

STICKLINE(Jw>0 and not(JF) and Jj ,节低,节高,10,0),Color5A7234;

STICKLINE(节开>节收 ,节开,节收,JYT1,0),Color5A7234;

STICKLINE(C>=O,C,O,8,0),COLOR0000AA;

STICKLINE(C>=O,C,O,6,0),COLOR0000bb ;

STICKLINE(C>=O,C,O,4,0),COLOR0000cc ;

STICKLINE(C>=O,C,O,2,0),COLOR0000ee;

STICKLINE(C>=O,H,L,0,0),COLOR0000ff;

STICKLINE(C<=O,C,O,8,0),Color7B7b00;

STICKLINE(C<=O,C,O,6,0),Color909000;

STICKLINE(C<=O,C,O,4,0),ColorA8a800;

STICKLINE(C<=O,C,O,2,0),COLORcece00;

STICKLINE(C<=O,H,L,0,0),COLORffff00;

drawtext(tj=1 ,l,'小寒'),COLORYELLOW,align0,PXDN5;

drawtext(tj=2 ,L,'大寒'),COLORYELLOW,align0,PXDN5;

drawtext(tj=3 ,L,'立春'),COLORGREEN,align0,PXDN5;

drawtext(tj=4 ,L,'雨水'),COLORGREEN,align0,PXDN5;

drawtext(tj=5 ,L,'惊蛰'),COLORGREEN,align0,PXDN5;

drawtext(tj=6 ,L,'春分'),COLORGREEN,align0,PXDN5;

drawtext(tj=7 ,L,'清明'),COLORYELLOW,align0,PXDN5;

drawtext(tj=8 ,L,'谷雨'),COLORYELLOW,align0,PXDN5;

drawtext(tj=9 ,L,'立夏'),COLORRED,align0,PXDN5;

drawtext(tj=10,L,'小满'),COLORRED,align0,PXDN5;

drawtext(tj=11,L,'芒种'),COLORRED,align0,PXDN5;

drawtext(tj=12,L,'夏至'),COLORRED,align0,PXDN5;

drawtext(tj=13,L,'小暑'),COLORYELLOW,align0,PXDN5;

drawtext(tj=14,L,'大暑'),COLORYELLOW,align0,PXDN5;

drawtext(tj=15,L,'立秋'),COLORBBBBBB,align0,PXDN5;

drawtext(tj=16,L,'处暑'),COLORBBBBBB,align0,PXDN5;

drawtext(tj=17,L,'白露'),COLORBBBBBB,align0,PXDN5;

drawtext(tj=18,L,'秋分'),COLORBBBBBB,align0,PXDN5;

drawtext(tj=19,L,'寒露'),COLORYELLOW,align0,PXDN5;

drawtext(tj=20,L,'霜降'),COLORYELLOW,align0,PXDN5;

drawtext(tj=21,L,'立冬'),COLORFF9900,align0,PXDN5;

drawtext(tj=22,L,'小雪'),COLORFF9900,align0,PXDN5;

drawtext(tj=23,L,'大雪'),COLORFF9900,align0,PXDN5;

drawtext(tj=24,L,'冬至'),COLORFF9900,align0,PXDN5;

drawtext(tj=1 ,H,'丑月'),COLORYELLOW,align0,PXUP19;

drawtext(tj=3 ,H,'寅月'),COLORGREEN,align0,PXUP19;

drawtext(tj=5 ,H,'卯月'),COLORGREEN,align0,PXUP19;

drawtext(tj=7 ,H,'辰月'),COLORYELLOW,align0,PXUP19;

drawtext(tj=9 ,H,'巳月'),COLORRED,align0,PXUP19;

drawtext(tj=11,H,'午月'),COLORRED,align0,PXUP19;

drawtext(tj=13,H,'未月'),COLORYELLOW,align0,PXUP19;

drawtext(tj=15,H,'申月'),COLORBBBBBB,align0,PXUP19;

drawtext(tj=17,H,'酉月'),COLORBBBBBB,align0,PXUP19;

drawtext(tj=19,H,'戌月'),COLORYELLOW,align0,PXUP19;

drawtext(tj=21,H,'亥月'),COLORFF9900,align0,PXUP19;

drawtext(tj=23,H,'子月'),COLORFF9900,align0,PXUP19;

飞狐绝好中线主图指标公式

A1:=3*ema((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*ema((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);

//A2:=LLV(L,21);

a3:LLV(L,30);

a4:=EMA(A1,5);

A5:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;

a6:ma(c,20);

dif:="macd.diff"(26,12,9);

dea:="macd.dea"(26,12,9);

基础:( dif<-0.1 and dif>dea),COLORyellow,LINETHICK;

中线买入:crOSS(A1,a4)AND (A5-a4)>40 and 基础,COLORred,LINETHICK;

stICKLINE( 基础,a3,a3*1.1,4,0),COLORyellow;

STICKLINE(CROSS(A1,a4)AND (A5-a4)>40 and 基础 ,a3,a3*1.2,4,0),COLORred;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。


财经频道