View Single Post
  #870 (permalink)  
Old 08-05-2007, 06:02 PM
mladen's Avatar
mladen mladen is offline
Senior Member
 
Join Date: Oct 2006
Posts: 348
mladen is on a distinguished road
Quote:
Originally Posted by ElectricSavant View Post
But...

When applying the fix "

limit = MathMax( MathMin(Bars - counted_bars,CountBars),MathMax(TimeFrame/Period(),1));

to this below..it does not work...
That is made for #MTF AlaskanPipAssassin
I have no idea how #MTF_MovingAverage Correlation works, but, if based on Keris base solution than this should do the job :

PHP Code:
limit MathMaxBars counted_bars,MathMax(TimeFrame/Period(),1)); 
PS: Just looked into the code, and, yes, this is the solution

Last edited by mladen; 08-05-2007 at 06:10 PM.
Reply With Quote