[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 353

 
Roger:

Open Service->Settings->Charts. Check how many bars you have enabled for the chart. I have it set to 2000 and 3000.

Bars in window 2147483647 and Bars in history 2147483647

I changed this number to correctly display the imported minutes for 12 years. I start testing e.g. 2010, but no more than 1000 of any timeframe works. I am using 451 bild.


Please help me to solve the problem with limiting shift value in iHigh(Symbol(),timeframe,shift) which is limited to number 1000.

iTime(Symbol(),timeframe,1001 ) gives 1970.01.01 00:00


For example command Print ("s=",s," ",Time[s]);

10:55:09 2010.03.01 00:00 repit_003 EURUSD,M30: s=999 1264730400
10:55:09 2010.03.01 00:00 repit_003 EURUSD,M30: s=1000 1264728600
10:55:09 2010.03.01 00:00 repit_003 EURUSD,M30: s=1001 0
10:55:09 2010.03.01 00:00 repit_003 EURUSD,M30: s=1002 0
10:55:09 2010.03.01 00:00 repit_003 EURUSD,M30: s=1003 0
10:55:09 2010.03.01 00:00 repit_003 EURUSD,M30: s=1004 0

 
In the tester or what? Start testing 1,000 bars early.
 
FAQ:
In the tester or what? Start testing 1000 bars early.

Yes indeed, after a while 1001 bars worked. THANK YOU, I will further mutate using the start date inside the EA and set the testing time earlier in the tester. Thanks again.
 

Good afternoon !!!

How do I know what to do - Alpari does not pass arrays of fractional numbers to the DLL in a normal way, I thought there was an error somewhere in the Expert Advisor! I copied all the files to insta,forexfo4yu - everything is transferred correctly! I copied all files to insta, forexfor4U - everything is correct! Passing it directly into dll - sloppy! Works in insta,forex4yu! Not in alpari! This is just some kind of crap! I cannot make it work! I will have to do it tomorrow. I will have to twist tomorrow to transmit fractional numbers as integers, for example, multiply them all by 100,000 and divide them by 100,000 in dll and get fractions. But the size of the contract is 100,000... if you multiply it by 10,000, it won't fit into an integer.

Maybe someone knows how to do it, EA is writing.

 
NORMALISATION.
 
Normalisation doesn't help.
 
Normalisation doesn't help.(((
 

The numbers are like this: 1.36083688709607E-298, but whatever))))

I pass the Eurobucks rate - 1.3. I multiply it by 100,000. I get 1.29999 in the dll! Shoot! Well, it's certainly better than -6543125E-542))))

 
artmedia70:
// determine the array size

int count=ArraySize(RSIBuffer3);

// search for the maximum value of the array

int RSI_max=ArrayMiximum(RSIBuffer3, count-1, int start=0);




thank you very much
 
How do I check if there is a pending or open order for by at a given price?