km009 發表於 12-5-17 19:01

[HTS]請好心人幫忙,如何在高低點連線呢(附程式碼)?

小弟是菜鳥,請幫幫我吧{:4_154:}

Parameter: RHStren(1), RLStren(1), Decimal(2)

variables: TxtView(0)



If SwingHighPoint( High, RHStren) Then
       
        TxtView = TXT_New( Date, Time, High,
               
                RightStr(cDate(Date),5) + "|n" + NumToStr(High, Decimal))
       
        TXT_SetStyle( TxtView, 2, 1 )
       

ElseIf SwingLowPoint( Low, RLStren) Then
       
        TxtView = TXT_New( Date, Time, Low,
               
                NumToStr(Low, Decimal) + "|n" + RightStr(cDate(Date),5))
       
        TXT_SetStyle( TxtView, 2, 0 )


End if
頁: [1]
查看完整版本: [HTS]請好心人幫忙,如何在高低點連線呢(附程式碼)?