Paint Candles

Custom MT4 expert advisors published here.

Moderator: admin

Paint Candles

Postby Apprentice » Mon Apr 17, 2017 3:09 am

Paint_Candles1.jpg

Paint_Candles2.jpg

TS2 / Lua Version.
viewtopic.php?f=17&t=16320

Description:

This request was asking to have a MT4 version of this nice LUA indicator. Because of the difference in how to deal with each candle and objects it was a challenge. This means that a few things are different.

Mode of use:

- Draw a vertical line in the candle that you want to put a custom color
- Open its properties window and change its description to color1, color2, color3, color4, color5 or color6
- The vertical line will "dissapear" (in reality it will turn the same color as the chart background color)
- The candle will paint according to the selected color in the indicator's parameters window

The indicator also paints the candles according to the selected up and down color choosed by default.

Note: Press F8 (chart properties) and put the candles in the background so they don't interfere with the indicator colors.

Paint_Candles.mq4
(17.96 KiB) Downloaded 750 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 20 guests