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

奇狐社區論壇 (http://www.chiefox.com.tw/bbs/index.php)
- 問題交流 (http://www.chiefox.com.tw/bbs/forumdisplay.php?forumid=28)
-- 分線週期副圖如何引用長週期KD (http://www.chiefox.com.tw/bbs/showthread.php?threadid=21218)


由 lucky888 在 2018-01-02 23:31 發表:

分線週期副圖如何引用長週期KD

版主您好,

我想在分線週期引用長週期KD,公式如下,不知為何無法執行!
請您幫忙修正! 謝謝!

if datatype=1 then begin //1分vs5分
5分K:Stkindi('','KD.K(9,3,3)',0,2),ColorRed;
5分D:Stkindi('','KD.D(9,3,3)',0,2),ColorBlue;

end else if datatype=2 then begin //5分vs15分
15分K:Stkindi('','KD.K(9,3,3)',0,3),ColorRed;
15分D:Stkindi('','KD.D(9,3,3)',0,3),ColorBlue;

end else if datatype=3 then begin //15分vs60分
60分K:Stkindi('','KD.K(9,3,3)',0,5),ColorRed;
60分D:Stkindi('','KD.D(9,3,3)',0,5),ColorBlue;

end;

謝謝版主協助!


由 cgjj 在 2018-01-03 00:02 發表:

回覆: 分線週期副圖如何引用長週期KD

引用:
最初由 lucky888 發表
版主您好,

我想在分線週期引用長週期KD,公式如下,不知為何無法執行!
請您幫忙修正! 謝謝!

if datatype=1 then begin //1分vs5分
5分K:Stkindi('','KD.K(9,3,3)',0,2),ColorRed;
5分D:Stkindi('','KD.D(9,3,3)',0,2),ColorBlue;

end else if datatype=2 then begin //5分vs15分
15分K:Stkindi('','KD.K(9,3,3)',0,3),ColorRed;
15分D:Stkindi('','KD.D(9,3,3)',0,3),ColorBlue;

end else if datatype=3 then begin //15分vs60分
60分K:Stkindi('','KD.K(9,3,3)',0,5),ColorRed;
60分D:Stkindi('','KD.D(9,3,3)',0,5),ColorBlue;

end;

謝謝版主協助!



變數名稱首字不可為數字


由 lucky888 在 2018-01-03 00:54 發表:

謝謝版主提示!無限感恩!


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


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

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