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
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
沒有留言:
張貼留言