Re: Chaos Visual Averages Indicators for MT4

111
louisforex wrote: Wed Apr 29, 2020 5:36 am




Ive tried to add rsi and moving averages to this indicator but they do not show up when I select "apply to previous indicators data" and " apply to first indicators data" and nothing shows up. How did you do it?
;)
These users thanked the author vvFish for the post (total 4):
Skyold, charli, berserkyjc, RodrigoRT7
"Only the price on the chart can show the entrance to the deal..."


Re: Chaos Visual Averages Indicators for MT4

115
mrtools wrote: Fri Apr 24, 2020 2:55 am

Was gonna make that a user choice but forgot,added it in this version, wish in mt4 you could have more than 1 color choice on levels.
dear mrtools,
please is it possible to get arrows and alerts for slow and fast wpr if the lines crosses the zeroline?
:-) yes of course it will be a long properties list, but this is a very fine standalone indi and very useful :-)
thank you in advance and greetings
Markus

( I think the mq4-file is stored by you? )
we can't change the wind, but we can set the sails differently


Re: Chaos Visual Averages Indicators for MT4

116
MrTools,

Could you please fix the Alert from keep going off in Chaos Visual averages 1.43

Chaos Visual averages 1.43.ex4


Change DoAlert to something like this, adding an instance for each alert because Dowhat keeps changing on same Bar.

Code: Select all

//------------------------------------------------------------------
//                                                                  
//------------------------------------------------------------------


void doAlert(string doWhat, int instanceNo=0)
{
   static string   previousAlert[3];
   static datetime previousTime[3];
   
   string message;
   
      if (previousAlert[instanceNo] != doWhat || previousTime[instanceNo] != Time[0]) {
          previousAlert[instanceNo]  = doWhat;
          previousTime[instanceNo]   = Time[0];
 
          message = timeFrameToString(_Period)+" "+_Symbol+" at "+TimeToStr(TimeLocal(),TIME_SECONDS)+" Wpr "+doWhat;
             if (alertsMessage)   Alert(message);
             if (alertsPushNotif) SendNotification(message);
             if (alertsEmail)     SendMail(_Symbol+" Wpr ",message);
             if (alertsSound)     PlaySound("alert2.wav");
      }
}


//------------------------------------------------------------------
//                                                                  
//------------------------------------------------------------------

Thanks alot iin advance
Mysterious

Re: Chaos Visual Averages Indicators for MT4

117
mysteriousforex wrote: Sat Aug 01, 2020 2:48 am MrTools,

Could you please fix the Alert from keep going off in Chaos Visual averages 1.43

Chaos Visual averages 1.43.ex4


Change DoAlert to something like this, adding an instance for each alert because Dowhat keeps changing on same Bar.

Code: Select all

//------------------------------------------------------------------
//                                                                  
//------------------------------------------------------------------


void doAlert(string doWhat, int instanceNo=0)
{
   static string   previousAlert[3];
   static datetime previousTime[3];
   
   string message;
   
      if (previousAlert[instanceNo] != doWhat || previousTime[instanceNo] != Time[0]) {
          previousAlert[instanceNo]  = doWhat;
          previousTime[instanceNo]   = Time[0];
 
          message = timeFrameToString(_Period)+" "+_Symbol+" at "+TimeToStr(TimeLocal(),TIME_SECONDS)+" Wpr "+doWhat;
             if (alertsMessage)   Alert(message);
             if (alertsPushNotif) SendNotification(message);
             if (alertsEmail)     SendMail(_Symbol+" Wpr ",message);
             if (alertsSound)     PlaySound("alert2.wav");
      }
}


//------------------------------------------------------------------
//                                                                  
//------------------------------------------------------------------

Thanks alot iin advance
Mysterious
Sorry do not have the source code for that indicator.

Re: Chaos Visual Averages Indicators for MT4

119
shrips wrote: Thu Aug 27, 2020 11:13 pm Hi Everyone,

Does anyone have an opinion or experience on what are the ideal settings for scalping (1m/5m TF) using the Chaos Visual average 1.43.

Thank you
Use the standard settings, don't adjust anything :)
These users thanked the author Jimmy for the post (total 2):
marwilli, shrips
Guide to the "All Averages" Filters (ADXvma, Laguerre etc.) 🆕
Use Fibonacci numbers for indicator settings + How to draw Fibonacci Extensions
An easy trick for drawing Support & Resistance

DownloadRe: Chaos Visual Averages Indicators for MT4

120
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!


Who is online

Users browsing this forum: A_5, Amazon [Bot], Antonov, BeatlemaniaSA, ChatGPT [Bot], Grapeshot [Bot], kvak, Lwqa, Majestic-12 [Bot], maroka, vvFish, witori and 61 guests