Download MetaTrader 5

i am looking for the code of PLOT_ARROW property,anyone can tell me please?

To add comments, please log in or register
All activity at MQL5.community is clearly visible. Have a look at the Wall!
haoxiang xie
1076
haoxiang xie 2013.03.21 10:28 

in this funtion:

//--- Define the symbol code from the Wingdings font to draw in PLOT_ARROW

   PlotIndexSetInteger(0,PLOT_ARROW,code);

 in the reference, it saids: The default value of PLOT_ARROW=159 (a circle).

so code 159 means to draw a circle,

and what is the other codes?

i want to draw  a up arrow and down arrow.

any excample i can refer to ?

thanks a lot. 

Alain Verleyen
Moderator
30745
Alain Verleyen 2013.03.21 11:22  
xhxiang:

in this funtion:

 in the reference, it saids: The default value of PLOT_ARROW=159 (a circle).

so code 159 means to draw a circle,

and what is the other codes?

i want to draw  a up arrow and down arrow.

any excample i can refer to ?

thanks a lot. 

Hello, you can find all the codes in this page.
haoxiang xie
1076
haoxiang xie 2013.03.21 16:03  
thank you so much :)
Mehrdad Shiri
4480
Mehrdad Shiri 2013.09.19 10:38  
angevoyageur:
Hello, you can find all the codes in this page.

1) it's mean there is no more default arrow code. ?

2) we have arrow code= 95 

        if we want to use arrow like  , how/can do this ?

or

  we have arrow code= 214  

       if we want to use arrow like    or , how/can do this ?

-----------------------------------------------------

sorry if this, must be at general section.

Alain Verleyen
Moderator
30745
Alain Verleyen 2013.09.19 12:14  
TIMisthebest:

1) it's mean there is no more default arrow code. ?

2) we have arrow code= 95 

        if we want to use arrow like  , how/can do this ?

or

  we have arrow code= 214  

       if we want to use arrow like    or , how/can do this ?

-----------------------------------------------------

sorry if this, must be at general section.

These symbols doesn't exist in Wingdings font, so you can't use PLOT_ARROW with these.
Documentation on MQL5: Standard Constants, Enumerations and Structures / Objects Constants / Wingdings
Documentation on MQL5: Standard Constants, Enumerations and Structures / Objects Constants / Wingdings
  • www.mql5.com
Standard Constants, Enumerations and Structures / Objects Constants / Wingdings - Documentation on MQL5
Mehrdad Shiri
4480
Mehrdad Shiri 2013.09.19 18:30  
angevoyageur:
These symbols doesn't exist in Wingdings font, so you can't use PLOT_ARROW with these.
thank you.
To add comments, please log in or register