您现在的位置:程序化交易>> 期货公式>> 博易大师>> 博易大师知识>>正文内容

改指标8888888 [博易POBO]

咨询内容:

改指标8888888

CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
A:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03;
DRAWTEXT(ABS(A)>0,L, '假阴'),COLORYELLOW;
DRAWICON(REF(C,1),H,6);
AMOUNT:=AVPRICE*V;
CAPITAL:=GETPRICE1('流通股本');
均价5:AMOUNT/VOL/100,NODRAW;
假阴0:=O>C AND 均价5>REF(C,1);
DRAWTEXT(假阴0,L-0.2,'假阴真阳'),COLORE8E8E8;
STICKLINE1(假阴0,O,C,1,0),COLORRED;
时间:=TIME=100000;
N:=BARSLAST(时间),COLOR808080;
常数:REFX1(IF(N=0,C,REF(C,N)),10000),COLOR004848,DOT;
CS1:=REFX1(IF(N,HHV(H,0),REF(HHV(H,0),N)),10000),COLORWHITE;
CS2:=REFX1(IF(N,LLV(L,0),REF(LLV(L,0),N)),10000),COLORWHITE;
STICKLINE1(时间=1,CS1,CS2,-1,0),COLOR808080;
H1:=MAX(GETPRICE('YCLOSE'),GETPRICE('HIGH'));
L1:=MIN(GETPRICE('YCLOSE'),GETPRICE('LOW'));
P1:=H1-L1;
阻力:L1+P1*7/8,COLORFFFFFF,DOT;
DRAWTEXT(CURRBARSCOUNT=1,阻力,' 阻力'),COLORFFFFFF;
支撑:L1+P1*0.5/8,COLORFFFFFF,DOT;
DRAWTEXT(CURRBARSCOUNT=1,支撑,' 支撑'),COLORFFFFFF;
中:(支撑+阻力)/2,COLORFFFFFF,DOT;
现价:CLOSE,COLORWHITE,LINETHICK1;
MR:=C<支撑 AND CROSS(C,REF(C,2));
STICKLINE1(CROSS(现价,支撑),C,中,2,0),COLOR00CCCC;
STICKLINE1(MR=1,支撑,中,2,0),COLOR00CCCC;
DRAWICON(MR=1 OR CROSS(现价,支撑),中,34);
STICKLINE1(CROSS(支撑,现价),支撑,(支撑-中)/5+支撑,2,0),COLORMAGENTA;
MC:=C>阻力 AND CROSS(REF(C,2),C);
STICKLINE1(CROSS(阻力,现价),C,中,2,0),COLOR8C8C00;
STICKLINE1(MC=1,阻力,中,2,0),COLOR8C8C00;
DRAWICON(MC=1 OR CROSS(阻力,现价),中,35);
STICKLINE1(CROSS(现价,阻力),阻力,阻力-(支撑-中)/5,2,0),COLORGREEN;
DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,' 中'),COLORFFFFFF;
最新:C,LINETHICK1,COLORWHITE;
IF(C>=REF(C,1),C,NULL),LINETHICK1,COLORWHITE;
AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
BB:=BETWEEN(C/AA,C+H,C-H);
DRAWICON(ISLASTBAR AND C>REF(C,1),C,1);
DRAWICON(ISLASTBAR AND C<REF(C,1),C,2);

 

 来源:程序化99网( WWW.CXH99.COM )

博易技术人员: CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
A:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03; 
DRAWTEXT(ABS(A)>0,L, '假阴'),COLORYELLOW;
DRAWICON(REF(C,1),H,6);
AMOUNT1:=SETTLEPRICE*V;

均价5:AMOUNT1/VOL/100,NODRAW;
假阴0:=O>C AND 均价5>REF(C,1);
DRAWTEXT(假阴0,L-0.2,'假阴真阳'),COLORE8E8E8;
STICKLINE(假阴0,O,C,1,0),COLORRED;
时间:=TIME=100000;
N:=BARSLAST(时间),COLOR808080;
常数:REFX(IF(N=0,C,REF(C,N)),DATACOUNT-BARPOS-1),COLOR004848;
CS1:=REFX(IF(N,HHV(H,0),REF(HHV(H,0),N)),DATACOUNT-BARPOS-1),COLORWHITE;
CS2:=REFX(IF(N,LLV(L,0),REF(LLV(L,0),N)),DATACOUNT-BARPOS-1),COLORWHITE;
STICKLINE(时间=1,CS1,CS2,-1,0),COLOR808080; 
H1:=MAX(STKDATA('',9,'CLOSE'),STKDATA('',9,'high'));
L1:=MIN(STKDATA('',9,'CLOSE'),STKDATA('',9,'low'));
P1:=H1-L1;
阻力:L1+P1*7/8,COLORFFFFFF,POINTDOT;
DRAWTEXT(CURRBARSCOUNT=1,阻力,' 阻力'),COLORFFFFFF;
支撑:L1+P1*0.5/8,COLORFFFFFF,POINTDOT;
DRAWTEXT(CURRBARSCOUNT=1,支撑,' 支撑'),COLORFFFFFF;
中:(支撑+阻力)/2,COLORFFFFFF,POINTDOT;
现价:CLOSE,COLORWHITE,LINETHICK1;
MR:=C<支撑 AND CROSS(C,REF(C,2));
STICKLINE(CROSS(现价,支撑),C,中,2,0),COLOR00CCCC;
STICKLINE(MR=1,支撑,中,2,0),COLOR00CCCC;
DRAWICON(MR=1 OR CROSS(现价,支撑),中,34);
STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5+支撑,2,0),COLORMAGENTA;
MC:=C>阻力 AND CROSS(REF(C,2),C);
STICKLINE(CROSS(阻力,现价),C,中,2,0),COLOR8C8C00;
STICKLINE(MC=1,阻力,中,2,0),COLOR8C8C00;
DRAWICON(MC=1 OR CROSS(阻力,现价),中,35);
STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/5,2,0),COLORGREEN;
DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,' 中'),COLORFFFFFF;
最新:C,LINETHICK1,COLORWHITE;
IF(C>=REF(C,1),C,DRAWNULL),LINETHICK1,COLORWHITE;
AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
BB:=BETWEEN(C/AA,C+H,C-H);
DRAWICON(ISLASTBAR AND C>REF(C,1),C,1);
DRAWICON(ISLASTBAR AND C<REF(C,1),C,2); 来源 程序化久久网

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容