《奉献一个自用的通达信公式(很准哟)》由会员分享,可在线阅读,更多相关《奉献一个自用的通达信公式(很准哟)(8页珍藏版)》请在金锄头文库上搜索。
1、奉献一个自用的通达信公式(很准哟)准确买卖(主图叠加)公式源码:N1:=13;VAR1:=REF(C,1);VAR2:=SMA(MAX(C-VAR1,0),N1,1)/SMA(ABS(C-VAR1),N1,1)*1000;VAR3:=DRAWLINE(VAR2=HHV(VAR2,N1),VAR2,VAR2=LLV(VAR2,N1),VAR2,1);VAR4:=VAR2=VAR3;VAR5:=VAR2=2099ANDMONTH2,0,1);VAR4S:=LLV(LOW,5);VAR5S:=HHV(HIGH,4);散户:二EMA(VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*
2、VAR3S;庄家:二EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3S;STICKLINE(KBDBANDDBREF(DB,1),C,OPEN,3.2,0),COLOR004400;STICKLINE(KBDBANDDBREF(DB,1),C,OPEN,2.7,0),COLOR006600;STICKLINE(KBDBANDDBREF(DB,1),C,OPEN,2.1,0),COLOR008800;STICKLINE(KBDBANDDBREF(DB,1),C,OPEN,1.5,0),COLOR00AA00;STICKLINE(KBDBANDDBREF(DB,1),C,O
3、PEN,0.9,0),COLOR00CC00;STICKLINE(KBDBANDDBDBANDDBREF(DB,1),C,OPEN,3.2,0),COLOR000055;STICKLINE(KBDBANDDBREF(DB,1),C,OPEN,2.7,0),COLOR000077;STICKLINE(KBDBANDDBREF(DB,1),C,OPEN,2.1,0),COLOR000099;STICKLINE(KBDBANDDBREF(DB,1),C,OPEN,1.5,0),COLOR0000BB;STICKLINE(KBDBANDDBREF(DB,1),C,OPEN,0.9,0),COLOR00
4、00DD;STICKLINE(KBDBANDDBREF(DB,1),C,OPEN,0.3,0),COLOR0000FF;STICKLINE(CROSS(VAR9,VAR10)J65,H,OPEN,3.15,0),COLORAA1100;STICKLINE(CROSS(VAR9,VAR10)J65,H,OPEN,2.45,0),COLORAA3300;ANDANDSTICKLINE(CROSS(VAR9,VAR10)ANDJ65,H,OPEN,1.75,0),COLORAA5500;STICKLINE(CROSS(VAR9,VAR10)ANDJ65,H,OPEN,1.05,0),COLORAA7
5、700;STICKLINE(CROSS(VAR9,VAR10)ANDJ65,H,OPEN,0.35,0),COLORAA9900;STICKLINE(VAR4ANDVAR5,L,OPEN,3.15,0),COLOR1111FF;STICKLINE(VAR4ANDVAR5,L,OPEN,2.45,0),COLOR3333FF;STICKLINE(VAR4ANDVAR5,L,OPEN,1.75,0),COLOR5555FF;STICKLINE(VAR4ANDVAR5,L,OPEN,1.05,0),COLOR7777FF;STICKLINE(VAR4ANDVAR5,L,OPEN,0.35,0),CO
6、LOR9999FF;STICKLINE(CROSS(散户,庄家)30,L,OPEN,3.15,0),COLOR770077;STICKLINE(CROSS(散户,庄家)30,L,OPEN,2.45,0),COLOR990099;STICKLINE(CROSS(散户,庄家)30,L,OPEN,1.75,0),COLORBB00BB;STICKLINE(CROSS(散户,庄家)30,L,OPEN,1.05,0),COLORDD00DD;STICKLINE(CROSS(散户,庄家)0.01KDJ.J0.01KDJ.J0.01KDJ.J0.01KDJ.J0.01KDJ.J65,H*1,15),COLO
7、RGREEN;DRAWTEXT(CROSS(VAR9,VAR10)ANDJ65,H*1,卖),COLORYELLOW;DRAWICON(VAR4ANDVAR5,L*1,9);DRAWTEXT(VAR4ANDVAR5,L*1,买)COLORFFFFFF;DRAWTEXT(CROSS(0.9,1/VOL*10000.01ANDKDJ.JO),L*1地量买点),COLOR33FFFF;B1:=MA(C,1);B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);SMA2:=MA(B2,3);停损下限:IF(LLV(MA(B2,8),3)B2,LLV(MA(B2,8),3),B2);IF
8、(B2SMA2,B2,DRAWNULL),COLORRED,LINETHICK4;IF(B2SMA2,B2,DRAWNULL),COLORGREEN,LINETHICK4;SNAKEA:HHV(MA(B2,1),13),COLORYELLOW;VAR1A:=(2*CLOSE+HIGH+LOW)/4;VAR2A:=MA(VAR1A,7);VAR3A:=VAR2A-MA(VAR1A,7/2)0;VAR4A:=VAR2A-MA(VAR1A,7/2)0;VAR5A:=BARSLAST(VAR3A);ANDVAR6A:=0-BARSLAST(VAR4A);VAR7A:=IF(VAR3A=0,VAR5A,
9、VAR6A);STICKLINE(SNAKEASMA2B2=REF(CLOSE,1)AND(CLOSE=REF(CLOSE,2);VARB:=(REF(VARA,1)AND(CLOSE=REF(CLOSE,2);VARC:=(REF(VARB,1)AND(CLOSE=REF(CLOSE,1)AND(CLOSE=REF(CLOSE,2);VARD:=(REF(VARC,1)AND(CLOSE=REF(CLOSE,2);VARE:=(CLOSEREF(CLOSE,1)AND(CLOSE=REF(CLOSE,1)AND(CLOSE=REF(CLOSE,1)AND(CLOSE=REF(CLOSE,2)
10、;VAR12:=(REF(VAR11,1)AND(CLOSE=REF(CLOSE,2);VAR13:=(REF(VAR12,1)AND(CLOSE=REF(CLOSE,1)AND(CLOSE=REF(CLOSE,2);VAR14:=(REF(VAR13,1)AND(CLOSE=REF(CLOSE,2);VAR15:=(REF(VAR14,1)AND(CLOSE=REF(CLOSE,1)AND(CLOSE=REF(CLOSE,2);VAR16:=(REF(VAR15,1)AND(CLOSE=REF(CLOSE,2);VAR17:=(REF(VAR16,1)AND(CLOSE=REF(CLOSE,1)AND(CLOSE=REF(CLOSE,2);VAR18:=(REF(VAR17,1)AND(CLOSE=REF(CLOSE,2);VAR19:=(REF(VAR18,1)AND(CLOSE=REF(CLOSE,1)AND(CLOSE=REF(CLOSE,2);VAR1B:=(REF(VAREORVARF)ORVAR10)ORVAR11)ORVAR12)ORVAR1