|
santienchang
資深會員
註冊日期: May 2011
來 自: 台中
文章數量: 164 |
引用: 最初由 cgjj 發表
是 12:51 吧,不是 12:09,範例如下:
DESP:=barslast(Tradedate<>ref(Tradedate,1));
StPos:=datacount-DESP[datacount]-210;
StSp:=barslast(barpos=StPos);
SplitNum:=81;
KSt:=mod(StSp,SplitNum)=0;
KEd:=refx(KSt,1) or barpos=datacount;
KSP:=BARSLAST(KSt);
KO:ref(O,KSP) LINETHICK0 colormagenta;
KH:HHV(H,KSP+1) LINETHICK0 colormagenta;
KH:=SETVAL(KEd,KH,-KSP,KH);
KL:LLV(L,KSP+1) LINETHICK0 colormagenta;
KL:=SETVAL(KEd,KL,-KSP,KL);
KC:SETVAL(KEd,C,-KSP,C) LINETHICK0 colormagenta;
SpD2:=FLOOR(KSp/2);
行1:未定義標示符??
太棒了!!可是4年級生.不知如何使用?請指教謝謝!
MV:=SETVAL(KEd,0,-SpD2,barpos-SpD2);
MV:=barpos=MV;
PKM:=KSp>0;
PKMV:=PKM and MV;
PKLV:=KSt and Not(KEd);
PKRV:=PKM and KEd;
PARTLINE(PKM,KO) colorwhite;
PARTLINE(PKM,KC) colorwhite;
STICKLINE(PKMV,KH,MAX(KC,KO),0,0) colorwhite;
STICKLINE(PKMV,KL,MIN(KC,KO),0,0) colorwhite;
STICKLINE(PKLV,KC,KO,0,0) colorwhite;
STICKLINE(PKRV,KC,KO,0,0) colorwhite;
|
|
向版主報告此篇 | |
|
2018-06-21 13:27 |
|
|
| |
|
santienchang
資深會員
註冊日期: May 2011
來 自: 台中
文章數量: 164 |
改了?? 我是 V5.0.91329版.有勞您謝謝!
行:26語法錯誤?
畫柱線(PKRV,KC,KO,0,0) colorwhite;<>向前引用(edate,1));
|
|
向版主報告此篇 | |
|
2018-06-21 14:46 |
|
|
| |
|
santienchang
資深會員
註冊日期: May 2011
來 自: 台中
文章數量: 164 |
測試OK! (收盤在開盤之上顯"紅K")
(收盤在開盤之下顯"綠K")
請協助即完成!.謝謝您!!
|
|
向版主報告此篇 | |
|
2018-06-22 10:50 |
|
|
| |
|
cgjj
總版主
註冊日期: Oct 2003
來 自:
文章數量: 17600 |
引用: 最初由 santienchang 發表
測試OK! (收盤在開盤之上顯"紅K")
(收盤在開盤之下顯"綠K")
請協助即完成!.謝謝您!!
將
PARTLINE(PKM,KO) colorwhite;
PARTLINE(PKM,KC) colorwhite;
STICKLINE(PKMV,KH,MAX(KC,KO),0,0) colorwhite;
STICKLINE(PKMV,KL,MIN(KC,KO),0,0) colorwhite;
STICKLINE(PKLV,KC,KO,0,0) colorwhite;
STICKLINE(PKRV,KC,KO,0,0) colorwhite;
改為
RK:=KC>KO;
PARTLINE(PKM and RK=1,KO) colorred;
PARTLINE(PKM and RK=1,KC) colorred;
STICKLINE(PKMV and RK=1,KH,MAX(KC,KO),0,0) colorred;
STICKLINE(PKMV and RK=1,KL,MIN(KC,KO),0,0) colorred;
STICKLINE(PKLV and RK=1,KC,KO,0,0) colorred;
STICKLINE(PKRV and RK=1,KC,KO,0,0) colorred;
PARTLINE(PKM and RK=0,KO) colorgreen;
PARTLINE(PKM and RK=0,KC) colorgreen;
STICKLINE(PKMV and RK=0,KH,MAX(KC,KO),0,0) colorgreen;
STICKLINE(PKMV and RK=0,KL,MIN(KC,KO),0,0) colorgreen;
STICKLINE(PKLV and RK=0,KC,KO,0,0) colorgreen;
STICKLINE(PKRV and RK=0,KC,KO,0,0) colorgreen;
|
|
向版主報告此篇 | |
|
2018-06-22 12:05 |
|
|
| |
本站所有內容未經作者授權禁止轉貼節錄, 發表言論僅供參考勿作為投資決策依據。瀏覽本站請使用 IE 5.5 以上版本, 最佳瀏覽解析度 1024 x 768 全彩。
|
Powered by: vBulletin Version 2.3.0 - Copyright©2000-, Jelsoft Enterprises Limited.
簡愛洋行 製作 Copyright 2003-. All Rights Reserved. 聯絡我們
|