« Interactive Brokersへの送金方法 | Main | Interactive Brokers 証券の研究 »

09/19/2007

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a0120a6857a68970b0120a6857aa6970b

Listed below are links to weblogs that reference Interactive BrokersのAPIを用いてマーケットデータ取得:

Comments

サルサで猿さ

こんにちは。


 アレキサンダー・エルダーの著書は一番始めに読んだ本なので、思い入れがあります。

 Force Indexに関しては、出来高を取り入れているので、使い方が難しいですね。。。
 出来高自体が、ある単独のMarketMakerの思惑により増加する事もあるので、統計的に判断するのが難しいのかな・・・と。


■勢力指数 =(今日の終値-昨日の終値)×今日の出来高

===============================
Var: FrcIndex(0);

FrcIndex = (Close - Close[1]) * Volume;

Plot1(FrcIndex, "Force Index", Yellow);
===============================

■エルダー線(Elder-Ray)

ブルパワー=高値-EMA
ベアパワー=安値-EMA


===============================
Input: Length(10);
Var: EMA(0), Factor(0);

Factor = 2 / (Length + 1);

if Currentbar == Length then
EMA = Average(Close, Length);
else if Currentbar > Length then
EMA = EMA[1] + Factor * (Close[0] - EMA[1]);


BullPwr = High - EMA;
BearPwr = Low - EMA;


Plot1(BullPwr, "Bull Power", red);
Plot2(BearPwr, "Bear Power", yellow);
PlotBaseLine(0, "基準線", White);
===============================

EMAの関数がはじめから登録されていれば、もっと簡単にかけそうですね。

ツールは証券会社提供のものを利用するんですか?それとも自作???

Tasya

いつもお世話になっております。

おっしゃるとおり出来高を含んでしまうと
そういうことがあるのかもしれませんね。

他の人があまり利用しない指標ということで
関心があったのですが・・・

こちらに記入いただいた言語は
EasyLanguageでしょうか?

私は証券会社から提供のAPIでデータを取得し、
Javaで加工しようと考えています。^^

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment