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=ergodic"ashi" :
http://forum.equis.com/search/SearchResults.aspx?q=ashiBoth of these will go a long way to improving your knowledge about these indicators, their capabilities and limitations in the MetaStock context.
There aren't a lot of MT4 users 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
MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC & MDK
For custom MetaStock programming : http://www.wabbit.com.au
My SkyPE status : 
My SkyPE account : wabbit.com.au