Variables:JJ(0),AA(0),B(0),TxtView(0)
JJ=(CLOSE+HIGH+LOW)/3
AA=EMA(JJ,10)
B=AA[1]
IF AA>B THEN
DRAWBAR1(AA,B,AA,B,"多空",YELLOW,YELLOW,1)
END IF
IF AA[1]<B[1] THEN
IF AA>B then
TxtView = TXT_New( Date, Time,H + 50 Points,
NumToStr(Low,2) + "|n")
TXT_SetStyle( TxtView, 2, 2 )
TXT_SetColor( TxtView, Blue )
End IF
End IF
IF AA<B then
DRAWBAR1(AA,B,AA,B,"多空",blue,blue)
End IF
IF AA[1]>B[1] THEN
IF AA<B then
TxtView = TXT_New( Date, Time,L - 50 Points,
NumToStr(Low,2) + "|n")
TXT_SetStyle( TxtView, 2, 2 )
TXT_SetColor( TxtView, RED )
End IF
End IF
原概念出處已無可考
沒有留言:
張貼留言