Please tell me what the problem could be: The indicator buffer blinks, sometimes for a fraction of a second, sometimes for more than a second (all the data disappears on the whole visible part and then reappears).
Статья о традиционных и не совсем традиционных алгоритмах усреднения, упакованных в максимально простые и достаточно однотипные классы. Они задумывались для универсального использования в практических разработках индикаторов. Надеюсь, что предложенные классы в определенных ситуациях могут оказаться достаточно актуальной альтернативой громоздким, в некотором смысле, вызовам пользовательских и технических индикаторов.
Please tell me what the problem could be: The indicator buffer blinks, sometimes for a fraction of a second, sometimes for more than a second (all the data disappears on the whole visible part and then reappears).
There's not much information at all. Can you attach full code + description of symbol, period, broker to servicedesk...?
I changed the MACD indicator in the MACD line to "GBPUSD", if I paste it to GBPUSD chart, it works fine. But if I paste it to any other chart, the following error will appear: "2013.03.01 17:49:48 MACD (USDCAD,M1) Not all data of ExtFastMaHandle is calculated (-1bars). Error4806" why? I am asking this question because I just started to write an owl that trades a shopping cart, I set the symbols in the owl settings and am having similar problems getting and copying data...please explain me on the example of the MACD indicator, what is going on and why?
FinEngineer: In the standard MACD indicator I have changed the following line NULL to "GBPUSD". If I paste it to GBPUSD chart, everything is fine. If I paste it to any other chart, I get an error like "2013.03.01 17:49:48 MACD (USDCAD,M1) Not all data of ExtFastMaHandle is calculated (-1bars). Error4806" why? I am asking this question because I just started to write owls that trade with a cart, I set the symbols in the owl settings and am having similar problems with receiving and copying data...please explain me on the example of MACD indicator, what is going on and why?
Why would you change the standard indicator code?
intiMACD( string symbol, // имя символа ENUM_TIMEFRAMES period, // период int fast_ema_period, // период быстрой средней int slow_ema_period, // период медленной средней int signal_period, // период усреднения разности ENUM_APPLIED_PRICE applied_price // тип цены или handle );
In the iMACD settings there is an input parameter symbol. So, call it.
Why would you change the code of the standard indicator?
intiMACD( string symbol, // имя символа ENUM_TIMEFRAMES period, // период int fast_ema_period, // период быстрой средней int slow_ema_period, // период медленной средней int signal_period, // период усреднения разности ENUM_APPLIED_PRICE applied_price // тип цены или handle );
In the iMACD settings there is an input parameter symbol. So call it
iMACD("GBPUSD", ...
The same will happen if I take (code below) and attach indicator to chart with different symbol ... handicapped handle error will occur ... i.e. when I try to enter and use a symbol different from the one on the chart, I get problems every time ... meaning it ... in my previous post I wrote about iMacD ... I don't change anything in it except this symbol and it (indicator stops working) do I alone have such problem?
How do I load them then...? ...running a tester on a currency pair, which I then enter... the data is loaded... the data on the pair is loaded... the error still remains... I noticed this thing... the error occurs when I copy a lot of data... if I copy one at a time, everything is OK... now I'll show you two indicators... the first works and the second does not... why...
The product of two double numbers is a non-normalized number. 0.01*NormalizeDouble(211.1)=0.01*211.***********=2.11*************
Because the result of mat operations of the highest-normalised values is not a normalised number.
That's why it is a place of error.
From the reference:
MQL5 Reference Guide / Standard Library / Classes for creating panels and dialogs / CWnd / StateFlagsSet
StateFlagsSet
Устанавливает флаги свойств элемента управления. ...
What properties?
Please tell me what the problem could be: The indicator buffer blinks, sometimes for a fraction of a second, sometimes for more than a second (all the data disappears on the whole visible part and then reappears).
Please tell me what the problem could be: The indicator buffer blinks, sometimes for a fraction of a second, sometimes for more than a second (all the data disappears on the whole visible part and then reappears).
There's not much information at all. Can you attach full code + description of symbol, period, broker to servicedesk...?
Not much information at all. Can you attach the full code + description of the symbol, period, broker...?
In the standard MACD indicator I have changed the following line NULL to "GBPUSD". If I paste it to GBPUSD chart, everything is fine. If I paste it to any other chart, I get an error like "2013.03.01 17:49:48 MACD (USDCAD,M1) Not all data of ExtFastMaHandle is calculated (-1bars). Error4806" why? I am asking this question because I just started to write owls that trade with a cart, I set the symbols in the owl settings and am having similar problems with receiving and copying data...please explain me on the example of MACD indicator, what is going on and why?
Why would you change the standard indicator code?
int iMACD(
string symbol, // имя символа
ENUM_TIMEFRAMES period, // период
int fast_ema_period, // период быстрой средней
int slow_ema_period, // период медленной средней
int signal_period, // период усреднения разности
ENUM_APPLIED_PRICE applied_price // тип цены или handle
);
In the iMACD settings there is an input parameter symbol. So, call it.
iMACD("GBPUSD", ...
Why would you change the code of the standard indicator?
int iMACD(
string symbol, // имя символа
ENUM_TIMEFRAMES period, // период
int fast_ema_period, // период быстрой средней
int slow_ema_period, // период медленной средней
int signal_period, // период усреднения разности
ENUM_APPLIED_PRICE applied_price // тип цены или handle
);
In the iMACD settings there is an input parameter symbol. So call it
iMACD("GBPUSD", ...
The historical data is not loaded.