View Single Post
  #1122 (permalink)  
Old 03-10-2009, 09:02 AM
Shane Shane is offline
Junior Member
 

Join Date: Jul 2008
Posts: 57
Default

Quote:
Originally Posted by Pukey View Post
Hey MP, Sweetpips, everyone else who's interested, I had a programmer friend look at my Shi_channel_true and he seems to have fixed the problem of it not showing up on the 5 min charts at random. He's not a trader so he wants to tinker with it a bit more to make sure it's funtioning just like the original, but I'll post it when I get the go-ahead.
Hey Pukey...you still around?

I had a look at the code for the SHI Channel and it looks like the M5 problem is due to a dodgy setting for the BFF variable.

It can be easily altered by opening MetaEditor, loading up the code for the SHI Channel and changing this part of the code:

Code:
switch (Period())
  {
       case      1:  BFF = 12;  break;
       case      5:  BFF = 48;  break;
       case     15:  BFF = 24;  break;
It's the number 48 that is causing the fat channels. I have found that changing it to 24 (same setting as the M15 timeframe) works like a charm.

...and don't forget to hit the compile button when you're done

If you are squeamish about fiddling with code, just do it on the chart by changing the BarsForFract input to something like...umm...24. Just note that doing it this will change the setting for ALL timeframes on that chart...not just the M5 !!!

Last edited by Shane; 03-10-2009 at 09:04 AM.