#最新
文华财经收盘价开盘价高低点画线指标源码

2024-02-09 0 83,265

文华财经收盘价开盘价高低点画线指标源码:

HH:=CROSS(BACKSET(ISLASTBAR OR REFX(DAYBARPOS=1,1),HHVBARS(H,DAYBARPOS)+1),0.5) OR BACKSET(ISLASTBAR OR REFX(DAYBARPOS=1,1),HHVBARS(H,DAYBARPOS)+1) AND DAYBARPOS=1;
LL:=CROSS(BACKSET(ISLASTBAR OR REFX(DAYBARPOS=1,1),LLVBARS(L,DAYBARPOS)+1),0.5) OR BACKSET(ISLASTBAR OR REFX(DAYBARPOS=1,1),LLVBARS(L,DAYBARPOS)+1) AND DAYBARPOS=1;
END1:=CROSS(BACKSET(ISLASTBAR,DAYBARPOS+1),0.5);
H1:=CROSS(BACKSET(ISLASTBAR,REF(1+HHVBARS(H,DAYBARPOS),DAYBARPOS)+DAYBARPOS),0.5) ;
H2:=CROSS(BACKSET(ISLASTBAR,REF(1+HHVBARS(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,2))+SUMBARS(DAYBARPOS=1,2)),0.5) ;
H3:=CROSS(BACKSET(ISLASTBAR,REF(1+HHVBARS(H,DAYBARPOS),SUMBARS(DAYBARPOS=1,3))+SUMBARS(DAYBARPOS=1,3)),0.5) ;
DRAWSL(1 , VALUEWHEN( H1,H),0,999,0,COLORRED);
DRAWSL(1 , VALUEWHEN( H2,H),0,999,0,COLORRED);
DRAWSL(1 , VALUEWHEN( H3,H),0,999,0,COLORRED);
L1:=CROSS(BACKSET(ISLASTBAR,REF(1+LLVBARS(L,DAYBARPOS),DAYBARPOS)+DAYBARPOS),0.5) ;
L2:=CROSS(BACKSET(ISLASTBAR,REF(1+LLVBARS(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,2))+SUMBARS(DAYBARPOS=1,2)),0.5) ;
L3:=CROSS(BACKSET(ISLASTBAR,REF(1+LLVBARS(L,DAYBARPOS),SUMBARS(DAYBARPOS=1,3))+SUMBARS(DAYBARPOS=1,3)),0.5) ;

DRAWSL(1 , VALUEWHEN( L1,L),0,999,0,RGB(0,240,0));
DRAWSL(1 , VALUEWHEN( L2,L),0,999,0,RGB(0,240,0));
DRAWSL(1, VALUEWHEN( L3,L),0,999,0,RGB(0,240,0));

C1:=CROSS(BACKSET(ISLASTBAR,DAYBARPOS+1),0.5) ;
C2:=CROSS(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,2)+1),0.5) ;
C3:=CROSS(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,3)+1),0.5) ;DRAWSL(1 , VALUEWHEN( C1,C),0,999,0,COLORMAGENTA);
DRAWSL(1 , VALUEWHEN( C2,C),0,999,0,COLORMAGENTA);
DRAWSL(1 , VALUEWHEN( C3,C),0,999,0,COLORMAGENTA);

O1:=CROSS(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,2)),0.5) ;
O2:=CROSS(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,3)),0.5) ;
O3:=CROSS(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)),0.5) ;

DRAWSL(1 , VALUEWHEN(O1,O),0,999,0,COLORYELLOW);
DRAWSL(1 , VALUEWHEN(O2,O),0,999,0,COLORYELLOW);
DRAWSL(1 , VALUEWHEN(O3,O),0,999,0,COLORYELLOW);

CUR:=DATACOUNT-BARPOS+1,NODRAW;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( H1,H),VALUEWHEN(H1, H),0,COLORRED,1,CUR+10),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( L1,L),VALUEWHEN(L1,L),0,COLORGREEN,1,CUR+10),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(O1,O),VALUEWHEN(O1,O),0,COLORYELLOW,1,CUR+10),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(C1,C),VALUEWHEN(C1,C),0,COLORMAGENTA,1,CUR+10),ALIGN2,FONTSIZE20;

DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( H2,H),VALUEWHEN(H2, H),0,COLORRED,1,CUR+10),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( L2,L),VALUEWHEN(L2,L),0,COLORGREEN,1,CUR+10),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(O2,O),VALUEWHEN(O2,O),0,COLORYELLOW,1,CUR+10),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(C2,C),VALUEWHEN(C2,C),0,COLORMAGENTA,1,CUR+10),ALIGN2,FONTSIZE20;

DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( H3,H),VALUEWHEN(H3, H),0,COLORRED,1,CUR+10),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( L3,L),VALUEWHEN(L3,L),0,COLORGREEN,1,CUR+10),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(O3,O),VALUEWHEN(O3,O),0,COLORYELLOW,1,CUR+10),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(C3,C),VALUEWHEN(C3,C),0,COLORMAGENTA,1,CUR+10),ALIGN2,FONTSIZE20;DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( H1,H),1,0,COLORRED,1,CUR+7),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( L1,L),1,0,COLORGREEN,1,CUR+7),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(O1,O),1,0,COLORYELLOW,1,CUR+7),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(C1,C),1,0,COLORMAGENTA,1,CUR+7),ALIGN2,FONTSIZE20;

DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( H2,H),2,0,COLORRED,1,CUR+7),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( L2,L),2,0,COLORGREEN,1,CUR+7),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(O2,O),2,0,COLORYELLOW,1,CUR+7),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(C2,C),2,0,COLORMAGENTA,1,CUR+7),ALIGN2,FONTSIZE20;

DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( H3,H),2,0,COLORRED,1,CUR+7),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN( L3,L),2,0,COLORGREEN,1,CUR+7),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(O3,O),2,0,COLORYELLOW,1,CUR+7),ALIGN2,FONTSIZE20;
DRAWSHIFTNUMBER(BACKSET(ISLASTBAR,SUMBARS(DAYBARPOS=1,4)), VALUEWHEN(C3,C),2,0,COLORMAGENTA,1,CUR+7),ALIGN2,FONTSIZE20;

CROSS(C,REF(H,SUMBARS(HH,1)-1)) OR CROSS(C,REF(H,SUMBARS(HH,2)-1)) OR CROSS(C,REF(H,SUMBARS(HH,3)-1)),SOUND(‘A’);//声音提示A
CROSSDOWN(C,REF(L,SUMBARS(LL,1)-1)) OR CROSS(C,REF(L,SUMBARS(LL,2)-1)) OR CROSS(C,REF(L,SUMBARS(LL,3)-1)),SOUND(‘B’);//声音提示B

文华财经收盘价开盘价高低点画线指标源码

 

常见问题及下载声明: 1、指标不提供具体的使用方法,详情里一般会说明使用建议,需自行学习研究。 2、指标下载后,代表已对该指标认可,顾不退款! 3、指标不会安装,可在首页点击指标公式安装,各大软件指标安装教程。 4、指标是分析学习工具,不能依赖操作,仅供学习之用,依次操作,盈亏自负! 转载文章声明:本网站转载文章仅为传播更多期货行业信息,并不代表本网站赞同其观点,本网站也不保证文章内容的真实性、准确性和可靠性、完整性。 文章解释权归原作者所有,依次操作,所有后果自行承担,与本站无任何关系。如该文章涉及作品内容、版权或禁止转载的,请及时联系,我们将在第一时间处理。

云析赢指标公式网首席工程师

相关文章

发表评论
暂无评论