Attachments forums

List of attachments posted on this forum.


All files on forums: 163536

Re: Chaos Visual Averages Indicators for MT4

mwaschkowski, Sat Oct 31, 2020 11:24 am

mrtools wrote: Sat Oct 31, 2020 9:05 am

Buffer for the fast wpr = #7 and the slow wpr #18.
OK, great thanks!


I just tested and ran into an issue whereby the numbers coming out didn't match the on screen values. I used an earlier version of haos to get this result:


in which everything lined up nicely. But when I tried with the newer version I got:


Here is the code that I used:

Code: Select all

   string haosName = "HaosVisual averages";
   haosName = "Haos Visual - averages (divergence + alerts + mtf)";
   
   int firstWprSmoothingPeriod = 21;
   enMaTypes maType = ma_hull;
   int firstWprPeriod = 51;
   int secondPeriod = 96;
   //double haos= iCustom(NULL,0,haosName, firstWprSmoothingPeriod, maType, firstWprPeriod, 30, -30, secondPeriod, maType, secondPeriod, 40, -40, false,5, i);
   double haos= iCustom(NULL,0,haosName, PERIOD_H1, 0, firstWprSmoothingPeriod, maType, firstWprPeriod, 30, -30, secondPeriod, maType, secondPeriod, 40, -40, false,18, i);
     
Any idea why they are different?

Thanks,

Mark
All files in topic