大伊人青草狠狠久久-大伊香蕉精品视频在线-大伊香蕉精品一区视频在线-大伊香蕉在线精品不卡视频-大伊香蕉在线精品视频75-大伊香蕉在线精品视频人碰人

您現(xiàn)在的位置:程序化交易>> 期貨公式>> 博易大師>> 博易大師知識(shí)>>正文內(nèi)容

請(qǐng)老師幫忙修改 [博易POBO]

咨詢內(nèi)容:

請(qǐng)老師幫忙修改

N:=120;//參數(shù)N需自行定義
CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
KT:=BARSLAST(CURRBARSCOUNT=N);
GD:=REFX1(IF(ISLASTBAR=1,HHV(H,KT),0),10000);//{高點(diǎn)}
DD:=REFX1(IF(ISLASTBAR=1,LLV(L,KT),0),10000);//{低點(diǎn)}
KJ:=GD-DD;//{高低點(diǎn)差值=分區(qū)高度}
GD4:=IF(CURRBARSCOUNT<=N/30+16,GD,NULL);
高:=IF(CURRBARSCOUNT<=N/30+16,GD,NULL),COLORWHITE,COLOR00FFFF,PRECIS0;
低:=IF(CURRBARSCOUNT<=N/30+16,DD,NULL),COLORWHITE,COLORFFFF00,PRECIS0;

高區(qū):IF(CURRBARSCOUNT<=N+16,GD,NULL),COLORWHITE,DASH,COLOR004080,PRECIS0;
低區(qū):IF(CURRBARSCOUNT<=N+16,DD,NULL),COLORWHITE,DASH,COLOR004080,PRECIS0;

壓力:IF(CURRBARSCOUNT<=N/40+16,DD+KJ*0.809,NULL),COLORGREEN,COLOR00FF00,PRECIS0;
警示:IF(CURRBARSCOUNT<=N/40+16,DD+KJ*0.618,NULL),COLOR00FFFF,PRECIS0;
突破:IF(CURRBARSCOUNT<=N/40+16,DD+KJ/2,NULL),COLORYELLOW,COLOR0000FF,PRECIS0;
強(qiáng)勢(shì): IF(CURRBARSCOUNT<=N/40+16,DD+KJ*0.382,NULL),COLORFF00FF,PRECIS0;
支撐:IF(CURRBARSCOUNT<=N/40+16,DD+KJ*0.191,NULL),COLORRED,COLOR00FFFF,PRECIS0;
低漲:IF(CURRBARSCOUNT<=N/40+16,(C/LLV(LOW,KT)-1)*100,NULL),RGB(0,128,255),COLOR0000FF,NODRAW,PRECIS0;
天數(shù):BARSLAST(L=DD),COLORWHITE,NODRAW,PRECIS0;

FILLRGN(高>=壓力&&CURRBARSCOUNT>=16,高,壓力,RGB(200,200,0));
FILLRGN(高<壓力&&CURRBARSCOUNT>=16,高,壓力,RGB(0,0,0));
FILLRGN(壓力>=警示&&CURRBARSCOUNT>=16,壓力,警示,RGB(0,190,0));
FILLRGN(壓力<警示&&CURRBARSCOUNT>=16,壓力,警示,RGB(0,0,0));
FILLRGN(警示>=突破&&CURRBARSCOUNT>=16,警示,突破,RGB(220,120,0));
FILLRGN(警示<突破&&CURRBARSCOUNT>=16,警示,突破,RGB(0,0,0));
FILLRGN(突破>=強(qiáng)勢(shì)&&CURRBARSCOUNT>=16,突破,強(qiáng)勢(shì),RGB(120,0,120));
FILLRGN(突破<強(qiáng)勢(shì)&&CURRBARSCOUNT>=16,突破,強(qiáng)勢(shì),RGB(0,0,0));
FILLRGN(強(qiáng)勢(shì)>=支撐&&CURRBARSCOUNT>=16,強(qiáng)勢(shì),支撐,RGB(120, 0,0));
FILLRGN(強(qiáng)勢(shì)<支撐&&CURRBARSCOUNT>=16,強(qiáng)勢(shì),支撐,RGB(0,0,0));
FILLRGN(支撐>=低&&CURRBARSCOUNT>=16,支撐,低,RGB(80,80,80));
FILLRGN(支撐<低&&CURRBARSCOUNT>=16,支撐,低,RGB(0,0,0));

//{STICKLINE1(CURRBARSCOUNT=N/30,GD,DD,0,0),COLORGREEN;
//STICKLINE1(CURRBARSCOUNT=1,GD,DD,0,0),COLORGREEN;}
STICKLINE1(CURRBARSCOUNT<=N/30,支撐,支撐,14,0),COLORFF00FF;
STICKLINE1(CURRBARSCOUNT<=N/30,強(qiáng)勢(shì),強(qiáng)勢(shì),14,0),COLORFF00FF;
STICKLINE1(CURRBARSCOUNT<=N/30,突破,突破,14,0),COLORABABAB;
STICKLINE1(CURRBARSCOUNT<=N/30,警示,警示,14,0),COLOR00FFFF;
STICKLINE1(CURRBARSCOUNT<=N/30,壓力,壓力,14,0),COLOR00FFFF;

DRAWTEXT(CURRBARSCOUNT=N/40+16,高,'高位:809'),FONTSIZE20,ALIGN2,VALIGN1;
DRAWTEXT(CURRBARSCOUNT=N/40+16,壓力,'壓力:681'),COLORMAGENTA,FONTSIZE20,ALIGN2,VALIGN1;
DRAWTEXT(CURRBARSCOUNT=N/40+16,警示,'警示:500'),FONTSIZE20,ALIGN2,VALIGN1;
DRAWTEXT(CURRBARSCOUNT=N/40+16,強(qiáng)勢(shì),'強(qiáng)勢(shì):382'),FONTSIZE20,ALIGN2,VALIGN1;
DRAWTEXT(CURRBARSCOUNT=N/40+16,支撐,'支撐:191'),FONTSIZE20,ALIGN2,VALIGN1;
DRAWTEXT(CURRBARSCOUNT=N/40+16,低,'低位:000'),FONTSIZE20,ALIGN2,VALIGN1;
M:=BARSLAST(CURRBARSCOUNT=N);
平衡:=IF(CURRBARSCOUNT<=N,DD+KJ/2,NULL),COLORWHITE,DOT,COLOR004080,PRECIS0;
CD:=CURRBARSCOUNT,NODRAW;
STICKLINE1(CD=46,HHV(高區(qū),60),LLV(低區(qū),60),1,0),COLORBLACK,COLOR004080;
STICKLINE1(CD=120,HHV(高區(qū),60),LLV(低區(qū),60),1,0),COLORBLUE,COLOR004080;
STICKLINE1(CD=1,HHV(高區(qū),60),LLV(低區(qū),60),0.1,0),RGB(0,0,0),COLOR004080;

?

?來(lái)源:程序化99網(wǎng)( m.weiqiv.net.cn )

博易技術(shù)人員: N:=120;//參數(shù)N需自行定義
CURRBARSCOUNT:=DATACOUNT-BARPOS+1;
CURRBARSCOUNT1:=DATACOUNT-BARPOS-1;
KT:=BARSLAST(CURRBARSCOUNT=N);
GD:=REFX(IF(ISLASTBAR=1,HHV(H,KT),0),CURRBARSCOUNT1);//{高點(diǎn)}
DD:=REFX(IF(ISLASTBAR=1,LLV(L,KT),0),CURRBARSCOUNT1);//{低點(diǎn)}
KJ:=GD-DD;//{高低點(diǎn)差值=分區(qū)高度}
GD4:=IF(CURRBARSCOUNT<=N/30+16,GD,DRAWNULL);
高:=IF(CURRBARSCOUNT<=N/30+16,GD,DRAWNULL),COLORWHITE,COLOR00FFFF,PRECIS0;
低:=IF(CURRBARSCOUNT<=N/30+16,DD,DRAWNULL),COLORWHITE,COLORFFFF00,PRECIS0;

高區(qū):IF(CURRBARSCOUNT<=N+16,GD,DRAWNULL),COLORWHITE,DASH,COLOR004080,PRECIS0;
低區(qū):IF(CURRBARSCOUNT<=N+16,DD,DRAWNULL),COLORWHITE,DASH,COLOR004080,PRECIS0;

壓力:IF(CURRBARSCOUNT<=N/40+16,DD+KJ*0.809,DRAWNULL),COLORGREEN,COLOR00FF00,PRECIS0;
警示:IF(CURRBARSCOUNT<=N/40+16,DD+KJ*0.618,DRAWNULL),COLOR00FFFF,PRECIS0;
突破:IF(CURRBARSCOUNT<=N/40+16,DD+KJ/2,DRAWNULL),COLORYELLOW,COLOR0000FF,PRECIS0;
強(qiáng)勢(shì): IF(CURRBARSCOUNT<=N/40+16,DD+KJ*0.382,DRAWNULL),COLORFF00FF,PRECIS0;
支撐:IF(CURRBARSCOUNT<=N/40+16,DD+KJ*0.191,DRAWNULL),COLORRED,COLOR00FFFF,PRECIS0;
低漲:IF(CURRBARSCOUNT<=N/40+16,(C/LLV(LOW,KT)-1)*100,DRAWNULL),COLORFF8000,COLOR0000FF,NODRAW,PRECIS0;
天數(shù):BARSLAST(L=DD),COLORWHITE,NODRAW,PRECIS0;

FILLRGN(高>=壓力&&CURRBARSCOUNT>=16,高,壓力),COLOR00C8C8;
FILLRGN(高<壓力&&CURRBARSCOUNT>=16,高,壓力),COLOR000000;
FILLRGN(壓力>=警示&&CURRBARSCOUNT>=16,壓力,警示),COLOR00BE00;
FILLRGN(壓力<警示&&CURRBARSCOUNT>=16,壓力,警示),COLOR000000;
FILLRGN(警示>=突破&&CURRBARSCOUNT>=16,警示,突破),COLOR0078DC;
FILLRGN(警示<突破&&CURRBARSCOUNT>=16,警示,突破),COLOR000000;
FILLRGN(突破>=強(qiáng)勢(shì)&&CURRBARSCOUNT>=16,突破,強(qiáng)勢(shì)),COLOR780078;
FILLRGN(突破<強(qiáng)勢(shì)&&CURRBARSCOUNT>=16,突破,強(qiáng)勢(shì)),COLOR000000;
FILLRGN(強(qiáng)勢(shì)>=支撐&&CURRBARSCOUNT>=16,強(qiáng)勢(shì),支撐),COLOR000078;
FILLRGN(強(qiáng)勢(shì)<支撐&&CURRBARSCOUNT>=16,強(qiáng)勢(shì),支撐),COLOR000000;
FILLRGN(支撐>=低&&CURRBARSCOUNT>=16,支撐,低),COLOR505050;
FILLRGN(支撐<低&&CURRBARSCOUNT>=16,支撐,低),COLOR000000;

//{STICKLINE1(CURRBARSCOUNT=N/30,GD,DD,0,0),COLORGREEN;
//STICKLINE1(CURRBARSCOUNT=1,GD,DD,0,0),COLORGREEN;}
STICKLINE(CURRBARSCOUNT<=N/30,支撐,支撐,14,0),COLORFF00FF;
STICKLINE(CURRBARSCOUNT<=N/30,強(qiáng)勢(shì),強(qiáng)勢(shì),14,0),COLORFF00FF;
STICKLINE(CURRBARSCOUNT<=N/30,突破,突破,14,0),COLORABABAB;
STICKLINE(CURRBARSCOUNT<=N/30,警示,警示,14,0),COLOR00FFFF;
STICKLINE(CURRBARSCOUNT<=N/30,壓力,壓力,14,0),COLOR00FFFF;

DRAWTEXT(CURRBARSCOUNT=N/40+16,高,'高位:809'),FONTSIZE20,ALIGN2,VALIGN1;
DRAWTEXT(CURRBARSCOUNT=N/40+16,壓力,'壓力:681'),COLORMAGENTA,FONTSIZE20,ALIGN2,VALIGN1;
DRAWTEXT(CURRBARSCOUNT=N/40+16,警示,'警示:500'),FONTSIZE20,ALIGN2,VALIGN1;
DRAWTEXT(CURRBARSCOUNT=N/40+16,強(qiáng)勢(shì),'強(qiáng)勢(shì):382'),FONTSIZE20,ALIGN2,VALIGN1;
DRAWTEXT(CURRBARSCOUNT=N/40+16,支撐,'支撐:191'),FONTSIZE20,ALIGN2,VALIGN1;
DRAWTEXT(CURRBARSCOUNT=N/40+16,低,'低位:000'),FONTSIZE20,ALIGN2,VALIGN1;
M:=BARSLAST(CURRBARSCOUNT=N);
平衡:=IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),COLORWHITE,COLOR004080,PRECIS0;
CD:=CURRBARSCOUNT,NODRAW;
STICKLINE(CD=46,HHV(高區(qū),60),LLV(低區(qū),60),1,0),COLORBLACK,COLOR004080;
STICKLINE(CD=120,HHV(高區(qū),60),LLV(低區(qū),60),1,0),COLORBLUE,COLOR004080;
STICKLINE(CD=1,HHV(高區(qū),60),LLV(低區(qū),60),1,0),COLOR000000,COLOR004080; 來(lái)源 程序化久久網(wǎng)

 

有思路,想編寫各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友

可聯(lián)系技術(shù)人員 QQ: 262069696  點(diǎn)擊在線交流或微信號(hào):cxh99cxh99  進(jìn)行 有償收費(fèi) 編寫!

怎么收費(fèi),代編流程等詳情請(qǐng)點(diǎn)擊閱讀!

(注:由于人數(shù)限制,QQ或微信請(qǐng)選擇方便的一個(gè)聯(lián)系我們就行,加好友時(shí)請(qǐng)簡(jiǎn)單備注下您的需求,否則無(wú)法通過。謝謝您!)


【字體: 】【打印文章】【查看評(píng)論

相關(guān)文章

    沒有相關(guān)內(nèi)容
主站蜘蛛池模板: 国产激情久久久久影 | 热玖玖 | 欧美性猛交xxxxbbbb | 欧美亚洲另类图片 | 欧美成人免费一区在线播放 | 一级片手机在线观看 | 日本美女久久 | 天天躁日日躁成人字幕aⅴ 天天躁日日躁狠狠躁黑人躁 | 精品欧美高清一区二区免费 | 99在线精品免费视频九九视 | 日韩一级欧美一级毛片在 | 岛国大片免费在线观看 | 国产精品福利视频主播真会玩 | 狠狠地日 | 久久精品国产69国产精品亚洲 | 一级国产视频 | 天天爱夜夜爽 | 国产欧美日韩精品一区二区三区 | 一级aaaaaa毛片免费 | 青青操网址| 99热在这里只有免费精品 | 九九免费观看全部免费视频 | 四虎国产精品免费久久影院 | 久久精品动漫99精品动漫 | 99爱网站| 女人十八一级毛片 | 日韩国产成人 | 免费的毛片网站 | 国产成人精品在线观看 | 亚洲欧美小视频 | 国产一级精品毛片 | 四虎综合九九色九九综合色 | 欧美精品九九99久久在观看 | 色综合久久久久久 | 99热久久国产精品免费看 | 91网站国产 | 欧美亚洲桃花综合 | 久久99热久久精品91 | 九九九热在线精品免费全部 | 超碰人人操 | 一级片影院 |