Parameter: Length(21)
1.系統平台僅供參考,投資人仍需自行判斷負責,本人不負任何法律責任。
2.任何參數請客戶自行設定,本人僅提供介面語法操作說明
3.實際可交易商品相關資訊請以主管機關公告為限。
If (High - Low) <> 0 Then
Value1 = ((Close - Low) - (High - Close)) / (High - Low) * Volume
Else
Value1 = 0
End If
Value2 = Sum( Value1, Length) / Sum( Volume, Length) * 100
if Value2 cross over MAFC(Value2,Length) then
buy("買進")next bar at market
end if
if value2 cross below Mafc(Value2,Length) then
Sell("賣出")next bar at market
end if
1.系統平台僅供參考,投資人仍需自行判斷負責,本人不負任何法律責任。
2.任何參數請客戶自行設定,本人僅提供介面語法操作說明
3.實際可交易商品相關資訊請以主管機關公告為限。
If (High - Low) <> 0 Then
Value1 = ((Close - Low) - (High - Close)) / (High - Low) * Volume
Else
Value1 = 0
End If
Value2 = Sum( Value1, Length) / Sum( Volume, Length) * 100
if Value2 cross over MAFC(Value2,Length) then
buy("買進")next bar at market
end if
if value2 cross below Mafc(Value2,Length) then
Sell("賣出")next bar at market
end if
沒有留言:
張貼留言