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

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

麻煩老師改成博易大師指標,感謝老師 [博易POBO]

咨詢內容:

麻煩老師改成博易大師指標,感謝老師

input:M(14,3,40),N(6,3,30);
TYP := (HIGH + LOW + CLOSE)/3;
cci:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),STICK,colorgreen;
Wcci:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),colorblack,LINETHICK2;
DRAWICON((ABS(CCI) >= 200),CCI,12);
tcci:(TYP-MA(TYP,n))/(0.015*AVEDEV(TYP,n)),colorred;
EMA34:=EMA(CLOSE,34);
PARTLINE((CLOSE >= EMA34),100),colorFF00;
PARTLINE((CLOSE >=EMA34 ),(0 - 100)),colorFF00;
PARTLINE((CLOSE < EMA34),100),colorFF;
PARTLINE((CLOSE < EMA34),(0 - 100)),colorFF;
前差值:abs(ref(cci,1)-ref(cci,2)),LINETHICK0;
差值:ABS(ref(CCI,1)-CCI),LINETHICK0;
200,LINEDOT,colorFFFF00;
-200,LINEDOT,colorFFFF00;
100,LINEDOT,colorFFFF00;
-100,LINEDOT,colorFFFF00;
PI:=ATAN(1)*4;
PERIODS:=30;
HIGHHIGH:=HHV(HIGH,PERIODS);
LOWLOW:=LLV(LOW,PERIODS);
RANGEV:=25/(HIGHHIGH-LOWLOW)*LOWLOW;
EMA34:=EMA(CLOSE,34);
X1_EMA34:=0;
X2_EMA34:=1;
Y1_EMA34:=0;
LSMA25:=FORCAST(CLOSE,25);
X1_LSMA25:=0;
X2_LSMA25:=1;
Y1_LSMA25:=0;
ARRAY:=CCI;
HIGHBARS:=BARSLAST(NOT(ARRAY>0));
LOWBARS:=BARSLAST(NOT(ARRAY<0));
UPCONDITION:=BARSLAST(HIGHBARS>=6 AND SUM(ARRAY>100,5)>0);
DNCONDITION:=BARSLAST(LOWBARS>=6 AND SUM(ARRAY<-100,5)>0);
UPTREND:=ARRAY>0 AND UPCONDITION<DNCONDITION;
DNTREND:=ARRAY<0 AND UPCONDITION>DNCONDITION;
TRTREND:=HIGHBARS>=5 AND NOT(UPTREND) OR LOWBARS>=5 AND NOT(DNTREND);
STICKLINE(UPTREND,0,CCI,3,0),colorFF0000;
STICKLINE(DNTREND,0,CCI,3,0),colorFF;
STICKLINE(TRTREND,0,CCI,3,0),colorFFFF;
STICKLINE(NOT(UPTREND OR DNTREND OR TRTREND),0,CCI,3,0),color808080;
PARTLINE(CLOSE>LSMA25,0),LINETHICK3,colorFF00;
PARTLINE(CLOSE<LSMA25,0),LINETHICK3,colorFF;
PARTLINE(CLOSE=LSMA25,0),LINETHICK3,colorFFFF;
DRAWICON(ABS(CCI)>=200,CCI,12);
TM:=IF(DATATYPE=1,1,IF(DATATYPE=2,5,IF(DATATYPE=3,15,IF(DATATYPE=4,30,IF(DATATYPE=5,60,240)))));
ALERT1:=IF(DATATYPE=1,10,IF(DATATYPE=2,34,IF(DATATYPE=3,100,IF(DATATYPE=4,180,IF(DATATYPE=5,300,600)))));
TIMEFRAME:=TM;
ALERT:=ALERT1;
STIME:=TIMETOT0(CURRENTTIME);
SSTIME:=TIMEFRAME*60-MOD(STIME,TIMEFRAME*60);
SSTEP:=300/TIMEFRAME/60;
STICKLINE(ISLASTBAR,0,300,6,1),SHIFT2,color10000;
STICKLINE(ISLASTBAR AND SSTIME>ALERT,300,SSTIME*SSTEP,6,0),SHIFT2,colorFFFF00;
STICKLINE(ISLASTBAR AND SSTIME<ALERT,300,SSTIME*SSTEP,6,0),SHIFT2,colorFF;
DRAWNUMBER(ISLASTBAR,300,TIMEFRAME*60,0),SHIFT3;
DRAWNUMBER(ISLASTBAR,SSTIME*SSTEP,SSTIME,0),SHIFT3;
DRAWNUMBER(ISLASTBAR,ALERT*SSTEP,ALERT,0),SHIFT3;
STICKLINE(ISLASTBAR,0,0,6,1),SHIFT6,color10000;
DRAWNUMBER(ISLASTBAR,-20,-REF(CCI,1)+CCI,3),SHIFT3;

?

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

博易技術人員: M:=14;
N:=6;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),STICK,COLORGREEN;
WCCI:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),COLORBLACK,LINETHICK2;
DRAWICON((ABS(CCI) >= 200),CCI,12);
TCCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),COLORRED;
EMA34:=EMA(CLOSE,34);
PARTLINE((CLOSE >= EMA34),100),COLORRED;
PARTLINE((CLOSE >=EMA34 ),(0 - 100)),COLORRED;
PARTLINE((CLOSE < EMA34),100),COLORGREEN;
PARTLINE((CLOSE < EMA34),(0 - 100)),COLORGREEN;
前差值:ABS(REF(CCI,1)-REF(CCI,2)),LINETHICK0;
差值:ABS(REF(CCI,1)-CCI),LINETHICK0;
200,POINTDOT,COLORFFFF00;
-200,POINTDOT,COLORFFFF00;
100,POINTDOT,COLORFFFF00;
-100,POINTDOT,COLORFFFF00;
PI:=ATAN(1)*4;
PERIODS:=30;
HIGHHIGH:=HHV(HIGH,PERIODS);
LOWLOW:=LLV(LOW,PERIODS);
RANGEV:=25/(HIGHHIGH-LOWLOW)*LOWLOW;
EMA34:=EMA(CLOSE,34);
X1_EMA34:=0;
X2_EMA34:=1;
Y1_EMA34:=0;
LSMA25:=FORCAST(CLOSE,25);
X1_LSMA25:=0;
X2_LSMA25:=1;
Y1_LSMA25:=0;
ARRAY1:=CCI;
HIGHBARS:=BARSLAST(NOT(ARRAY1>0));
LOWBARS:=BARSLAST(NOT(ARRAY1<0));
UPCONDITION:=BARSLAST(HIGHBARS>=6 AND SUM(ARRAY1>100,5)>0);
DNCONDITION:=BARSLAST(LOWBARS>=6 AND SUM(ARRAY1<-100,5)>0);
UPTREND:=ARRAY1>0 AND UPCONDITION<DNCONDITION;
DNTREND:=ARRAY1<0 AND UPCONDITION>DNCONDITION;
TRTREND:=HIGHBARS>=5 AND NOT(UPTREND) OR LOWBARS>=5 AND NOT(DNTREND);
STICKLINE(UPTREND,0,CCI,3,0),COLORFF0000;
STICKLINE(DNTREND,0,CCI,3,0),COLORGREEN;
STICKLINE(TRTREND,0,CCI,3,0),COLORYELLOW;
STICKLINE(NOT(UPTREND OR DNTREND OR TRTREND),0,CCI,3,0),COLOR808080;
PARTLINE(CLOSE>LSMA25,0),LINETHICK3,COLORRED;
PARTLINE(CLOSE<LSMA25,0),LINETHICK3,COLORGREEN;
PARTLINE(CLOSE=LSMA25,0),LINETHICK3,COLORYELLOW;
DRAWICON(ABS(CCI)>=200,CCI,12);
TM:=IF(DATAPERIOD=1,1,IF(DATAPERIOD=2,5,IF(DATAPERIOD=3,15,IF(DATAPERIOD=4,30,IF(DATAPERIOD=5,60,240)))));
ALERT1:=IF(DATAPERIOD=1,10,IF(DATAPERIOD=2,34,IF(DATAPERIOD=3,100,IF(DATAPERIOD=4,180,IF(DATAPERIOD=5,300,600)))));
TIMEFRAME:=TM;
ALERT:=ALERT1;
STIME:=TIMETOT0(CURRENTTIME);
SSTIME:=TIMEFRAME*60-MOD(STIME,TIMEFRAME*60);
SSTEP:=300/TIMEFRAME/60;
STICKLINE(ISLASTBAR,0,300,6,1),COLORBLUE;
STICKLINE(ISLASTBAR AND SSTIME>ALERT,300,SSTIME*SSTEP,6,0),COLORFFFF00;
STICKLINE(ISLASTBAR AND SSTIME<ALERT,300,SSTIME*SSTEP,6,0),COLORGREEN;
DRAWNUMBER(ISLASTBAR,300,TIMEFRAME*60,0);
DRAWNUMBER(ISLASTBAR,SSTIME*SSTEP,SSTIME,0);
DRAWNUMBER(ISLASTBAR,ALERT*SSTEP,ALERT,0);
STICKLINE(ISLASTBAR,0,0,6,1),COLORBLUE;
DRAWNUMBER(ISLASTBAR,-20,-REF(CCI,1)+CCI,3); 來源 程序化久久網

 

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

可聯系技術人員 QQ: 262069696  點擊在線交流或微信號:cxh99cxh99  進行 有償收費 編寫!

怎么收費,代編流程等詳情請點擊閱讀!

(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 色天使亚洲综合在线观看 | 亚欧在线视频 | 午夜国产大片免费观看 | 欧美中文网 | 欧美成人专区 | 天天摸夜夜添 | 欧美在线中文字幕高清的 | 91在线精品亚洲一区二区 | 国内精品免费久久久久妲己 | 免费一级特黄特色大片在线观看看 | 一个人在线观看www视频 | 亚洲黄色中文字幕 | 欧美成人手机视频免费播放 | 精品欧美日韩一区二区 | 国产a精品| 亚洲欧美在线一区二区 | 国产a久久精品一区二区三区 | 日本不卡在线 | 二区在线观看 | 放荡的美妇一区二区三区 | 精品400部自拍视频在线播放 | 最近的中文字幕在线看 | 日本日日黄 | 99在线免费播放 | 波多野结衣一区二区三区在线观看 | 成 人 色综合| 一级片免费在线 | 日韩色视频 | 午夜影院网站 | 免费久久精品 | 亚洲综合在线播放 | 狠狠色丁香久久婷婷综合五月 | 欧美性高清视频免费看www | 日本欧洲亚洲一区在线观看 | 一级毛片女人喷潮 | 欧美一区二区三区免费 | bl男男全肉高h集合 bl男男全肉高h车 | 中国欧美日韩一区二区三区 | www日韩中文字幕在线看 | 在线播放国产麻豆 | 一级特黄特黄的大片免费 |