老师,麻烦将这个压力支撑指标改成博易云可用的,谢谢 [博易POBO]
咨询内容:
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
A:=REF(H,BARSLAST(HD));
B:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD) < BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD) > BARSLAST(LD) AND NOT(LD);
STICKLINE1(T1,A,A,5,0),COLORBLUE;
STICKLINE1(T2,B,B,5,0),COLORGREEN;
DRAWSL(1,A,0,1,0,COLORGREEN),POINTDOT;
DRAWSL(1,B,0,1,0,COLORYELLOW),POINTDOT;
DRAWNUMBER(ISLASTBAR,A,A,0,COLORRED);
DRAWNUMBER(ISLASTBAR,B,B,0,COLORGREEN);
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
A:=REF(H,BARSLAST(HD));
B:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD) < BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD) > BARSLAST(LD) AND NOT(LD);
STICKLINE(T1,A,A,5,0),COLORBLUE;
STICKLINE(T2,B,B,5,0),COLORGREEN;
DRAWSL(1,A,0,1,0),COLORGREEN,POINTDOT;
DRAWSL(1,B,0,1,0),COLORYELLOW,POINTDOT;
DRAWNUMBER(ISLASTBAR,A,A,0),COLORRED;
DRAWNUMBER(ISLASTBAR,B,B,0),COLORGREEN; 来源 程序化久久网
老师,麻烦将这个压力支撑指标改成博易云可用的,谢谢
压力支撑自动划线TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
A:=REF(H,BARSLAST(HD));
B:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD) < BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD) > BARSLAST(LD) AND NOT(LD);
STICKLINE1(T1,A,A,5,0),COLORBLUE;
STICKLINE1(T2,B,B,5,0),COLORGREEN;
DRAWSL(1,A,0,1,0,COLORGREEN),POINTDOT;
DRAWSL(1,B,0,1,0,COLORYELLOW),POINTDOT;
DRAWNUMBER(ISLASTBAR,A,A,0,COLORRED);
DRAWNUMBER(ISLASTBAR,B,B,0,COLORGREEN);
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
A:=REF(H,BARSLAST(HD));
B:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD) < BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD) > BARSLAST(LD) AND NOT(LD);
STICKLINE(T1,A,A,5,0),COLORBLUE;
STICKLINE(T2,B,B,5,0),COLORGREEN;
DRAWSL(1,A,0,1,0),COLORGREEN,POINTDOT;
DRAWSL(1,B,0,1,0),COLORYELLOW,POINTDOT;
DRAWNUMBER(ISLASTBAR,A,A,0),COLORRED;
DRAWNUMBER(ISLASTBAR,B,B,0),COLORGREEN; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容