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;