- 金币:
-
- 奖励:
-
- 热心:
-
- 注册时间:
- 2003-12-18
|
|
Originally posted by thingdi at 2005-3-17 07:09
""分钟线下没有我想要的指标,连macd这个指标都没有,"
不明白你的问题,再化一点时间看看帮助文件吧
“N-period candlesticks (time compression)
[url]http://www.amibroker.com/library/f ...
Here is a simplied version which plots compressed candlestick of the neighbouring two periods. Click Parameter and slide the scale for the smoothfactor sc, you can see its effect. It's called average candle chart from enSign website.
// Using AMA to plot candle chart. Using smooth factor = 0.5, it is effectively two periods average price.
sc = Param("Current bar Weighting", 0.7, 0.2, 1.01, 0.1);
bBarOverlay = Param("Overlay bar chart: 0: N; 1: Y", 0, 0, 1);
aO = AMA(O, sc);
aH = AMA(H, sc);
aL = AMA(L, sc);
aC = AMA(C, sc);
PlotOHLC(aO, aH, aL, aC,"Average candle"+Name(), colorGreen, styleCandle);
if (bBarOverlay)
Plot(C, "price", 1, styleBar);
GraphXSpace = 5;
[ Last edited by Stanwell on 2005-3-18 at 06:01 ] |
|
|