 |
santienchang
資深會員
註冊日期: May 2011
來 自: 台中
文章數量: 164 |
[求救]Heiken Ashi
ClosePrice:=IF(BARSCOUNT(CLOSE)=1 , (OPEN+HIGH+LOW+CLOSE)/4 , CLOSE);
OpenPrice:=IF(BARSCOUNT(CLOSE)=1 , (OPEN+CLOSE)/2 , SMA(REF(ClosePrice,1),2,1));
HighPrice:=HIGH;
LowPrice:=LOW;
STICKLINE( OpenPrice<ClosePrice , HighPrice , LowPrice , 0.1 , 0 ) , ColorRed ;
STICKLINE( OpenPrice<ClosePrice , ClosePrice , OpenPrice, 7 , 1 ) , ColorRed ;
STICKLINE( OpenPrice>ClosePrice , HighPrice , LowPrice , 0.1 , 0 ) , ColorCyan ;
STICKLINE( OpenPrice>ClosePrice , ClosePrice , OpenPrice , 7 , 0 ) , ColorCyan ;
STICKLINE( OpenPrice=ClosePrice and ClosePrice>=REF( ClosePrice , 1 ) , HighPrice , LowPrice , 0.1 , 0 ) , ColorRed ;
STICKLINE( OpenPrice=ClosePrice and ClosePrice>=REF( ClosePrice , 1 ) , ClosePrice , OpenPrice , 7 , 0 ) , ColorRed ;
STICKLINE( OpenPrice=ClosePrice and ClosePrice<REF( ClosePrice , 1 ) , HighPrice , LowPrice , 0.1 , 0 ) , ColorCyan ;
STICKLINE( OpenPrice=ClosePrice and ClosePrice<REF( ClosePrice , 1 ) , ClosePrice , OpenPrice , 7 , 0 ) , ColorCyan ;
STICKLINE( OpenPrice=ClosePrice and BARSCOUNT(CLOSE) , HighPrice, LowPrice, 0.1, 0 ) , ColorRed ;
STICKLINE( OpenPrice=ClosePrice and BARSCOUNT(CLOSE) , OpenPrice , ClosePrice , 7 , 0 ) , ColorRed ;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
可以在多分鐘大於300例如345分一根K
線完成?(從昨天13:00後一直到今收盤
完成一支K線.每天都這樣?)
謝謝總板主.
|
|
向版主報告此篇 |  |
|
2017-06-05 13:57 |
|
|
|  |
 |
cgjj
總版主

註冊日期: Oct 2003
來 自:
文章數量: 18163 |
回覆: [求救]Heiken Ashi
引用: 最初由 santienchang 發表
ClosePrice:=IF(BARSCOUNT(CLOSE)=1 , (OPEN+HIGH+LOW+CLOSE)/4 , CLOSE);
OpenPrice:=IF(BARSCOUNT(CLOSE)=1 , (OPEN+CLOSE)/2 , SMA(REF(ClosePrice,1),2,1));
HighPrice:=HIGH;
LowPrice:=LOW;
STICKLINE( OpenPrice<ClosePrice , HighPrice , LowPrice , 0.1 , 0 ) , ColorRed ;
STICKLINE( OpenPrice<ClosePrice , ClosePrice , OpenPrice, 7 , 1 ) , ColorRed ;
STICKLINE( OpenPrice>ClosePrice , HighPrice , LowPrice , 0.1 , 0 ) , ColorCyan ;
STICKLINE( OpenPrice>ClosePrice , ClosePrice , OpenPrice , 7 , 0 ) , ColorCyan ;
STICKLINE( OpenPrice=ClosePrice and ClosePrice>=REF( ClosePrice , 1 ) , HighPrice , LowPrice , 0.1 , 0 ) , ColorRed ;
STICKLINE( OpenPrice=ClosePrice and ClosePrice>=REF( ClosePrice , 1 ) , ClosePrice , OpenPrice , 7 , 0 ) , ColorRed ;
STICKLINE( OpenPrice=ClosePrice and ClosePrice<REF( ClosePrice , 1 ) , HighPrice , LowPrice , 0.1 , 0 ) , ColorCyan ;
STICKLINE( OpenPrice=ClosePrice and ClosePrice<REF( ClosePrice , 1 ) , ClosePrice , OpenPrice , 7 , 0 ) , ColorCyan ;
STICKLINE( OpenPrice=ClosePrice and BARSCOUNT(CLOSE) , HighPrice, LowPrice, 0.1, 0 ) , ColorRed ;
STICKLINE( OpenPrice=ClosePrice and BARSCOUNT(CLOSE) , OpenPrice , ClosePrice , 7 , 0 ) , ColorRed ;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
可以在多分鐘大於300例如345分一根K
線完成?(從昨天13:00後一直到今收盤
完成一支K線.每天都這樣?)
謝謝總板主.
內建之 '多分鐘K棒' 不能跨日,故無法實現
|
|
向版主報告此篇 |  |
|
2017-06-05 14:13 |
|
|
|  |
本站所有內容未經作者授權禁止轉貼節錄, 發表言論僅供參考勿作為投資決策依據。瀏覽本站請使用 IE 5.5 以上版本, 最佳瀏覽解析度 1024 x 768 全彩。
|
Powered by: vBulletin Version 2.3.0 - Copyright©2000-, Jelsoft Enterprises Limited.
簡愛洋行 製作 Copyright 2003-. All Rights Reserved. 聯絡我們
|