Thread: Alpari
View Single Post
  #14 (permalink)  
Old 12-08-2005, 09:30 PM
bill3002 bill3002 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 28
bill3002 is on a distinguished road
Quote:
Originally Posted by nina
Hi!!!


If you have StepMA_3D_v1 on chart, MT4 platform will say "no connection" sooner than later.

Do you know why?
Nina,
Not 100% sure but try changing code to this:

Add: extern int maxbars=500;
( may have to lower maxbars depending on puter`s processor)
--------------------------------------------------------
Change the following:

for(shift=bars-1;shift>=0;shift--)
to:
for(shift=maxbars-1;shift>=0;shift--)
--------------------------------------------------------
if (shift==bars-1-PeriodWATR) WATRmin=WATR0;
to:
if (shift==maxbars-1-PeriodWATR) WATRmin=WATR0;
Reply With Quote