奇狐社區論壇
在這個頁面顯示本主題全部的 1 個文章

奇狐社區論壇 (http://www.chiefox.com.tw/bbs/index.php)
- 基礎教學 (http://www.chiefox.com.tw/bbs/forumdisplay.php?forumid=27)
-- 內建什麼週期跑什麼語句、跑什麼指標。 (http://www.chiefox.com.tw/bbs/showthread.php?threadid=6660)


由 冰河列車 在 2006-12-20 18:52 發表:

內鍵什麼週期跑什麼語句、跑什麼指標。

喜歡什麼週期看什麼指標,即可用此法方將之都集結,寫成一個就好

最新更正原碼


原碼:

ma1
:MA(C,13);

mb1:c*0;
mb2:c*0;
mb3:c*0;
mc1:c*0;
mc2:c*0;
:c*0;
:c*0;
:c*0;
:c*0;
:c*0;

If  
DATATYPE=2  then begin 
  mb1
:=MA(C,89);
  
mb2:=MA(C,144);
  
mb3:=MA(C,233);
end;
If  
DATATYPE=3  then begin
  mc1
:=MA(C,33);
  
mc2:=MA(C,55);
end;
If  
DATATYPE=4  then begin
  中
:=MA(C,13);
  
:=+2*STDP(C,13);
  
:=+STDP(C,13);
  
:=-STDP(C,13);
  
:=-2*STDP(C,13);
end;

If  
DATATYPE<>2 then begin
  x
:=SETLBOUND(mb1,0);
  
x:=SETLBOUND(mb2,0);
  
x:=SETLBOUND(mb3,0);
end;
If  
DATATYPE<>3 then begin
  x
:=SETLBOUND(mc1,0);
  
x:=SETLBOUND(mc2,0);
end;
If  
DATATYPE<>4  then begin
  x
:=SETLBOUND(,0);
  
x:=SETLBOUND(,0);
  
x:=SETLBOUND(,0);
  
x:=SETLBOUND(,0);
  
x:=SETLBOUND(,0);
end;


全部時間均為台灣時間, 現在時間為07:14
在這個頁面顯示本主題全部的 1 個文章


Powered by: vBulletin Version 2.3.0 - Copyright©2000-, Jelsoft Enterprises Limited.

簡愛洋行 製作 Copyright 2003-. All Rights Reserved.