
08-05-2007, 03:51 PM
|
 |
Senior Member
|
|
Join Date: Jun 2007
Posts: 3,205
|
|
ahh...Thanks mladen
Quote:
Originally Posted by mladen
It is not repainting, it is lagging in time frames lower than the indicators chosen time frame.
Change the line 77 of #MTF AlaskanPipAssassin :
PHP Code:
limit=Bars-counted_bars;
to read
PHP Code:
limit = MathMax( MathMin(Bars - counted_bars,CountBars),MathMax(TimeFrame/Period(),1));
and everything in the indicator will work fine (even the bar limitation will work)
|
|