六彩神龍全套指標源碼 {趨勢階段主圖源碼} JJ:=(CLOSE+HIGH+LOW)/3; A:=EMA(JJ,13); B:=REF(A,1); M1:=EMA(CLOSE,3); M2:=EMA(CLOSE,8); M3:=EMA(M2,13); M4:EMA(M2,55); 持股區(qū)域:STICKLINE(A>B,A,B,2,0),COLORRED; 持幣區(qū)域:STICKLINE(A<B,A,B,2,0),COLORGREEN; {背離王幅圖源碼} A1:=FORCAST(EMA(CLOSE,5),6); A2:=FORCAST(EMA(CLOSE,8),6); A3:=FORCAST(EMA(CLOSE,11),6); A4:=FORCAST(EMA(CLOSE,14),6); A5:=FORCAST(EMA(CLOSE,17),6); B:=A1+A2+A3+A4-4*A5; TOWERC:=EMA(B,2); FORCAST(EMA(B,3),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,4),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,5),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,6),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,7),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,8),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,9),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,10),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,11),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,12),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,13),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,14),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,15),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,16),6),POINTDOT,COLORGREEN; FORCAST(EMA(B,17),6),POINTDOT,COLORGREEN; STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,REF(TOWERC,1),3,0),COLORRED; STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,REF(TOWERC,1),3,0),COLORGREEN; STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,REF(TOWERC,1),3,0),COLORRED; STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,REF(TOWERC,1),3,0),COLORRED; STICKLINE(TOWERC>=REF(TOWERC,1),TOWERC,REF(TOWERC,1),0,0),COLORRED; STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,REF(TOWERC,1),3,0),COLORGREEN; STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,REF(TOWERC,1),3,0),COLORGREEN; STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,REF(TOWERC,1),2,0),COLORGREEN; STICKLINE(TOWERC<REF(TOWERC,1),TOWERC,REF(TOWERC,1),0,0),COLORGREEN; 0,POINTDOT; {六彩神龍副圖} M:=13;N:=30; A01:=(C+O+L+H)/4; A02:=(WINNER((A01 * 1.04)) * 100.000); A03:=(WINNER((A01 * 0.96)) * 100.000); A04:A03,NODRAW; A08:A02-A03,NODRAW; A06:( 100.000 - A02),NODRAW; STICKLINE( 1.000,0,A04, 2,0),COLORRED; STICKLINE( 1.000, 100.000,A02, 2,0),COLORGREEN; STICKLINE( 1.000,A04,(100-A06), 2,0),COLORYELLOW; A0A:=(((((HHV(A04, 15.000) - A03) / A03) * 100.000) > N) AND (HHV(A04, 15.000) > 50.000)); STICKLINE(A0A,(0 - 2.000), 2.000, 4,0),COLORYELLOW; STICKLINE(NOT(A0A),(0 - 2.000), 2.000, 4,0),COLORMAGENTA; 獲利:MA(A03,M),COLORMAGENTA,LINETHICK3; 浮動: (MA(A02,M) - MA(A03,M))COLORWHITE,LINETHICK3; 套牢: (100.000 - MA(A02,M)),COLORGREEN,LINETHICK3; 注意:篇幅有限源碼較多,剩下源碼→→【全套源碼】箭頭 |
|
來自: 昵稱66885806 > 《通達信指標》