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

您現在的位置:程序化交易>> 期貨公式>> 文華財經>> 文華財經知識>>正文內容

請老師幫助:已經改了一部份,但有些函數改不來 [文華財經]

  • 咨詢內容: YM:EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORRED,LINETHICK1;
     IF(EMA((CLOSE+HIGH+LOW)/3,3)>=YM,YM,DRAWNULL),DOTLINE,COLORRED;
     IF(EMA((CLOSE+HIGH+LOW)/3,3)<=YM,YM,DRAWNULL),DOTLINE,COLORGREEN;
     STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)>=YM,LOW,HIGH,0,0),COLORRED;
     STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)>=YM,CLOSE,OPEN,3,1),COLORRED;
     STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)<=YM,LOW,HIGH,0,0),COLORGREEN;
     STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)<=YM,CLOSE,OPEN,3,1),COLORGREEN;
    MRLD:=LARGEINTRDVOL*100/VOL;//買入力度
    MCLD:=LARGEOUTTRDVOL*100/VOL;//賣出力度
    MMLD:=MRLD/MCLD;
    MACDJG1:=EMA(CLOSE,3) - EMA(CLOSE,9);
     DEA1021:=EMA((EMA(MACDJG1,102) - EMA(MACDJG1,204)),9);
     DEA511:=EMA((EMA(MACDJG1,51) - EMA(MACDJG1,102)),9);
     DEA36361:=EMA((EMA(MACDJG1,36) - EMA(MACDJG1,72)),9);
     DEA24241:=EMA((EMA(MACDJG1,24) - EMA(MACDJG1,48)),9);
     DEA18181:=EMA((EMA(MACDJG1,18) - EMA(MACDJG1,36)),9);
     DEA661:=EMA((EMA(MACDJG1,6) - EMA(MACDJG1,12)),9);
     DEA331:=EMA((EMA(MACDJG1,3) - EMA(MACDJG1,9)),9);
     DEA12121:=EMA((EMA(MACDJG1,12) - EMA(MACDJG1,24)),9);
     MACD24241:=2*((EMA(MACDJG1,24) - EMA(MACDJG1,48))-DEA24241);
     HH1:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
     +13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
     +7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
     REF(H,20))/210,COLORBLUE,LINETHICK1;
     LL1:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
     +13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
     +7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
     REF(L,20))/210,COLORBLUE,LINETHICK1;
     D90H1:=EMA(HH1,90),COLORRED,LINETHICK1;
     D90L1:=EMA(LL1,90),COLORRED,LINETHICK1;
     D901:=(D90H1+D90L1)/2;
     Y1M:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48);
     CCI151:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,15))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,15));
     CCI101:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,10))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,10));
     CCI51:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,5))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,5));
     CCI31:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,3))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,3));
     CCIMDDW1:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI151,1)>0 AND REF(CCI101,1)>-30 AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);
     CCIMDDW2:=CROSS(CCI31,0) AND CCI51>REF(CCI51,1) AND REF(CCI51,1)<-100 AND REF(CCI151,1)>0 AND REF(CCI101,1)>-30 AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);
     CCIMDDW3:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI101,1)>0 AND REF(CCI101,1)>REF(CCI151,1);
     CCIMDDW:=CCIMDDW1=1 OR CCIMDDW2=1 OR CCIMDDW3=1;
    JN1:=CCIMDDW=1 AND DEA12121>DEA18181 AND DEA18181>DEA24241 AND DEA24241>DEA36361 AND DEA36361>DEA511 AND DEA511>=DEA1021 AND DEA18181>REF(DEA18181,1) AND DEA24241>REF(DEA24241,1) AND DEA36361>REF(DEA36361,1) AND DEA511>REF(DEA511,1) AND DEA1021>REF(DEA1021,1) AND DEA36361>0 AND DEA331>0;
    JN2:=CCIMDDW=1 AND DEA12121>DEA18181 AND DEA18181>DEA24241 AND DEA24241>DEA36361 AND DEA18181>DEA1021 AND DEA18181>REF(DEA18181,1) AND DEA24241>REF(DEA24241,1) AND DEA36361>REF(DEA36361,1) AND DEA511>REF(DEA511,1) AND DEA1021>REF(DEA1021,1) AND DEA18181>0 AND DEA331>0;
    JN:=JN1=1 OR JN2=1;
     VOLB:=VOL/REF(VOL,1);
    GD:=(D90H1-D90L1)*2+D90H1;
     PBX11:=(EXPMA((CLOSE+HIGH+LOW)/3,4)+EMA((CLOSE+HIGH+LOW)/3,4*2)+EMA((CLOSE+HIGH+LOW)/3,4*4))/3;
     PBX22:=(EXPMA((CLOSE+HIGH+LOW)/3,5)+EMA((CLOSE+HIGH+LOW)/3,5*2)+EMA((CLOSE+HIGH+LOW)/3,5*4))/3;
     PBXHH:=(EXPMA(H,2)+EMA(H,2*2)+EMA(H,2*4))/3,COLORGREEN,LINETHICK1;
     PBXLL:=(EXPMA(L,2)+EMA(L,2*2)+EMA(L,2*4))/3,COLORRED,LINETHICK1;
    NMW:=(CLOSE+HIGH+LOW)/3>Y1M AND JN=1 AND PBX11>PBX22 AND MMLD>1 AND C<GD;
    STICKLINE(NMW=1,LOW,HIGH,0,0),COLORYELLOW;//牛魔王
     STICKLINE(NMW=1,CLOSE,OPEN,4,0),COLORYELLOW;//牛魔王
     DRAWICON(NMW=1,L,5);
     YMG:=EMA(SLOPE(H,24)*20+H,48),COLORGREEN,DOTLINE;
     YMD:=EMA(SLOPE(L,24)*20+L,48),COLORGREEN,DOTLINE;
    ZS:=(HIGH+LOW)/2-(YMG-YMD)*1.5; //止損
     STICKLINE(NMW=1,ZS,ZS,100,0),LINETHICK1,COLORWHITE;
     DRAWTEXT(NMW=1,止損*0.98,'↖【止損】'),COLORWHITE;
     DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.01,0,'K線底部出紅色或粉色,可低吸建倉!'),COLORRED;
     DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.05,0,'綠點表示長期的壓力點!'),COLORGREEN;
     DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.10,0,'白點表示中短期的壓力和支撐點,'),COLORGREEN;
     DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.16,0,'紅點表示有效支撐或突破長中短期壓力點!股價向下跌破,原則清倉!'),COLORGREEN;
    XJ: IF (DYNAINFO(4)=0,C,DYNAINFO(7)),COLORWHITE,POINTDOT;
     N:=7;
     T1:=CONST(LLVBARS(LOW,N));
     T1HIGH:=CONST(REF(HIGH,T1));
     CC:=CONST(CURRBARSCOUNT);
     T2:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T1)) AND (HIGH>T1HIGH)));
     T2HIGH:=CONST(REF(HIGH,T2));
     T3:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T2)) AND (HIGH>T2HIGH)));
     T3HIGH:=CONST(REF(HIGH,T3));
     AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);
     BA:=EMA(AB,5);
     A1:=REFDATE(REF(HHV(H,96),5),DATE);//G
     B1:=REFDATE(REF(LLV(L,96),5),DATE);// D
     DY:=((A1)+(B1))/2; //Z
    XD:IF(AB>0 AND AB-BA<=0,A1,A1),LINETHICK2,COLORYELLOW; //箱頂
    XY:IF(AB>0 AND AB-BA<=0,DY,DY),LINETHICK2,COLORYELLOW;//XY
    XDD:IF(AB>0 AND AB-BA<=0,B1,B1),LINETHICK2,COLORYELLOW; //箱低
    G1:IF(AB>0 AND AB-BA>0,A1,DRAWNULL),LINETHICK2,COLORRED;
    Z1:IF(AB>0 AND AB-BA>0,DY,DRAWNULL),LINETHICK2,COLORRED;
    D1:IF(AB>0 AND AB-BA>0,B1,DRAWNULL),LINETHICK2,COLORRED;
     DRAWTEXT(ISLASTBAR,XD,'←--箱頂線'),COLORYELLOW;
     DRAWTEXT(ISLASTBAR,XY,'←--箱腰線'),COLORYELLOW;
     DRAWTEXT(ISLASTBAR,XDD,'←--箱低線'),COLORYELLOW;
     VARAA:=IF(CLOSE>150,91.3,0.913);
     ZYX1:="DMI.PDI"(12,6);
     ZYX2:="DMI.MDI"(12,6);
     ZYX3:=ZYX1>65 AND ZYX1>REF(ZYX1,1);
     ZYX4:=LLV(ZYX1,0);
     ZYX5:=BARSLAST(ZYX4=ZYX1);
     ZYX6:=(0-REF(ZYX2,4))/(ZYX4-REF(ZYX2,ZYX5))>2;
     ZYX7:=ZYX1>REF(ZYX1,1);
     ZYX8:=VOL>2*MA(VOL,30);
     ZYX9:="DMI.ADX"(12,6);
     ZYXA:="DMI.ADXR"(12,6);
     ZYXB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
     ZYXC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
     ZYXD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
     ZYXE:=0-"MACD.DIFF"(7,21,3);
     ZYXF:=TROUGHBARS(3,15,1)<4;
     ZYX10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
     ZYX11:=IF(ZYXF=1,50,0);
     ZYX12:=CROSS(ZYX2,ZYX1) AND CROSS(ZYXA,ZYX9);
     ZYX13:=CROSS(ZYX2,ZYX1) AND CROSS(ZYX9,ZYXA);
     ZYX14:=ZYXB AND ZYXC AND ZYXD AND ZYX10 AND ZYX6 AND ZYX7 AND ZYX8*50;
     ZYX15:=BARSLAST(CROSS(ZYX2,ZYX1)=1);
     ZYX16:=BARSLAST(CROSS(ZYX1,ZYX2)=1);
     ZYX17:=HHV(ZYX1,ZYX16);
     ZYX18:=BARSLAST(ZYX1=ZYX17);
     STICKLINE(FILTER(ZYXF=1,5),50,0,10,0),COLORRED;
     ZYX19:=ZYX3 OR ZYX12 OR ZYX13*100;
     ZYX1A:=ZYX13*100;
     DRAWICON(FILTER(ZYXF=1,3),L*0.96,23);
     DRAWTEXT(FILTER(ZYXF=1,3),L*0.94,'↖鐵底'),COLORGREEN;
     C6:=REF(C,1);
    ZT:=IF((C-C6)*100/C6>=(10-0.01*100/C6),1,0);
     STICKLINE(ZT,OPEN,CLOSE,1,0),COLORYELLOW;
     STICKLINE(ZT,H,L,0,0),COLORYELLOW;

     

  • 文華技術人員: 請稍候

 

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

可聯系技術人員 QQ: 1145508240  有需要幫忙請點擊這里留言!??!進行 有償 編寫!不貴!點擊查看價格!


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 亚洲欧美18v中文字幕高清 | 性欧美高清videofree | 最近更新2019中文字幕国语 | 免费观看欧美性一级 | 日本高清在线播放一区二区三区 | 成人黄网大全在线观看 | 日本资源站 | hd性videos意大利精品 | 高清人人天天夜夜曰狠狠狠狠 | 人人澡人人射 | 成人亚洲国产综合精品91 | 久久亚洲女同第一区 | 日韩成人免费 | jizzjizz亚洲女人 | 亚洲国产欧美在线 | 亚洲欧美综合 | 99精品国产第一福利网站 | 香蕉视频黄色片 | 国自产拍91大神精品 | 黄色网址网站在线观看 | 国产一及毛片 | 精品国产品欧美日产在线 | 成人精品一区二区三区中文字幕 | 欧美成人看片黄a免费 | www.av在线免费观看 | 亚洲 日本 欧美 日韩精品 | 日韩免费观看视频 | 91麻豆精品视频 | 秋霞影视伦理手机在线观看 | 有哪些免费的毛片可以看 | 2019偷偷狠狠的日日 | 欧美在线一区二区三区欧美 | 成人男女网免费 | 亚洲欧美一区二区三区在线观看 | 久久久网站亚洲第一 | 国产精品1| 日韩伦理亚洲欧美在线一区 | 国内精品小视频在线 | 91视频青青草 | 精品一区二区高清在线观看 | 色黄视频在线观看 |