人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

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

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.kzuj.com.cn )

博易技術人員: 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微信聯系我們!


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 欧美午夜性春猛交 | 欧美另类日韩中文色综合 | 最近资源中文字幕4 | 成年免费大片黄在线观看视频 | 日本一区二区三区视频在线 | 视频二区日韩 | 精品视频在线v | 曰批全过程免费视视频观看 | 亚洲免费中文字幕 | 中文字幕在线综合 | 日韩视频中文字幕 | 在线天堂资源 | 69欧美xxxxx色护士视频 | 人人做人人澡人人人爽 | 色天天综合色天天天天看大 | 欧美在线 | 亚洲 | 九九碰 | 成年人在线免费看视频 | 一个人看的www免费观看视频 | 亚洲高清免费视频 | 在线观看片成人免费视频 | 欧美在线看欧美视频免费网站 | 成人a毛片久久免费播放 | 欧美日韩国产高清 | 天天操天天搞 | 亚洲国产成人在线视频 | 男女下面一进一出的视频免费 | 清清草视频在线观看 | 三级黄色片在线观看 | 国产成人91精品 | 日韩欧美在线综合 | 美女图片在线视频精品播放 | 午夜日韩 | 欧美亚洲中日韩中文字幕在线 | 97菊爱网 | 六月丁香在线播放 | 国产亚洲精彩视频 | 欧美黄www免费| 小明免费视频一区二区 | 真正免费一级毛片在线播放 | 国产中文99视频在线观看 |