Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 10/30/2005(UTC) Posts: 14
|
I would like to create an expert advisor with MA cross (of 5 periods and 10 periods) and Demand Index (of 5 periods).
For example:
Buy if Cross (Mov(C,5,E), Mov(C,10,E)) AND DI with 5 periods greater than 0.
Sell if Cross (Mov(C,10,E),Mov(C,5,E)) AND DI with 5 periods smaller than 0.
In Metastock, the Demand Index does NOT allow you to select the periods. How do I get around this problem?
Thank you
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 10/30/2005(UTC) Posts: 14
|
Are all the Metastock "experts" on vacation? I am still waiting for the reply.
Jose, you'll be able to write many "outrageous" indicators. To modify the Demand Index with select periods should be a piece of cake for you??
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 1/19/2005(UTC) Posts: 1,065 Location: Koh Pha-Ngan, Earth
Was thanked: 2 time(s) in 2 post(s)
|
Kingsley, my answer to your original question hasn't changed. I'll let you know when it does.
jose '-)
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
Demand index is a mix beetween ADX and ATR(14) and tons of others things ... Too complex to recreate as a ms formula as far as I can tell. I unfortunately do not have the time to rewrite into a dll function with an input period ...
You should add this to the dll wish list and wait till I get to it or hire someone to do it for you.
Patrick :mrgreen:
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.