MQL4 - automated forex trading   /  

Forum

Changing Arrow Sizes in Custom Indicators

Back to topics list To post a new topic, please log in or register

avatar
17
Maratha 2006.07.05 09:27 
I wanted to know how to change the size of the arrows...for example, here is my code to draw a BUY arrow on the chart..

   SetIndexStyle(0,DRAW_ARROW);
   SetIndexArrow(0,108);
   SetIndexBuffer(0,ExtMapBuffer1);
   SetIndexLabel(0,"BUY");
   SetIndexEmptyValue(0,0.0);
See the GIF attached..(small red and violet circles)..How do I change the size of the arrow symbol? As of now, it appears too small...

article

HTML Walkthrough Using MQL4

HTML is nowadays one of the wide-spread types of documents. MetaTrader 4 Client Terminal allows you to save statements, test and optimization reports as .htm files. It is sometimes necessary to get information from such files in an MQL4 program. The article describes one of variations of how to get the tag structure and contents from HTML.


avatar
Moderator
5089
stringo 2006.07.05 10:43 
Change width in the colors list

avatar
17
Maratha 2006.07.06 06:57 
Dear Stringo,

Thanks! Works like a charm! :)

How do I add text label next to the arrow symbol on the chart? For Example, adding "BUY" next to every BlueViolet dot and "SELL" next to every Red dot...


avatar
Moderator
5089
stringo 2006.07.06 10:23 
Maratha wrote:
How do I add text label next to the arrow symbol on the chart? For Example, adding "BUY" next to every BlueViolet dot and "SELL" next to every Red dot...

There is impossible because text object anchored with top-center point.
Back to topics list  

To add comments, please log in or register