Jump to content

Adding Labels to an existing indicator.


kapri65

Recommended Posts

Hi,

 

I need to add ABC labels to a zigzag indicator in order to represent ABC extensions, there are some rules for the labels.

 

Here is the pict I sent to other website to try to pay for it

http://oi49.tinypic.com/2h324bd.jpg

 

Rules for ABC

(A)Higher High - (B)Higher Low - ©Higher High

then

(A)Lower Low - (B)Lower High - ©Lower Low

 

For both bullish and bearish movements.

 

MQ4 indicator its HZZ.mq4 from here http://articles.mql4.com/728

 

If anyone knows someone who can modify it I would be very grateful.

 

Also I can pay $20 paypal for this service.

 

Thanks.

Edited by kapri65
Adding specifications
Link to comment
Share on other sites

If you have the source MQ4 you can do it yourself. It is really easy. If you only have the ex4 it will need to be decompiled first.

 

Example: look for this near the top of the code

(Specimen code)

SetIndexBuffer(0, MovingAverageOne);

SetIndexStyle(0, DRAW_LINE, STYLE_SOLID, 1);

 

Then insert a space between the lines so you can add something like this:

 

SetIndexLabel(0,"Signal MA One");

 

If there are several buffers in use and you want more labels to show in DataWindow, add SetIndexLabel(1,"Signal MA Two"); SetIndexLabel(2,"Signal MA Three"); etc.

 

Good luck. pm me if you have a problem. It's really only about 30 seconds work (and I would not accept any $ for it)

Edited by FxNewbie
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...