 |
lucky888
初級會員
註冊日期: Feb 2013
來 自:
文章數量: 16 |
分線週期副圖如何引用長週期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;
謝謝版主協助!
lucky888 附帶上了此圖片:
|
|
向版主報告此篇 |  |
|
2018-01-02 23:31 |
|
|
|  |
 |
cgjj
總版主

註冊日期: Oct 2003
來 自:
文章數量: 18121 |
回覆: 分線週期副圖如何引用長週期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;
謝謝版主協助!
變數名稱首字不可為數字
|
|
向版主報告此篇 |  |
|
2018-01-03 00:02 |
|
|
|  |
本站所有內容未經作者授權禁止轉貼節錄, 發表言論僅供參考勿作為投資決策依據。瀏覽本站請使用 IE 5.5 以上版本, 最佳瀏覽解析度 1024 x 768 全彩。
|
Powered by: vBulletin Version 2.3.0 - Copyright©2000-, Jelsoft Enterprises Limited.
簡愛洋行 製作 Copyright 2003-. All Rights Reserved. 聯絡我們
|