thingdi 发表于 2005-2-28 14:29

//DiNapoli MACD

A=(EMA(C,8.3896)-EMA(C,17.5185));
Sig=EMA(A,9.0503);
UpWard = BarsSince(A < Sig);
DnWard = BarsSince(A > Sig);
TrendBarCount = 2;
for( i = 0; i < BarCount; i++ )
{
        if (UpWard >= TrendBarCount)
                BarColor = 5;
        else
                if (DnWard >= TrendBarCount)
                        BarColor = 4;
                else
                        BarColor = 3;
}

Plot(Sig,"",1,5);
Plot(a,"",4,1);
Plot(Sig,"Dinapoli MACD",IIf(Sig<0,BarColor,IIf(A<Sig,7,27)),6);
Plot(a,"Dinapoli MACD",IIf(A>0,27,4),6);
Plot(0,"",1,8);

//DiNapoli PER-STOCH
FK=((C - LLV(L,8))/(HHV(H,8) - LLV(L,8)))* 100;
FD=IIf(Cum(1)<4,FK,IIf(Cum(1)==4,MA(FK,3),AMA(FK,1/3)));
STO=IIf(Cum(1)<4,FD,IIf(Cum(1)==4,MA(FD,3),AMA(FK,1/3)));
Plot(STO,"",1,1);
Plot(MA(STO,3),"",2,1);
Plot(80,"Overbrought",15,1);
Plot(20,"Oversold",1,1);
Plot(50,"Mid",6,8);

Aside from Normal %K/D, only minor visual indifferences...
As MACD, Its Core intacted, I just throw in couple lines for fun.

So far... I believe the Fib-Nodes might be the only backbone of DiNapoli methods, since its concept based on overlapped Fib retracements from difference pivots/time frames.

later.:*6*:

[ Last edited by thingdi on 2005-2-28 at 14:31 ]

amkr1015 发表于 2005-2-28 15:55

谢谢各位!!
哈~,看来要成立“股软协会”了!

jennyforex 发表于 2005-2-28 18:12

Originally posted by thingdi at 2005-2-28 14:29
//DiNapoli MACD

A=(EMA(C,8.3896)-EMA(C,17.5185));
Sig=EMA(A,9.0503);
UpWard = BarsSince(A < Sig);
DnWard = BarsSince(A > Sig);
TrendBarCount = 2;
for( i = 0; i < BarCount; i++ )
...
I agree----backbone! But we don't need to be perfect, my friend, applying FibNodes acrossing timeframes is his bone, but even most advance website doesn't offer this. For we fibs, one FibNodes one timeframe is already a lurxery treatment, we don't even need FibNodes automatic updating following the market, we do it manually!
The specialty of FibNodes is, comparing to Fibonacci, in any market swing, Fibonacci has one low/high matches one high/low, while FibNodes has one low/high(Foucus Number) matchesseveral highs/lows(Reaction Number) show as following graph. In another word, in a market swing(say up trend), there's a Foucus Number(High), and there are several Reaction Numbers(lower lows) down to the bottom where the swing started. You'll get a suit of retracment levels(.382 and .618 only) for each Reaction Number andthe same Foucus Number. If you have 10 Reaction Number, you'll get 10 suit of retracement levels. The 10 suit of levels disply at the same place so that you can see the confluence and agreement(Areas where retracement levels close to eachother).
I have no idea about what does this mean in computer. Perhaps weasked too much...anyway, thanks very much for looking into this!

jennyforex 发表于 2005-2-28 18:14

Here's an example of FibNodes in a up-trending swing:
http://img207.exs.cx/img207/2271/18iv.jpg

jennyforex 发表于 2005-2-28 18:26

Sorry, please forget the 3, 6, 2 marks, those are for something else.
F is the Foucus Number
1,2,3are the Reaction Number
F3s, F5s are the FibNodes levels(F3 is .382, F5 is .618)
Curved line shows F3 and F5 belong to which Reaction Number
Ki, k2 are the confluence area, but this is for user to make judgement, doesn't need to be programed.
They are exactly the Fibonacci levels(use only .382 and .618). Just need to add more lows.

thingdi 发表于 2005-3-1 01:58

thank you for the further explainations regarding the Fibnodes, very lovely method indeed.
I'm still in the process go through DiNapoli's book, but it's rather difficult to code with Amibroker which unfortunately doesnt offer mcuh of onscreen graphic functions(almost none)
anyone good with the wealthlab coding (PASCAL STYLE)?

all the best

jennyforex 发表于 2005-3-1 10:08

Different from programing normal Fibnacci levles

Hi thingdi,
In CQG platform, you don't need to drag the mouse from low/high to high/low as you do with normal Fib retracement, you just need to do like this: Firstly click Foucus Number, secondly click the Reaction Numbers one by one, Thirdly double click the lastest Reaction Number again. Then, all the levels will appear nicely. I think it makes the programing a bit easier----just a silly guessing from a computer fool.

shouping 发表于 2005-3-1 22:23

一个朋友做的Amibroker最新版的汉化包,和大家分享!建议备份主程序,以免出错,不过我已经试过,没有问题。

[ Last edited by shouping on 2005-3-1 at 22:26 ]

randal 发表于 2005-3-2 00:41

急问amkr1015斑竹!!!

请问amkr1015
您那里是否有2003、2004年美股的1分钟--分时--历史数据,(或者某几个股票也可以),
我到处找都找不到,----非常感谢!!

amkr1015 发表于 2005-3-2 07:30

Originally posted by randal at 2005-3-2 00:41
请问amkr1015
您那里是否有2003、2004年美股的1分钟--分时--历史数据,(或者某几个股票也可以),
我到处找都找不到,----非常感谢!!
你好!
你说的那几种数据我都没有,如果你需要5分钟的,我有点新股的数据可以给你。

randal 发表于 2005-3-2 14:27

谢谢amkr1015斑竹

那能否帮我指点些路子或是搜寻线索,在那里可以弄到这些美股的1分钟历史数据???
谢谢了!!

amkr1015 发表于 2005-3-2 19:18

Originally posted by randal at 2005-3-2 14:27
那能否帮我指点些路子或是搜寻线索,在那里可以弄到这些美股的1分钟历史数据???
谢谢了!!
我不知道历史数据能从哪里搞到,但如果从现在开始的1分钟数据很容易,下载这里提供的AMIQUOTE就可以了。

jennyforex 发表于 2005-3-3 20:05

amkr1015,
Yahoo 有一个Amibroker的Group,据说很火,您去看看?

Stanwell 发表于 2005-3-4 06:32

Originally posted by jennyforex at 2005-3-3 20:05
amkr1015,
Yahoo 有一个Amibroker的Group,据说很火,您去看看?
Amibroker forum is a very good place. People are very helpful and willing to lend their hands.

A few months ago, there was a fight which caused a few old-faces threatend to quit the forum. The developer was also disgusted along with one Greek, one Japaness lady. The Greek is very much math-oriented and that Japaness lady is a very skilled trader and a very funny identity. One has to admire how much effort these people have put into their research to get their trading taken off.

The dispute was settled after a room moderator was called in. Metastock forum had similar incidents. Interestingly, no where on earth is peaceful, even in the virtual world.

[ Last edited by Stanwell on 2005-3-4 at 06:37 ]

amkr1015 发表于 2005-3-4 07:18

Originally posted by jennyforex at 2005-3-3 20:05
amkr1015,
Yahoo 有一个Amibroker的Group,据说很火,您去看看?
我是2001年Z版用户,AB有自己的用户论坛,YAHOO我以前也经常去的。

thingdi 发表于 2005-3-4 11:40

jennyforex~
http://www.gftforex.com/products/dealbookfx/download.asp
外汇市场的, 似乎也提供N-FIBNODES,可以DEMO的
~不懂汇市

Amibroker 4.7 is out...

jennyforex 发表于 2005-3-6 12:11

Originally posted by thingdi at 2005-3-4 11:40
jennyforex~
http://www.gftforex.com/products/dealbookfx/download.asp
外汇市场的, 似乎也提供N-FIBNODES,可以DEMO的
~不懂汇市

Amibroker 4.7 is out...

Thanks thingdi, GFT is nice, but they promissed that Fibnodes would be coming soon 2 years ago. It hasn't come yet----they just place 2 icon there, if you click the icon, it doesn't work. Anyway, I'm currently using GFT,----at least it offers some other DiNapoli indicators. I'm now using my friend's homemade Fibnodes. It comforts a bit.

seeksilence 发表于 2005-3-7 11:58

amibroker换手率怎么求? 没找到相应的指标

amkr1015 发表于 2005-3-7 13:15

Originally posted by seeksilence at 2005-3-7 11:58
amibroker换手率怎么求? 没找到相应的指标
是没有这个指标的。

jennyforex 发表于 2005-3-8 23:59

Originally posted by Stanwell at 2005-3-4 06:32

Amibroker forum is a very good place. People are very helpful and willing to lend their hands.

A few months ago, there was a fight which caused a few old-faces threatend to quit the forum. Th ...
Interesting...
Anyway, virtual world is a part of our life...

Have you finished reading the book? If so, PM me your email address, I'll forward the homemade FibNodes to you.
页: 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 27 28 29
查看完整版本: AMKR1015———————资料专帖