[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 542

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
It's not 1 hour but 1 minute, the size of such a file is usually around 160 MBytes (10 year history) - maybe it has to do with disk space?
Thanks now I see! I downloaded the history because the tester wouldn't start without it.It does not close the positions. Comm shows both 2 and -2 in int GetTradeSignal_Strategija_1 . I tried and Ts Kim's functions. I do not know what is wrong.
Why when I test my Expert Advisor I get this error:
invalid price 1.50615000 for OrderSend function
All quotes in the archive are four-digit, but the error message displays an eight-digit price?
Помогите пожалуйста.
Почему когда тестирую советник выдает такую ошибку:
invalid price 1.50615000 for OrderSend function
А архиве все котировки четырехзначные а ошибку выдает с восмизначной ценой??
NormalizeDouble(Price,Digit);
Помогите пожалуйста.
Почему когда тестирую советник выдает такую ошибку:
invalid price 1.50615000 for OrderSend function
А архиве все котировки четырехзначные а ошибку выдает с восмизначной ценой??
It is necessary to use:
Where the mistake, I need this indicator to calculate the bar on the minutes, ie throw it on the 1 H and it adds all the minutes of the calculated indicator:
Regards Alexander
I modify the EA for a specific timeframe M1 and M5, there is a simple condition:
double m1=iMA(NULL,0,period1,0,1,0,0);
double m2=iMA(NULL,0,period2,0,1,0,0);
then if(m1>m2) {okbuy=1;} blah blah blah
No questions here.
But I need another MA condition (like above) but from a higher specific timeframe D1 (and the EA will work on M1)
How to request in the current timeframe and in the current pair, the indicator data from the current pair - but another timeframe? So that I can then use this data to make a condition.
I would be especially grateful, if you could suggest how to use older timeframes and other indicators in the current timeframe by analogy. Thanks
Ребят, помогите чайнигу, в учебнике и на форуме чтобы сильно понятно - так и не нашел.
Переделываю советник под конкретный таймфрейм M1 и M5, там присутствует простое условие:
double m1=iMA(NULL,0,period1,0,1,0,0);
double m2=iMA(NULL,0,period2,0,1,0,0);
затем if(m1>m2) {okbuy=1;} бла бла бла
Здесь вопросов нет.
Но мне надо чтобы было еще одно условие по MA (по типу вышеописанного) но из старшего конкретного таймфрейма D1 (а советник будет работать на M1)
Как запросить в текущем таймфрейме и в текущей паре, данные индикатора из текущей пары - но другого таймфрема? Чтобы потом можно было по этим данным сделать условие.
Особо буду признателен, если еще подскажете как по аналогии использовать старшие таймфреймы и других индикаторов в текущем периоде. Спасибо
Where period1 or period2 insert PERIOD_D1