《HTS程式交易教學》累積擺動指標>買賣訊號範例[免費訊號教學]

Parameter: LimitPercent( 15 )
1.系統平台僅供參考,投資人仍需自行判斷負責,本人不負任何法律責任。
2.任何參數請客戶自行設定,本人僅提供介面語法操作說明
3.實際可交易商品相關資訊請以主管機關公告為限。
If DataCompression < 2 Then
If LastBarOnChart = True Then
// Print( Date, Time, Value1)

//Draw1(Close)
//Txt_New( Date[40], Time[40], Close[40], "No........ in IntraDay Chart" )

End If

Else
//Draw1( AccumSwingIndex( LimitPercent), "AccumSI")
//Draw2( 0, "BaseLine", LightGray)
if AccumSwingIndex( LimitPercent) cross over average(AccumSwingIndex( LimitPercent), LimitPercent*5) then
buy("多單") next bar at market
end if
if AccumSwingIndex( LimitPercent) cross below average(AccumSwingIndex( LimitPercent), LimitPercent*5) then
Sell("空單") next bar at market
end if


End If

沒有留言:

張貼留言

《HTS程式交易教學》[教學信號]KD買賣訊號範例[免費訊號教學]

Parameters : HighLowTerm(9), kLength(3), dLength(3), OverSold(20), OverBought(80) variables:value(0),value2(0); 1.系統平台僅供參考,投資人仍需自行判斷負責,本人...