NO EXTERNAL LINKS, SOURCE CODE REQUESTS OR MODIFICATION OF DECOMPILED INDICATORS. To avoid post deletion please follow the rules.

Re: Chaos Visual Averages Indicators for MT4

#121
poaslk wrote:
Wed Sep 09, 2020 4:16 am
Hey, can I kindly ask you to add some performance checks and out of range arrays and fix memory leaks?
  • 1) performance checks: when I call

    Code: Select all

    iCustom(TRs,tT,"HaosVisual Averages",tZ,tY,tX,tV,-tV,tZ,tY,tX,tV,-tV,false,6,1)
    , mostly I get:
    2020.09.08 19:25:12.787 HaosVisual Averages NZDCHF,M5: indicator is too slow, 5281 ms. rewrite the indicator, please

    It goes up to 10000ms!!!
    Suggestion: Can you add external variable to limit the amount of history bars calculated? Make no sense to calculate all history chart Bars. I need only last 3 months, maximum around 18000 bars for M5. Can you also make check if FirstWPR_values are equal to SecondWPR_values, not to calculate both WPRs? Or remove one and leave only one? I need only one. Or can you give option to remove calculation of one? This will speed up indicator calling. Make no sense to calculate both if only one result can be obtained through iCustom.
  • 2) out of range arrays:
    2020.09.08 19:24:48.098 HaosVisual Averages EURJPY,M5: array out of range in 'HaosVisual averages.mq4' (705,14)
    This happens for any smoothing method for any parameter, so it must be specific for the M5 and/or M15 periods. It looks like there is limit on history bars. Can you make sure that maximum arrays sizes are at least 18000? 3 months for M5?
  • 3) memory leaks:
    2020.09.08 19:24:36.063 HaosVisual Averages EURJPY,M5: out of memory
    This might be related to array out of range, I cannot say or guess. I have 8Gb memory and MT4 eats it fast when I'm calling iCustoms on your indicator. It happens only when out of range arrays errors are presents, so it is probably memory leak caused by arrays.
I would fix it and tweak performance by myself, but no source code. Let me know if you need to run debug version on my terminal for further details. I can do testing for you.

Anyway, great indicator, except performance issues. Thanks!
Don't have the source code either.. If you don't mind how are you using it in your trading? Maybe can make a version or maybe try the chaos version, think this would be an upgraded haos visual.


Re: Chaos Visual Averages Indicators for MT4

#122
mrtools wrote:
Wed Sep 09, 2020 5:18 am
Don't have the source code either.. If you don't mind how are you using it in your trading? Maybe can make a version or maybe try the chaos version, think this would be an upgraded haos visual.
Hey mrTools!
So, maybe Jimmy can comment or has a source code? Who is the author of the indicator? Can you possibly point me out on the author of the indicator [Haos or Chaos]?

Chaos version is downgrade not an upgrade. It is 2-3 times slower and kills MT4 quickly. It has a lot of not useful junk in it like MTF, alerts and so on. I do not mind to use Chaos, if you can remove MTF, alerts and tune up the performance as mentioned previously. Otherwise it is not of any use. Do you have source code for the Chaos indicator?

I always KISS /Keep It Simple Stupid/, two scenarios:
  • 1) Trend: if indicator is higher than tV, it is a Buy, if it is lower than -tV, it is a Sell.
  • 2) Reversal: if indicator is higher than tV, it s a Sell, if it is lower than -tV, it is a Buy.
Variables tT, tZ, tY, tX, tV are of course different for both scenarios.

Re: Chaos Visual Averages Indicators for MT4

#123
poaslk wrote:
Wed Sep 09, 2020 7:54 pm
mrtools wrote:
Wed Sep 09, 2020 5:18 am
Don't have the source code either.. If you don't mind how are you using it in your trading? Maybe can make a version or maybe try the chaos version, think this would be an upgraded haos visual.
Hey mrTools!
So, maybe Jimmy can comment or has a source code? Who is the author of the indicator? Can you possibly point me out on the author of the indicator [Haos or Chaos]?

Chaos version is downgrade not an upgrade. It is 2-3 times slower and kills MT4 quickly. It has a lot of not useful junk in it like MTF, alerts and so on. I do not mind to use Chaos, if you can remove MTF, alerts and tune up the performance as mentioned previously. Otherwise it is not of any use. Do you have source code for the Chaos indicator?

I always KISS /Keep It Simple Stupid/, two scenarios:
  • 1) Trend: if indicator is higher than tV, it is a Buy, if it is lower than -tV, it is a Sell.
  • 2) Reversal: if indicator is higher than tV, it s a Sell, if it is lower than -tV, it is a Buy.
Variables tT, tZ, tY, tX, tV are of course different for both scenarios.
No don't have the source for chaos either, the version i worked on is the original Haos visual that Mladen cleaned up, done a version with T3 smoothed wpr and one more average wpr, my versions i don't have the source either after my last laptop died, and I didn't back up, but can make a new version.

Re: Chaos Visual Averages Indicators for MT4

#124
mrtools wrote:
Thu Sep 10, 2020 2:06 am
No don't have the source for chaos either, the version i worked on is the original Haos visual that Mladen cleaned up, done a version with T3 smoothed wpr and one more average wpr, my versions i don't have the source either after my last laptop died, and I didn't back up, but can make a new version.
A new version of Haos Visual would be super awesome brother. It's such a good indicator.

Hoping you'll be able to retrieve your old files from the dead laptop hard drive some day, too! :thumbup:
Looking for a Forex broker that puts you first? FBS are offering $100 to get you started! Find out more, here.

Re: Chaos Visual Averages Indicators for MT4

#125
Jimmy wrote:
Thu Sep 10, 2020 2:17 am
mrtools wrote:
Thu Sep 10, 2020 2:06 am
No don't have the source for chaos either, the version i worked on is the original Haos visual that Mladen cleaned up, done a version with T3 smoothed wpr and one more average wpr, my versions i don't have the source either after my last laptop died, and I didn't back up, but can make a new version.
A new version of Haos Visual would be super awesome brother. It's such a good indicator.

Hoping you'll be able to retrieve your old files from the dead laptop hard drive some day, too! :thumbup:
Looking for ideas how to improve, thinking maybe some dynamic zones, dsl type zones, etc but can't decide on using the fast wpr or the slow wpr, also which ma's to use etc. all ideas welcome!


Re: Chaos Visual Averages Indicators for MT4

#126
mrtools wrote:
Thu Sep 10, 2020 6:42 am
Jimmy wrote:
Thu Sep 10, 2020 2:17 am


A new version of Haos Visual would be super awesome brother. It's such a good indicator.

Hoping you'll be able to retrieve your old files from the dead laptop hard drive some day, too! :thumbup:
Looking for ideas how to improve, thinking maybe some dynamic zones, dsl type zones, etc but can't decide on using the fast wpr or the slow wpr, also which ma's to use etc. all ideas welcome!
Hi Mr tools,

I would like to see divergence added to chaos on the fast WPR

IdeaRe: Chaos Visual Averages Indicators for MT4

#127
mrtools wrote:
Thu Sep 10, 2020 6:42 am
Looking for ideas how to improve, thinking maybe some dynamic zones, dsl type zones, etc but can't decide on using the fast wpr or the slow wpr, also which ma's to use etc. all ideas welcome!
Legendary, this is going to be a great project. Thanks for taking this on!

So far it looks like the most popular request is Divergences. How about adjustable on-chart text that tells us of the overall trend depending on the Slow WPR if it has crossed the 0.0 median line (to help trend traders).

Here's Chaos Vs Haos. Although both are identical, Haos seems a lot better for Trend traders as the Slow WPR is shown as a Histogram which gives us a clearer view of the trend. In Chaos, it's a bit harder to gauge this as there is no Histogram of the Slow WPR, so Chaos is more suited for Counter-trend traders :P

Haos Averages vs Chaos Visual AveragesMT4.png

As per comparison, Haos (bottom indicator on the chart) shows us the trend a lot clearer with it's Slow WPR Histogram. I think it would be very nice to have this Histogram's text to help new traders ie:

  • If Slow WPR is above the 0.0 median, the text would say "Trend is Up" or "Uptrend"
  • If Slow WPR is below the 0.0 median, the text would say "Trend is Down" or "Downtrend"

PS: Mrtools sent you another Haos source code to your inbox bro.
Looking for a Forex broker that puts you first? FBS are offering $100 to get you started! Find out more, here.

Re: Chaos Visual Averages Indicators for MT4

#128
Jimmy wrote:
Thu Sep 10, 2020 8:13 pm
  • If Slow WPR is above the 0.0 median, the text would say "Trend is Up" or "Uptrend"
  • If Slow WPR is below the 0.0 median, the text would say "Trend is Down" or "Downtrend"
Better to make it general not only 0, but when it crosses wpr up/down level instead, both wpr up/down levels can be set to 0 in order to fulfill your request.
Jimmy wrote:
Thu Sep 10, 2020 8:13 pm
PS: Mrtools sent you another Haos source code to your inbox bro.
Jimmy, so you have the source code? Can you fix the mentioned performance and memory leaks I mentioned earlier? If you send me the source code, I can fix it by myself and send the tuned up version back to you. Or possibly make further adjustments as you request. I prefer simplicity over silly features like coloring though, but if someone want silly enhancements, I can do version for others. If you do not trust me maybe mrTools can fix the issues? Just want to get rid of these performance issues. That would be more than enough for me.

Re: Chaos Visual Averages Indicators for MT4

#129
poaslk wrote:
Thu Sep 10, 2020 8:47 pm
Jimmy, so you have the source code? Can you fix the mentioned performance and memory leaks I mentioned earlier? If you send me the source code, I can fix it by myself and send the tuned up version back to you. Or possibly make further adjustments as you request. I prefer simplicity over silly features like coloring though, but if someone want silly enhancements, I can do version for others. If you do not trust me maybe mrTools can fix the issues? Just want to get rid of these performance issues. That would be more than enough for me.
Hi, welcome to the forum. I'm trying to locate through our old files some of the Haos source codes that may help Mrtools with the new rebuild.

Now, on the topic of source codes, you're pretty new here, perhaps we should get to know you a bit more before you start requesting for them! It's actually against our rules and it's stated right above this topic "no source code requests". Are you able to code? If you're able to, please get involved with the forum first and contribute. We're always looking for some extra help :)

That saying, let's hope Mrtools will look into this issue in his newer version of Haos. For now, we're hoping to see more activity from you and other newer members here.

Back on topic, let's get more suggestions happening here :thumbup:
Looking for a Forex broker that puts you first? FBS are offering $100 to get you started! Find out more, here.

Re: Chaos Visual Averages Indicators for MT4

#130
Jimmy wrote:
Thu Sep 10, 2020 9:19 pm
Now, on the topic of source codes, you're pretty new here, perhaps we should get to know you a bit more before you start requesting for them! It's actually against our rules and it's stated right above this topic "no source code requests". Are you able to code? If you're able to, please get involved with the forum first and contribute. We're always looking for some extra help :)
Hey Jimmy, yes, I'm aware of the rules:) just was trying to give you options. I do not need source code, just fixed version. Yes, I can code, but it is extremely hard to contribute, if nobody here shares source codes:) I could possibly use source codes from other sites, but that's not my style. So probably the best start will be some assistance to mrTools.

mrTools, as mentioned before, if you need to test debug version I'm available to run it on my terminal. If you do not know how to add debugging into MQL code, just let me know I will send you the code needed. And/or if any assistance needed, just let me know. Also, the error:
2020.09.10 14:43:24.748 HaosVisual Averages USDJPY,M15: array out of range in 'HaosVisual averages.mq4' (302,14)
suggests, that static arrays are used, probably change to dynamic arrays would be better, than arrays can be dynamically resized and memory can be freed with ArrayFree?
Anyway, let me know, if anything.


  1. Similar Topics

    1. MT5 Moving Averages (MAs)

      28 Replies 8146 Views

      by rijay, Thu Dec 06, 2018 11:10 pm in MT5 Indicators

      28 Replies
      8146 Views
    2. Rijay's System of Moving Averages

      115 Replies 32247 Views

      by rijay, Sun Apr 14, 2019 3:03 am in Trading Systems

      115 Replies
      32247 Views

Return to “MT4 Indicators”