Quote:
Originally Posted by ElectricSavant
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 = MathMax( Bars - counted_bars,MathMax(TimeFrame/Period(),1));
PS: Just looked into the code, and, yes, this is the solution