斋主MACD通道(成本区、波段底)指标公式源码35449.docx
《斋主MACD通道(成本区、波段底)指标公式源码35449.docx》由会员分享,可在线阅读,更多相关《斋主MACD通道(成本区、波段底)指标公式源码35449.docx(17页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、【通达信】斋斋主MACCD通道(成成本区、波波段底、加加仓)-指指标公式源源码DIF:=EMA(CLOSSE,600)-EMMA(CLLOSE,130);DEA:=EMA(DIF,45);MACD:=(DIIF-DEEA)*22,COLLORSTTICK;MACDDRC:=DDYNAIINFO(3)*11.1;DK:=MMACD*2;STICKKLINEE(DK0 ANND DKKREFF(DK,11),DKK+RC,RC,00.05,1),CCOLORRLIBLUUE;STICKKLINEE(DKREFF(DK,11),DKK+RC,RC,00.05,1),CCOLORRWHITTE;STI
2、CKKLINEE(DKREF(DK,11) ANND DK0,DK+RRC,RCC,0.005,1),COLLORREED;STICKKLINEE(DK0,DK+RRC,RCC,0.005,1),COLLOR000FF000;VAR4SS:=(22*CLOOSE+HHIGH+LOW)/4;成本区:EEMA(VVAR4SS,90)*0.9995,COLOORYELLOWW,POIINTDOOTCIRCCLEDOOT;GJZ:=(C+HH+L+OO)/4;阻Z:=LL+(GJJZ-L)+(C-L);支Z:=LL+(C-GJZ);NN:=1100;高点:=CCONSTT(HHVV(H,NNN);低点
3、:=CCONSTT(LLVV(L,NNN);明日阻力:=L+(GJZ-L)+(C-L);明日支撑:=L+(C-GJJZ);明日阻力22:=L+2*(GGJZ-LL)+(CC-L);明日支撑22:=L+(C-GGJZ)-(GJZZ-L);今日阻力:=CONNST(RREF(明明日阻力 , 1),NOODRAWW;今日支撑:=CONNST(RREF(明明日支撑 , 1),NOODRAWW;今日阻力22:=COONST(REF(明日阻力力2 , 1),NODRRAW;今日支撑22:=COONST(REF(明日支撑撑2 , 1),NODRRAW;STICKKLINEE(ISLLASTBBAR,今今日阻
4、力,今日阻力力2,20,0),CCOLORRGRAYY;STICKKLINEE(ISLLASTBBAR,今今日支撑,今日支撑撑2,20,0),CCOLORRGRAYY;MA60:=MA(CLOSSE,600),COOLORCCYAN,LINEETHICCK2;MA1200:=MAA(CLOOSE,1120),COLOORCYAAN,LIINETHHICK22;LC:=RREF(CCLOSEE,1); VAR288Z:=SSMA(MMAX(CCLOSEE-LC,0),55.5,11)/SMMA(ABBS(CLLOSE-LC),66,1)*100;VARA000:=(AMOOUNT)/(VOOL)
5、/(1000);VARABB00:=(3)*(HIIGH)+LOW+OPENN+(2)*(CLLOSE)/(77);VARACC00:=(SUUM(AMMOUNTT,7)/(VAARA000)/(100);VARD00:=DMMA(VAARAB000,(VVOL)/(VARRAC000);VARDEE0:=(CLOOSE-VVARD00)/(VVARD00)*(100);VARDEE0F:=(CLLOSE-LLV(LOW,34)/(HHHV(HIIGH,334)-LLLV(LOW,34)*(1100);VARDEE0JF:=MA(VARDDE0,220)+SSTD(VVARDEE0,200);
6、BIAS118:=(CLOOSE-MMA(CLLOSE,18)/(MAA(CLOOSE,118)*(100);AA:=SSMA(VVARDEE0F,33,1);SS:=(REF(BIASS18,11)=55) ANND CRROSS(VARDDE0JFF,VARRDE0) AND (AA779);中轨:=MMA(CLLOSE,34)NNODRAAW;上轨:=中中轨*1.06188,CIRRCLEDDOT,CCOLORRFF66600;下轨:=中中轨*0.89,CCIRCLLEDOTT,COLLOR6CC6CFFF;顶轨:=中中轨*1.191,COLOORGREEEN;底轨:=中中轨*0.809
7、,COLOORYELLLOW;DRAWBBAND(中轨,RRGB(2250,1150,00),REEF(中轨轨,2),RGB(00,550,2000);DRAWBBAND(顶轨,RRGB(2200,550,511),REEF(顶轨轨*1.0005,11),RGGB(0,1660,1000);DRAWBBAND(底轨,RRGB(2200,550,511),REEF(底轨轨*0.9995,11),RGGB(0,1660,1000);DRAWBBAND(上轨,RRGB(660,600,0),上轨*11.0055,RGBB(50,1100,660);DRAWBBAND(下轨,RRGB(550,1000
8、,600),下轨轨*0.9995,RRGB(60,660,0);VA1:=CLOSSEREEF(CLOSEE,1) AND CLOSSEREEF(CLLOSE,2); VA2:=REF(VA1,1) AAND CCLOSEE=REEF(CLLOSE,2); VA3:=REF(VA2,1) AAND CCLOSEE=REEF(CLLOSE,1) AAND CLOSEE=REEF(CLLOSE,2); VA4:=REF(VA3,1) AAND CCLOSEE=REEF(CLLOSE,2); VA5:=REF(VA4,1) AAND CCLOSEE=REEF(CLLOSE,1) AAND CLOSE
9、E=REEF(CLLOSE,2); VA6:=REF(VA5,1) AAND CCLOSEE=REEF(CLLOSE,2); VA7:=REF(VA6,1) AAND CCLOSEE=REEF(CLLOSE,1) AAND CLOSEE=REEF(CLLOSE,2); VA8:=REF(VA7,1) AAND CCLOSEE=REEF(CLLOSE,2); VA9:=REF(VA8,1) AAND CCLOSEE=REEF(CLLOSE,1) AAND CLOSEE=REEF(CLLOSE,2); VAA:=REF(VA9,1) AAND CCLOSEE=REEF(CLLOSE,2); VAB
10、:=REF(VAA,1) AAND CCLOSEE=REEF(CLLOSE,1) AAND CLOSEE=REEF(CLLOSE,2); VAC:=REF(VAB,1) AAND CCLOSEE=REEF(CLLOSE,2); STICKKLINEE(VA11 OR VA2 OR VVA3 OOR VAA4 ORR VA55 OR VA6 OR VA7 OOR VAA8 ORR VA99 OR VAA OR VVAB OOR VAAC,CLLOSE,REF(CLOSSE,1),3,00),COOLORRRED;VAD:=CLOSSEREEF(CLLOSE,1) AAND CCLOSEE=REE
11、F(CLLOSE,1) AAND CLOSEE=REEF(CLLOSE,2); VAF:=REF(VAE,1) AAND CCLOSEE=REEF(CLLOSE,2); VA10:=REFF(VAFF,1) AND CLOSSE=RREF(CCLOSEE,1) AND CLOSEE=REEF(CLLOSE,2); VA11:=REFF(VA110,1) ANDD CLOOSE=REEF(CLLOSE,2); VA12:=REFF(VA111,1) ANDD CLOOSE=REF(CLOSSE,1) ANDD CLOSEE=REEF(CLLOSE,2); VA13:=REFF(VA112,1)
12、ANDD CLOOSE=REEF(CLLOSE,2); VA14:=REFF(VA113,1) ANDD CLOOSE=REF(CLOSSE,1) ANDD CLOSEE=REEF(CLLOSE,2); VA15:=REFF(VA114,1) ANDD CLOOSE=REEF(CLLOSE,2); VA16:=REFF(VA115,1) ANDD CLOOSE=REF(CLOSSE,1) ANDD CLOSEE=REEF(CLLOSE,2); VA17:=REFF(VA116,1) ANDD CLOOSE=REEF(CLLOSE,2); VA18:=REFF(VA117,1) ANDD CLO
13、OSE=REF(CLOSSE,1) ANDD CLOSEE=REEF(CLLOSE,2); STICKKLINEE(VADD OR VAE OR VVAF OOR VAA10 OOR VAA11 OOR VAA12 OR VAA13 OOR VAA14 OOR VAA15 OOR VAA16 OOR VAA17 OOR VA18,CLOSSE,REEF(CLLOSE,1),33,0),COLOORLIBBLUE; VA19:=REFF(VADD OR VAE OR VVAF OOR VAA10 OOR VAA11 OOR VAA12 OR VAA13 OOR VAA14 OOR VAA15 O
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 斋主 MACD 通道 本区 波段 指标 公式 源码 35449
限制150内