您現在的位置:程序化交易>> 期貨公式>> 博易大師>> 博易大師知識>>正文內容

5.5上如何編寫下面指標? [博易POBO]

咨詢內容:

5.5上如何編寫下面指標?


SAR1:=SAR_POBO(7,2,10),CIRCLEDOT;?
SAR:=SAR1;
QSA:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
QSA1:=(MA(CLOSE,2)+MA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16))/4;
PARTLINE(C>SAR?AND?SAR>0,QSA1),COLOR0000FF,LINETHICK2;?
PARTLINE(C<SAR?AND?SAR>0,QSA1),COLOR40FF00,LINETHICK2;?
壓力支持位1:=MA(CLOSE,26),LINETHICK0;{壓力支撐線}
線條1:=MA(CLOSE,28);
線條:=壓力支持位1;
壓力支持位:=線條1,LINETHICK0,COLORFF00FF;
PARTLINE(C>壓力支持位1?AND?壓力支持位1>0,線條1),COLORFF00FF,LINETHICK2;?
PARTLINE(C<壓力支持位1?AND?壓力支持位1>0,線條1),COLORFF0000,LINETHICK2;?
PARTLINE(C=壓力支持位1?AND?壓力支持位1>0,線條1),COLOR000000,LINETHICK2;?
DRAWICON(CROSS(C,SAR),L*0.999,4);{買,賣點}
DRAWICON(CROSS(SAR,C),H*1.001,5);
DRAWICON(CROSS(C,SAR),L*0.9985,1);{B,S點}
DRAWICON(CROSS(SAR,C),H*1.0015,2);{加速點}
DRAWICON(C<SAR?AND?C<REF(C,1)*0.999?,QSA1,14);
DRAWICON(C>SAR?AND?C>REF(C,1)*1.002?,QSA1,8);
{紅色K}
STICKLINE(C>SAR?AND?SAR>=0?AND?C<=O,H,L,0,0),COLOR0000FF;
STICKLINE(C>SAR?AND?SAR>=0?AND?C>=O,H,C,0,0),COLOR0000FF;
STICKLINE(C>SAR?AND?SAR>=0?AND?C>=O,O,L,0,0),COLOR0000FF;
STICKLINE(C>SAR?AND?SAR>=0?AND?C<=O,C,O,4,0),COLOR0000FF;
STICKLINE(C>SAR?AND?SAR>=0?AND?C>=O,C,O,4,1),COLOR0000FF;
{STICKLINE(C>SAR?AND?SAR>=0,H,L,0,0),COLOR5555FF;
STICKLINE(C>SAR?AND?SAR>0,C,O,4,1),COLOR0000AA;
STICKLINE(C>SAR?AND?SAR>0,C,O,3,0),COLOR0000CC;
STICKLINE(C>SAR?AND?SAR>0,C,O,2,0),COLOR0000EE;
STICKLINE(C>SAR?AND?SAR>0,C,O,1,0),COLOR5555FF;
STICKLINE(C>SAR?AND?SAR>0,C,O,0.1,0),COLOR8080FF;}
{綠色K}
STICKLINE(C<SAR?AND?C<=O,H,L,0,0),COLOREEE913;
STICKLINE(C<SAR?AND?C>=O,H,C,0,0),COLOREEE913;
STICKLINE(C<SAR?AND?C>=O,L,O,0,0),COLOREEE913;
STICKLINE(C<SAR?AND?C>=O,C,O,4.1,1),COLOREEE913;
STICKLINE(C<SAR?AND?C<=O,C,O,4.1,0),COLOREEE913;
{STICKLINE(C<SAR,C,O,4.1,1),COLOR515100;
STICKLINE(C<SAR,C,O,3,0),COLOR919100;
STICKLINE(C<SAR,C,O,2,0),COLORCACA00;
這個在新版就不行了,在老版可以
SAR1:=SAR_POBO(7,2,10),CIRCLEDOT;?
SAR:=SAR1;
QSA:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
QSA1:=(MA(CLOSE,2)+MA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16))/4;
PARTLINE(C>SAR?AND?SAR>0,QSA1),COLOR0000FF,LINETHICK2;?
PARTLINE(C<SAR?AND?SAR>0,QSA1),COLOR40FF00,LINETHICK2;?
壓力支持位1:=MA(CLOSE,26),LINETHICK0;{壓力支撐線}
線條1:=MA(CLOSE,28);
線條:=壓力支持位1;
壓力支持位:=線條1,LINETHICK0,COLORFF00FF;
PARTLINE(C>壓力支持位1?AND?壓力支持位1>0,線條1),COLORFF00FF,LINETHICK2;?
PARTLINE(C<壓力支持位1?AND?壓力支持位1>0,線條1),COLORFF0000,LINETHICK2;?
PARTLINE(C=壓力支持位1?AND?壓力支持位1>0,線條1),COLOR000000,LINETHICK2;?
DRAWICON(CROSS(C,SAR),L*0.999,4);{買,賣點}
DRAWICON(CROSS(SAR,C),H*1.001,5);
DRAWICON(CROSS(C,SAR),L*0.9985,1);{B,S點}
DRAWICON(CROSS(SAR,C),H*1.0015,2);{加速點}
DRAWICON(C<SAR?AND?C<REF(C,1)*0.999?,QSA1,14);
DRAWICON(C>SAR?AND?C>REF(C,1)*1.002?,QSA1,8);
{紅色K}
STICKLINE(C>SAR?AND?SAR>=0?AND?C<=O,H,L,0,0),COLOR0000FF;
STICKLINE(C>SAR?AND?SAR>=0?AND?C>=O,H,C,0,0),COLOR0000FF;
STICKLINE(C>SAR?AND?SAR>=0?AND?C>=O,O,L,0,0),COLOR0000FF;
STICKLINE(C>SAR?AND?SAR>=0?AND?C<=O,C,O,4,0),COLOR0000FF;
STICKLINE(C>SAR?AND?SAR>=0?AND?C>=O,C,O,4,1),COLOR0000FF;
{STICKLINE(C>SAR?AND?SAR>=0,H,L,0,0),COLOR5555FF;
STICKLINE(C>SAR?AND?SAR>0,C,O,4,1),COLOR0000AA;
STICKLINE(C>SAR?AND?SAR>0,C,O,3,0),COLOR0000CC;
STICKLINE(C>SAR?AND?SAR>0,C,O,2,0),COLOR0000EE;
STICKLINE(C>SAR?AND?SAR>0,C,O,1,0),COLOR5555FF;
STICKLINE(C>SAR?AND?SAR>0,C,O,0.1,0),COLOR8080FF;}
{綠色K}
STICKLINE(C<SAR?AND?C<=O,H,L,0,0),COLOREEE913;
STICKLINE(C<SAR?AND?C>=O,H,C,0,0),COLOREEE913;
STICKLINE(C<SAR?AND?C>=O,L,O,0,0),COLOREEE913;
STICKLINE(C<SAR?AND?C>=O,C,O,4.1,1),COLOREEE913;
STICKLINE(C<SAR?AND?C<=O,C,O,4.1,0),COLOREEE913;
{STICKLINE(C<SAR,C,O,4.1,1),COLOR515100;
STICKLINE(C<SAR,C,O,3,0),COLOR919100;
STICKLINE(C<SAR,C,O,2,0),COLORCACA00;
?

?

?來源:程序化99網( www.tumamayizhan.com )

博易技術人員: SAR2:=SAR(7,2,10);
QSA:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
QSA1:=(MA(CLOSE,2)+MA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16))/4;
PARTLINE(C>SAR2 AND SAR2>0,QSA1),COLOR0000FF,LINETHICK2;?
PARTLINE(C<SAR2 AND SAR2>0,QSA1),COLOR40FF00,LINETHICK2;?
壓力支持位1:=MA(CLOSE,26),LINETHICK0;{壓力支撐線}
線條1:=MA(CLOSE,28);
線條:=壓力支持位1;
壓力支持位:=線條1,LINETHICK0,COLORFF00FF;
PARTLINE(C>壓力支持位1 AND 壓力支持位1>0,線條1),COLORFF00FF,LINETHICK2;?
PARTLINE(C<壓力支持位1 AND 壓力支持位1>0,線條1),COLORFF0000,LINETHICK2;?
PARTLINE(C=壓力支持位1 AND 壓力支持位1>0,線條1),COLOR000000,LINETHICK2;?
DRAWICON(CROSS(C,SAR2),L*0.999,4);{買,賣點}
DRAWICON(CROSS(SAR2,C),H*1.001,5);
DRAWICON(CROSS(C,SAR2),L*0.9985,1);{B,S點}
DRAWICON(CROSS(SAR2,C),H*1.0015,2);{加速點}
DRAWICON(C<SAR2 AND C<REF(C,1)*0.999 ,QSA1,14);
DRAWICON(C>SAR2 AND C>REF(C,1)*1.002 ,QSA1,8);
{紅色K}
STICKLINE(C>SAR2 AND SAR2>=0 AND C<=O,H,L,0,0),COLOR0000FF;
STICKLINE(C>SAR2 AND SAR2>=0 AND C>=O,H,C,0,0),COLOR0000FF;
STICKLINE(C>SAR2 AND SAR2>=0 AND C>=O,O,L,0,0),COLOR0000FF;
STICKLINE(C>SAR2 AND SAR2>=0 AND C<=O,C,O,4,0),COLOR0000FF;
STICKLINE(C>SAR2 AND SAR2>=0 AND C>=O,C,O,4,1),COLOR0000FF;
{STICKLINE(C>SAR AND SAR>=0,H,L,0,0),COLOR5555FF;
STICKLINE(C>SAR AND SAR>0,C,O,4,1),COLOR0000AA;
STICKLINE(C>SAR AND SAR>0,C,O,3,0),COLOR0000CC;
STICKLINE(C>SAR AND SAR>0,C,O,2,0),COLOR0000EE;
STICKLINE(C>SAR AND SAR>0,C,O,1,0),COLOR5555FF;
STICKLINE(C>SAR AND SAR>0,C,O,0.1,0),COLOR8080FF;}
{綠色K}
STICKLINE(C<SAR2 AND C<=O,H,L,0,0),COLOREEE913;
STICKLINE(C<SAR2 AND C>=O,H,C,0,0),COLOREEE913;
STICKLINE(C<SAR2 AND C>=O,L,O,0,0),COLOREEE913;
STICKLINE(C<SAR2 AND C>=O,C,O,4.1,1),COLOREEE913;
STICKLINE(C<SAR2 AND C<=O,C,O,4.1,0),COLOREEE913;
{STICKLINE(C<SAR,C,O,4.1,1),COLOR515100;
STICKLINE(C<SAR,C,O,3,0),COLOR919100;
STICKLINE(C<SAR,C,O,2,0),COLORCACA00;
這個在新版就不行了,在老版可以
SAR1:=SAR_POBO(7,2,10),CIRCLEDOT;?
SAR:=SAR1;
QSA:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
QSA1:=(MA(CLOSE,2)+MA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16))/4;
PARTLINE(C>SAR AND SAR>0,QSA1),COLOR0000FF,LINETHICK2;?
PARTLINE(C<SAR AND SAR>0,QSA1),COLOR40FF00,LINETHICK2;?
壓力支持位1:=MA(CLOSE,26),LINETHICK0;{壓力支撐線}
線條1:=MA(CLOSE,28);
線條:=壓力支持位1;
壓力支持位:=線條1,LINETHICK0,COLORFF00FF;
PARTLINE(C>壓力支持位1 AND 壓力支持位1>0,線條1),COLORFF00FF,LINETHICK2;?
PARTLINE(C<壓力支持位1 AND 壓力支持位1>0,線條1),COLORFF0000,LINETHICK2;?
PARTLINE(C=壓力支持位1 AND 壓力支持位1>0,線條1),COLOR000000,LINETHICK2;?
DRAWICON(CROSS(C,SAR2),L*0.999,4);{買,賣點}
DRAWICON(CROSS(SAR2,C),H*1.001,5);
DRAWICON(CROSS(C,SAR2),L*0.9985,1);{B,S點}
DRAWICON(CROSS(SAR2,C),H*1.0015,2);{加速點}
DRAWICON(C<SAR2 AND C<REF(C,1)*0.999 ,QSA1,14);
DRAWICON(C>SAR2 AND C>REF(C,1)*1.002 ,QSA1,8);
{紅色K}
STICKLINE(C>SAR2 AND SAR2>=0 AND C<=O,H,L,0,0),COLOR0000FF;
STICKLINE(C>SAR2 AND SAR2>=0 AND C>=O,H,C,0,0),COLOR0000FF;
STICKLINE(C>SAR2 AND SAR2>=0 AND C>=O,O,L,0,0),COLOR0000FF;
STICKLINE(C>SAR2 AND SAR2>=0 AND C<=O,C,O,4,0),COLOR0000FF;
STICKLINE(C>SAR2 AND SAR2>=0 AND C>=O,C,O,4,1),COLOR0000FF;
{STICKLINE(C>SAR AND SAR>=0,H,L,0,0),COLOR5555FF;
STICKLINE(C>SAR AND SAR>0,C,O,4,1),COLOR0000AA;
STICKLINE(C>SAR AND SAR>0,C,O,3,0),COLOR0000CC;
STICKLINE(C>SAR AND SAR>0,C,O,2,0),COLOR0000EE;
STICKLINE(C>SAR AND SAR>0,C,O,1,0),COLOR5555FF;
STICKLINE(C>SAR AND SAR>0,C,O,0.1,0),COLOR8080FF;}
{綠色K}
STICKLINE(C<SAR2 AND C<=O,H,L,0,0),COLOREEE913;
STICKLINE(C<SAR2 AND C>=O,H,C,0,0),COLOREEE913;
STICKLINE(C<SAR2 AND C>=O,L,O,0,0),COLOREEE913;
STICKLINE(C<SAR2 AND C>=O,C,O,4.1,1),COLOREEE913;
STICKLINE(C<SAR2 AND C<=O,C,O,4.1,0),COLOREEE913;
{STICKLINE(C<SAR,C,O,4.1,1),COLOR515100;
STICKLINE(C<SAR,C,O,3,0),COLOR919100;
STICKLINE(C<SAR,C,O,2,0),COLORCACA00;
? 來源 程序化久久網

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 1145508240  點擊在線交流或微信號:cxh99cxh99  進行 有償收費 編寫!(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,謝謝您!)

怎么收費,代編流程等詳情請點擊閱讀,或QQ微信聯系我們!


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
主站蜘蛛池模板: 亚洲午夜久久久久久尤物| 国产亚洲精久久久久久无码| 伊人青青草视频| 国产精品嫩草影院人体模特| 天天操综合视频| 久久久久久国产精品无码下载| 欧美激情一区二区三区| 国产激情在线视频| www.五月天婷婷| 日本精品久久久久中文字幕| 亚洲欧美专区精品久久| 黄色软件视频在线观看| 女人扒开腿让男人捅| 久久乐国产精品亚洲综合| 欧美日韩国产一区二区| 国产午夜无码福利在线看网站 | 国产麻豆91网在线看| 久久老子午夜精品无码怎么打| 男人j放进女人j网站免费| 国产传媒在线观看视频免费观看 | 欧美jizz18性欧美年轻| 在线免费观看一级片| 一级毛片成人免费看免费不卡| 日韩av无码一区二区三区| 亚洲国产成人高清在线观看| 草莓app下载2019年| 大胆gogo高清在线观看| 中文字幕在线有码高清视频| 最好免费观看韩国+日本| 免费黄色app网站| 被农民工玩酥了的张小婷| 国产福利精品视频| 99re6在线精品视频免费播放| 日韩网新片免费| 亚洲欧美四级在线播放| 皇夫被迫含玉势女尊高h| 国产CHINESE男男GAYGAY网站| 龙珠全彩里番acg同人本子| 国产色无码专区在线观看| www.kkbokk.com| 成人福利视频导航|