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

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

咨詢內(nèi)容:

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

N1:=5;
N2:=10;

LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*10,COLORFF00FF,LINETHICK1;
RSI10:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*10,COLORYELLOW;

VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);

JCJL:=BARSLAST(CROSS(MA5,MA13))+1;
SCJL:=BARSLAST(CROSS(MA13,MA5))+1;

JCZGJL:=HHVBARS(H,JCJL)+1;
SCZDJL:=LLVBARS(L,SCJL)+1;

JCZGFZ:=BACKSET(SCJL=1 OR (ISLASTBAR AND MA5>MA13),JCZGJL);
SCZDFZ:=BACKSET(JCJL=1 OR (ISLASTBAR AND MA5<MA13),SCZDJL);

JCZGFH:=JCZGFZ>REF(JCZGFZ,1);
SCZDFH:=SCZDFZ>REF(SCZDFZ,1);



UP:=TRENDLINES(SCZDFH,L,JCZGFH,H);
DOWN:=TRENDLINES(JCZGFH,H,SCZDFH,L);

ZGFHJL:=BARSLAST(JCZGFH);
ZDFHJL:=BARSLAST(SCZDFH);

BT:(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2)>0 AND CROSS(VAR2,MA(VAR2,2))) AND REF(SCZDFH,1);
0,COLORFF00FF;
10,COLORFF0000;

STICKLINE1(ZDFHJL<ZGFHJL,0,0.2,3,0),COLORRED;
STICKLINE1(ZGFHJL<ZDFHJL OR ZDFHJL=0,0,0.2,3,0),COLORGREEN;
STICKLINE1(BT,0,3,2,0),COLORLIGHTRED;
STICKLINE1(BT,0,3,1,0),COLORLIGHTRED;
STICKLINE1(BT,0,3,0.22,0),COLORRED;
DRAWTEXT(BT,3,'短牛'),COLORRED,FONTSIZE16;

TJ1:=REF(SCZDFH,1) AND C<HHV(H,21)*0.82;
STICKLINE1(TJ1,0,2,3,0),RGB(121,0,242);
STICKLINE1(TJ1,0,2,1.5,0),COLORMAGENTA;
STICKLINE1(TJ1,0,2,0.8,0),COLORMAGENTA;
STICKLINE1(TJ1,0,2,0.2,0),RGB(172,89,255);
DRAWTEXT(TJ1,2,'中牛'),COLORFF00FF,FONTSIZE16;

HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:=REF(SCZDFH,1) AND C<HRY33;
STICKLINE1(TJ2,0,1,5,0),RGB(202,202,0);
STICKLINE1(TJ2,0,1,2,0),RGB(232,232,0);
STICKLINE1(TJ2,0,1,1,0),COLORYELLOW;
STICKLINE1(TJ2,0,1,0.2,0),RGB(255,255,66);
DRAWTEXT(TJ2,1,'大牛'),COLORYELLOW,FONTSIZE16;

ST:=REF(JCZGFH,1);
STICKLINE1(ST,10,9,5,0),COLOR008800;
STICKLINE1(ST,10,9,2,0),COLOR00AA00;
STICKLINE1(ST,10,9,1,0),COLOR00CC00;
STICKLINE1(ST,10,9,0.2,0),COLOR00FF00;
DRAWTEXT(ST,9,'賣'),COLOR00FF00,FONTSIZE16,VALIGN0;

?

?來(lái)源:程序化99網(wǎng)( www.tumamayizhan.com )

博易技術(shù)人員: N1:=5;
N2:=10;

LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*10,COLORFF00FF,LINETHICK1;
RSI10:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*10,COLORYELLOW;

VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);

JCJL:=BARSLAST(CROSS(MA5,MA13))+1;
SCJL:=BARSLAST(CROSS(MA13,MA5))+1;

JCZGJL:=HHVBARS(H,JCJL)+1;
SCZDJL:=LLVBARS(L,SCJL)+1;

JCZGFZ:=BACKSET(SCJL=1 OR (ISLASTBAR AND MA5>MA13),JCZGJL);
SCZDFZ:=BACKSET(JCJL=1 OR (ISLASTBAR AND MA5<MA13),SCZDJL);

JCZGFH:=JCZGFZ>REF(JCZGFZ,1);
SCZDFH:=SCZDFZ>REF(SCZDFZ,1);



//DRAWLINE(SCZDFH,L,JCZGFH,H,0);
//DRAWLINE(JCZGFH,H,SCZDFH,L,0);

ZGFHJL:=BARSLAST(JCZGFH);
ZDFHJL:=BARSLAST(SCZDFH);

BT:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2)>0 AND CROSS(VAR2,MA(VAR2,2))) AND REF(SCZDFH,1);
0,COLORFF00FF;
10,COLORFF0000;

STICKLINE(ZDFHJL<ZGFHJL,0,0.2,3,0),COLORRED;
STICKLINE(ZGFHJL<ZDFHJL OR ZDFHJL=0,0,0.2,3,0),COLORGREEN;
STICKLINE(BT,0,3,2,0),COLORRED;
STICKLINE(BT,0,3,1,0),COLORRED;
STICKLINE(BT,0,3,0.22,0),COLORRED;
DRAWTEXT(BT,3,'短牛'),COLORRED,FONTSIZE16;

TJ1:=REF(SCZDFH,1) AND C<HHV(H,21)*0.82;
STICKLINE(TJ1,0,2,3,0),COLORF20079;
STICKLINE(TJ1,0,2,1.5,0),COLORMAGENTA;
STICKLINE(TJ1,0,2,0.8,0),COLORMAGENTA;
STICKLINE(TJ1,0,2,0.2,0),COLORFF59AC;
DRAWTEXT(TJ1,2,'中牛'),COLORFF00FF,FONTSIZE16;

HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:=REF(SCZDFH,1) AND C<HRY33;
STICKLINE(TJ2,0,1,5,0),COLOR00CACA;
STICKLINE(TJ2,0,1,2,0),COLOR00E8E8;
STICKLINE(TJ2,0,1,1,0),COLORYELLOW;
STICKLINE(TJ2,0,1,0.2,0),COLOR42FFFF;
DRAWTEXT(TJ2,1,'大牛'),COLORYELLOW,FONTSIZE16;

ST:=REF(JCZGFH,1);
STICKLINE(ST,10,9,5,0),COLOR008800;
STICKLINE(ST,10,9,2,0),COLOR00AA00;
STICKLINE(ST,10,9,1,0),COLOR00CC00;
STICKLINE(ST,10,9,0.2,0),COLOR00FF00;
DRAWTEXT(ST,9,'賣'),COLOR00FF00,FONTSIZE16,VALIGN0; 來(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ú)法通過(guò)。謝謝您!)


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

相關(guān)文章

    沒(méi)有相關(guān)內(nèi)容
主站蜘蛛池模板: 老司机亚洲精品影视www| 亚洲欧美日韩精品专区| 1000部免费啪啪十八未年禁止观看| 成人福利网址永久在线观看| 十八岁的天空完整版在线观看| 亚洲视频一区二区三区四区| 好吊视频一区二区三区| 亚洲国产精品ⅴa在线观看 | 日本高清免费不卡视频| 四虎影视在线影院在线观看| 18分钟处破好疼哭视频在线| 日韩国产中文字幕| 亚洲第一黄色网址| 91网站免费观看| 在线欧美精品国产综合五月 | 国产精品va无码二区| 丰满亚洲大尺度无码无码专线| 神尾舞高清无在码在线 | 欧美日韩国产综合视频在线看| 再深点灬舒服灬太大了一进一出| 香港伦理电影三级中文字幕 | 亚洲av无码一区二区三区观看| 狠狠色婷婷久久一区二区| 国产欧美精品一区二区| 中文天堂在线视频| 波多野结衣在线观看一区二区三区 | 美女张开腿黄网站免费| 国产女人18毛片水真多18精品| 一本岛一区在线观看不卡| 欧美最猛性xxxxx免费| 国产午夜影视大全免费观看| a视频在线观看免费| 抱着娇妻让粗黑人人玩3p| 亚洲无吗在线视频| 男性gay黄免费网站| 四虎影视成人精品| 香港黄页精品视频在线| 国产真实乱对白精彩久久| 一级毛片免费观看不卡视频| 日本高清免费中文在线看| 亚洲人成免费电影|