[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 133

 
infinum13 , after one minute the script runs out and exits, but how do you make it give out new data after one minute
 
VeDMeD >>:
infinum13, через минуту заканчивается скрипт и выходит, а как сделать чтобы через минуту он выдавал новые данные
int start()
{
   while (!IsStopped())
   {
    RefreshRates();
    double MacdPrevious, MacdCurrent; 
    MacdCurrent = iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0);
    MacdPrevious = iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,1);
    Print("Действующий МАСD"+ MacdCurrent);
    Print("Предыдущий МАСD"+ MacdPrevious); 
    Print( "Предыдущий максимум цены" + iHigh(NULL,PERIOD_M1,1));
    Sleep(60000);
   }
   return(0);
}
 
sergeev >> :

RefreshRates()?

 
TheXpert >> :

RefreshRates()?

>>Thank you!

 
TheXpert >> :

RefreshRates()?

unambiguously! and processing GetLastError() 4066

 

sorry, unequivocally RefreshRates(). The question was not that it was a skip. It should work on the EA.

 
Please advise how to open only one order per bar. thank you!
 
dmmikl86 >> :
advise how to make it open only one order on one bar. thanks!

>>'Open an order on the same candle'

 
FOReignEXchange >> :

>>'Open an order on the same candle'


thanks.....

 
Hi all, DIRECTOR QUESTION-How do I download the "history" of the desired period, where to find it (its address), and how it (the history) to test the councilor that is how to download this "history" in the tester?