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

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

老師,這個指標能否幫我修改成博易指標? [博易POBO]

咨詢內容:

老師,這個指標能否幫我修改成博易指標?

通達信極品跟莊分時指標公式

TE;A1:=(DVOL?/C)/2,NODRAW;
A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A6:=A2+A3+A4+A5;
機買:(A2/A6)*100,LINETHICK2,COLORRED;
機賣:(A3/A6)*100,LINETHICK2,COLORGREEN;
散買:(A4/A6)*100,LINETHICK0;
散賣:(A5/A6)*100,LINETHICK0;
主力差:機買-機賣,LINETHICK2,NODRAW;
散戶?差:散買-散賣,LINETHICK0,NODRAW;
DRAWTEXT(主力差>0 AND REF(主力差,1)<=0,C*0.85,'●機構?'),COLORRED;
DRAWTEXT(主力差<0 AND REF(主力差,1)>=0,-C*0.85,'○機構'),COLORWHITE;
DRAWTEXT(散戶差>0 AND REF(散戶差,1)<=0,C*0.15,'▲散戶'),COLORCYAN;
DRAWTEXT(散戶差<0 AND REF(散戶差,1)>=0,-C*0.15,'△散戶'),COLORWHI
?
?
還一個:
HH:=FINDHIGH(H,0,20,1);
?LL:=FINDLOW(L,0,20,1);
?HH1:=FINDHIGH(H,20,20,1);
?LL1:=FINDLOW(L,20,20,1);
?HH2:=FINDHIGH(H,40,20,1);
?LL2:=FINDLOW(L,40,20,1);
?HH3:=FINDHIGH(H,60,20,1);
?LL3:=FINDLOW(L,60,20,1);
?HH4:=FINDHIGH(H,80,20,1);
?LL4:=FINDLOW(L,80,20,1);
?HH5:=FINDHIGH(H,100,20,1);
?LL5:=FINDLOW(L,100,20,1);
?STICKLINE(CURRBARSCOUNT<20 AND CURRBARSCOUNT>1 ,CONST(HH),CONST(HH),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<20 AND CURRBARSCOUNT>1 ,CONST(LL),CONST(LL),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<20 AND CURRBARSCOUNT>1 ,(CONST(HH)+CONST(LL))/2,(CONST(HH)+CONST(LL))/2,8,-1)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT=20 OR CURRBARSCOUNT=1 ,CONST(HH),CONST(LL),0,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<40 AND CURRBARSCOUNT>21 ,CONST(HH1),CONST(HH1),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<40 AND CURRBARSCOUNT>21,CONST(LL1),CONST(LL1),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<40 AND CURRBARSCOUNT>21 ,(CONST(HH1)+CONST(LL1))/2,(CONST(HH1)+CONST(LL1))/2,8,-1)COLORYELLOW;STICKLINE(CURRBARSCOUNT=40 OR CURRBARSCOUNT=21 ,CONST(HH1),CONST(LL1),0,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<60 AND CURRBARSCOUNT>41,CONST(HH2),CONST(HH2),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<60 AND CURRBARSCOUNT>41,CONST(LL2),CONST(LL2),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<60 AND CURRBARSCOUNT>41 ,(CONST(HH2)+CONST(LL2))/2,(CONST(HH2)+CONST(LL2))/2,8,-1)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT=60 OR CURRBARSCOUNT=41,CONST(HH2),CONST(LL2),0,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<80 AND CURRBARSCOUNT>61,CONST(HH3),CONST(HH3),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<80 AND CURRBARSCOUNT>61,CONST(LL3),CONST(LL3),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<80 AND CURRBARSCOUNT>61 ,(CONST(HH3)+CONST(LL3))/2,(CONST(HH3)+CONST(LL3))/2,8,-1)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT=80 OR CURRBARSCOUNT=61,CONST(HH3),CONST(LL3),0,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<100 AND CURRBARSCOUNT>81,CONST(HH4),CONST(HH4),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<100 AND CURRBARSCOUNT>81,CONST(LL4),CONST(LL4),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<100 AND CURRBARSCOUNT>81 ,(CONST(HH4)+CONST(LL4))/2,(CONST(HH4)+CONST(LL4))/2,8,-1)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT=100 OR CURRBARSCOUNT=81,CONST(HH4),CONST(LL4),0,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<120 AND CURRBARSCOUNT>101,CONST(HH5),CONST(HH5),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<120 AND CURRBARSCOUNT>101,CONST(LL5),CONST(LL5),8,0)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT<120 AND CURRBARSCOUNT>101 ,(CONST(HH5)+CONST(LL5))/2,(CONST(HH5)+CONST(LL5))/2,8,-1)COLORYELLOW;
?STICKLINE(CURRBARSCOUNT=120 OR CURRBARSCOUNT=101,CONST(HH5),CONST(LL5),0,0)COLORYELLOW;

?DRAWTEXT_FIX(CURRBARSCOUNT=20,0.9,0.005,0,STRCAT(STRCAT('最高價:',VAR2STR(HH,2)),'元'))COLORYELLOW;
?DRAWTEXT_FIX(CURRBARSCOUNT=20,0.9,1.9,0,STRCAT(STRCAT('最低價:',VAR2STR(LL,2)),'元'))COLORYELLOW;
?DRAWTEXT_FIX(CURRBARSCOUNT=40,0.7,0.005,0,STRCAT(STRCAT('最高價:',VAR2STR(HH1,2)),'元'))COLORYELLOW;
?DRAWTEXT_FIX(CURRBARSCOUNT=40,0.7,1.9,0,STRCAT(STRCAT('最低價:',VAR2STR(LL1,2)),'元'))COLORYELLOW;
?DRAWTEXT_FIX(CURRBARSCOUNT=60,0.55,0.005,0,STRCAT(STRCAT('最高價:',VAR2STR(HH2,2)),'元'))COLORYELLOW;
?DRAWTEXT_FIX(CURRBARSCOUNT=60,0.55,1.9,0,STRCAT(STRCAT('最低價:',VAR2STR(LL2,2)),'元'))COLORYELLOW;
?DRAWTEXT_FIX(CURRBARSCOUNT=80,0.38,0.005,0,STRCAT(STRCAT('最高價:',VAR2STR(HH3,2)),'元'))COLORYELLOW;
?DRAWTEXT_FIX(CURRBARSCOUNT=80,0.38,1.9,0,STRCAT(STRCAT('最低價:',VAR2STR(LL3,2)),'元'))COLORYELLOW;
?DRAWTEXT_FIX(CURRBARSCOUNT=100,0.22,0.005,0,STRCAT(STRCAT('最高價:',VAR2STR(HH4,2)),'元'))COLORYELLOW;
?DRAWTEXT_FIX(CURRBARSCOUNT=100,0.22,1.9,0,STRCAT(STRCAT('最低價:',VAR2STR(LL4,2)),'元'))COLORYELLOW;
?DRAWTEXT_FIX(CURRBARSCOUNT=120,0.101,0.005,0,STRCAT(STRCAT('最高價:',VAR2STR(HH5,2)),'元'))COLORYELLOW;
?DRAWTEXT_FIX(CURRBARSCOUNT=120,0.101,1.9,0,STRCAT(STRCAT('最低價:',VAR2STR(LL5,2)),'元'))COLORYELLOW;

?

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

博易技術人員: 這里面DVOL我搜了資料顯示是個未來函數,博易中暫不支持,我用vol替換的。
A1:=(VOL*100/C)/2,NODRAW;
A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);
A6:=A2+A3+A4+A5;
機買:(A2/A6)*100,LINETHICK2,COLORRED;
機賣:(A3/A6)*100,LINETHICK2,COLORGREEN;
散買:(A4/A6)*100,LINETHICK0;
散賣:(A5/A6)*100,LINETHICK0;
主力差:機買-機賣,LINETHICK2,NODRAW;
散戶差:散買-散賣,LINETHICK0,NODRAW;
DRAWTEXT(主力差>0 AND REF(主力差,1)<=0,C*0.85,'●機構?'),COLORRED;
DRAWTEXT(主力差<0 AND REF(主力差,1)>=0,-C*0.85,'○機構'),COLORWHITE;
DRAWTEXT(散戶差>0 AND REF(散戶差,1)<=0,C*0.15,'▲散戶'),COLORCYAN;
DRAWTEXT(散戶差<0 AND REF(散戶差,1)>=0,-C*0.15,'△散戶'),COLORWHITE; 謝謝老師!剛才下面還一個呢?
? 來源 程序化久久網

 

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

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

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


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 日本香蕉一区二区三区 | 99视频全部看免费观 | 全黄性 | 日韩精品在线一区 | 久久久久国产一级毛片高清片 | 欧美一级xxxx俄罗斯一级 | 最近中文2019字幕在线观看 | 久久精品一区二区三区中文字幕 | 91不卡在线精品国产 | 国产精品二区三区 | 羞羞视频免费在线观看 | 日本欧美一区二区三区在线观看 | 欧美日本高清视频在线观看 | 黄色三级毛片视频 | 黄色污污视频在线观看 | 日日摸夜夜摸狠狠摸日日碰夜夜做 | 99精品国产兔费观看久久99 | 色在线视频观看 | 韩国福利视频一区二区 | 日本三级视频在线观看 | 精品国偷自产在线视频99 | 日本操穴| 国产成人福利 | 国产麻豆精品免费视频 | 国产无人区卡一卡二卡三网站 | 久久97精品久久久久久久不卡 | 色综合天天综久久久噜噜噜久久〔 | 中文字幕在线网 | 爱搞视频首页在线 | 久久91精品国产91久 | 一区二区三区高清视频在线观看 | 深夜在线看片 | 中文字幕亚洲综合久久菠萝蜜 | 亚洲福利视频一区二区 | 国产不卡一区二区视频免费 | 97国产在线观看 | 日本欧美一二三区色视频 | 国产一级一级一级国产片 | 毛片在线视频 | 久久99精品久久久久久青青91 | 性欧美激情在线观看 |