大大您好
1.請問...用於保護策略的用戶編號,是要看每臺電腦的那里
2.請問...要鎖定策略的使用K棒周期的函數是???
3.請問...如要在做多時的K棒都變紅色,做空時的K棒都變綠色,做空手時的K棒都變藍色,這樣的程式要如何寫??
感謝您的協助!
1.請問...用於保護策略的用戶編號,是要看每臺電腦的那里
MC -> 說明 -> 關於 multicharts -> 用戶編號
2.請問...要鎖定策略的使用K棒周期的函數是???
barinterval 及 bartype
3.請問...如要在做多時的K棒都變紅色,做空時的K棒都變綠色,做空手時的K棒都變藍色,這樣的程式要如何寫??
if marketposition = 1 then begin value1 = red; end else if marketposition = -1 then begin value1 = green; end else begin value1 = blue; end; PlotPB(H,L,O,C,"",value1);
感謝您那麼快的回應我,真是太好了...下次找您一起吃飯!
我來用用看...
1.用戶編號...OK了...好用
2.周期...正在測試
3.K棒變色...目前出現下列錯誤
------ 編譯時產生錯誤: ------
syntax error, unexpected 'if', expecting ';'
errLine 56, errColumn 0, errLineEnd 56, errColumnEnd 0
感謝您那麼快的回應我,真是太好了...下次找您一起吃飯!
我來用用看...
1.用戶編號...OK了...好用
2.周期...正在測試
3.K棒變色...目前出現下列錯誤
------ 編譯時產生錯誤: ------
syntax error, unexpected 'if', expecting ';'
errLine 56, errColumn 0, errLineEnd 56, errColumnEnd 0
您好...使用回報..
1.用戶編號...OK了...好用
2.周期....... OK了...好用
3.K棒變色...改了....結果出現下列錯誤
請您幫我看看那錯了,感謝了!
value3=average(close,20);
If close>value3 and close[1]<value3[1] Then Begin
Buy next bar at market;
End;
If close<value3 and close[1]>value3[1] Then Begin
Sellshort next bar at market;
End;
if i_marketposition = 1 then begin
value1 = red;
end else i_marketposition = -1 then begin
value1 = green;
end else begin
value1 = blue;
end;
PlotPB(H,L,O,C,"",value1);
請稍候 ....
------ 編譯時產生錯誤: ------
assignment is allowed only for variables or array elements
errLine 14, errColumn 9, errLineEnd 14, errColumnEnd 9
編譯錯誤: (函數)
您好...使用回報..
1.用戶編號...OK了...好用
2.周期....... OK了...好用
3.K棒變色...改了....結果出現下列錯誤
請您幫我看看那錯了,感謝了!
value3=average(close,20);
If close>value3 and close[1]<value3[1] Then Begin
Buy next bar at market;
End;
If close<value3 and close[1]>value3[1] Then Begin
Sellshort next bar at market;
End;
if i_marketposition = 1 then begin
value1 = red;
end else i_marketposition = -1 then begin
value1 = green;
end else begin
value1 = blue;
end;
PlotPB(H,L,O,C,"",value1);
請稍候 ....
------ 編譯時產生錯誤: ------
assignment is allowed only for variables or array elements
errLine 14, errColumn 9, errLineEnd 14, errColumnEnd 9
編譯錯誤: (函數)