黄金趋势
2015-1-20 14:02:33点击:
SVAR0:=20 ;
SVAR1:=7 ;
SVAR2:=49 ;
SVAR3:=(CLOSE + HIGH + LOW) / 3 ;
SVAR4:=EMA(SVAR3,10) ;
SVAR5:=REF(SVAR4,1) ;
上涨趋势:IF(SVAR4 > SVAR5,SVAR4,0),POINTDOT,nodraw,COLOR00FFFF ;
下跌趋势:IF(SVAR4 < SVAR5,SVAR5,0),POINTDOT,nodraw,COLORFF0000 ;
SVAR6:=EMA(CLOSE,5) ;
SVAR7:=EMA(CLOSE,8) ;
SVAR8:=EMA(SVAR7,10) ;
SVAR9:=EMA(SVAR7,55) ;
SVAR10:=EMA(SVAR8,55) ;
SVAR11:=EMA(SVAR9,81) ;
SVAR12:=EMA(SVAR10,144) ;
SVAR13:=(REF(HIGH,1) + REF(LOW,1)) / 2 ;
SVAR14:=MA(CLOSE,SVAR0) + 2 * STD(CLOSE,SVAR0) ;
SVAR15:=REF(CLOSE,1) ;
SVAR16:=SMA(MAX(CLOSE - SVAR15,0),SVAR1,1) / SMA(ABS(CLOSE - SVAR15),SVAR1,1) * 100 ;
SVAR17:=CROSS(SVAR2,SVAR16) ;
SVAR18:=FILTER(SVAR17,4) ;
SVAR19:=(2 * CLOSE + HIGH + LOW) / 4 ;
SVAR20:=LLV(LOW,34) ;
SVAR21:=HHV(HIGH,34) ;
SVAR22:=EMA((SVAR19 - SVAR10) / (SVAR13 - SVAR10) * 100,7) ;
SVAR23:=EMA(0.667 * REF(SVAR22,1) + 0.333 * SVAR22,5) ;
PARTLINE(SVAR4,SVAR4 > SVAR5,RGB(255,255,0)),POINTDOT,LINETHICK5,COLOR00FFFF ;
PARTLINE(SVAR5,SVAR4 < SVAR5,RGB(0,0,255)),POINTDOT,LINETHICK5,COLOR00FFFF ;