Discussions
»
Product and Service Development
»
MetaStock
»
Heiken-Ashi indicator & Ergodic oscillator
Rank: Newbie
Groups: Registered, Registered Users Joined: 4/26/2008(UTC) Posts: 2
|
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Hi Desander, Welcome to the Forum. At the top of each page on the forum is a small text box with a button labelled "Search" will help you get answers to questions already asked on the forum, like these questions. Quick searches: "ergodic" : http://forum.equis.com/search/SearchResults.aspx?q=ergodicusers in this forum, or if there are, they are very quiet about it, so posting the MQ4 code may not have been that useful. Should you decide to post codes again, please try to make every effort to post all of the code; the Ergodic_Oscillator.mq4 refers to a custom indicator "TSI-Osc", the code for which you have not provided. Why is this important? Over time many ideas and concepts get adapted/modified by users, often so much so, the original idea become confused. Blau's work is no exception. Some people use the one period rate of change in the computation of the TSI, some people use the high-low spread over the open-close spread in the computation.... the point is, if you need indicators rebuilt, all of the information needs to be provided. How is the TSI-Osc constructed in your MQ4 code? Hope this helps. wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 4/29/2009(UTC) Posts: 1
|
Hi,
why is it haOpen = (ExtMapBuffer3[pos+1] + ExtMapBuffer4[pos+1]) / 2;
and not haOpen = (ExtMapBuffer3[pos-1] + ExtMapBuffer4[pos-1]) / 2;
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
MQL counts bars in the opposite direction to MS, so pos+1 is looking into history.
wabbit [:D]
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
MetaStock
»
Heiken-Ashi indicator & Ergodic oscillator
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.