At first I expected that the column Trade shows the cumulated volume of trades of the price of this line - but I gues that this is not the case. What I can see is only my trades - correct?
At second I am surprised that the prices seems not to be the actual open (pending) orders of the market but as of Bid and Ask the next price is only one tick away.
I just looked at an exotic pair chf/zar and I see for Bid(Sell): 11.69050, 11,69049, .. while the minimal change seems to be 0.00050 so the ..49, ..48,.. seems to me pretty ridiculous.
In total am I correct that the 'Depth of Market' has nothing to do with the market except the Ask and Bid price?
For whom this should be helpful - this way??
I learnt the same knowledge - just a useless UI function, not applicable for trading.
void SetIndexStyle( intindex, // line index inttype, // line type intstyle=EMPTY, // line style intwidth=EMPTY, // line width colorclr=clrNONE // line color );
parameter: "clr" can't support varible? when I use function to calc color value: SetIndexStyle(idxid,DRAW_HISTOGRAM,EMPTY,2, GetCurrencyColor(sRefCurrency)); it will cause runtime error: 2014.08.16 17:21:50.855 Stack overflow in '......'
void SetIndexStyle( intindex, // line index inttype, // line type intstyle=EMPTY, // line style intwidth=EMPTY, // line width colorclr=clrNONE // line color );
parameter: "clr" can't support varible? when I use function to calc color value: SetIndexStyle(idxid,DRAW_HISTOGRAM,EMPTY,2, GetCurrencyColor(sRefCurrency)); it will cause runtime error: 2014.08.16 17:21:50.855 Stack overflow in '......'
How is this related to your previous post, about DRAW_NONE ?
What's the code of your GetCurrencyColor') function ?
drag indicator to chart, popup indicator setting window, ok button has not set as default button, press enter can't trigger it. so I has to use mouse button press.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi,
I have some questions to the Depth of Market.
At first I expected that the column Trade shows the cumulated volume of trades of the price of this line - but I gues that this is not the case. What I can see is only my trades - correct?
At second I am surprised that the prices seems not to be the actual open (pending) orders of the market but as of Bid and Ask the next price is only one tick away.
I just looked at an exotic pair chf/zar and I see for Bid(Sell): 11.69050, 11,69049, .. while the minimal change seems to be 0.00050 so the ..49, ..48,.. seems to me pretty ridiculous.
In total am I correct that the 'Depth of Market' has nothing to do with the market except the Ask and Bid price?
For whom this should be helpful - this way??
I learnt the same knowledge - just a useless UI function, not applicable for trading.
the statement:
SetIndexStyle(idx_id, DRAW_NONE);
will cause indicator init fail.
the statement:
SetIndexStyle(idx_id, DRAW_NONE);
will cause indicator init fail.
Nope, I can't reproduce it.
Please post code to reproduce your issue.
void SetIndexStyle(
int index, // line index
int type, // line type
int style=EMPTY, // line style
int width=EMPTY, // line width
color clr=clrNONE // line color
);
void SetIndexStyle(
int index, // line index
int type, // line type
int style=EMPTY, // line style
int width=EMPTY, // line width
color clr=clrNONE // line color
);
How is this related to your previous post, about DRAW_NONE ?
What's the code of your GetCurrencyColor') function ?
drag indicator to chart, popup indicator setting window, ok button has not set as default button, press enter can't trigger it. so I has to use mouse button press.
How is this related to your previous post, about DRAW_NONE ?
What's the code of your GetCurrencyColor') function ?
please forget the issue about DRAW_NONE.
use color Variables as SetIndexStyle Parameter is important for me.
"GetCurrencyColor" is my function, it return a color variable.
StrToTime: string format "yyyy-MM-dd hh:mm:ss " would got current utc time
It only get correct result by using format "yyyy.MM.dd" .
in old 509 version , StrToTime with string param format "yyyy-MM-dd hh:mm:ss " will get right datetime.