Changing color of candles on certain conditions

MQL5 Indicators Scripts

Job finished

Execution time 29 minutes
Feedback from employee
Good luck in trading :)
Feedback from customer
Fast and good work !

Specification

Hello,

I need a script, that changes the color of those candlesticks (body and wicks) in the main window, which comply with certain rules:

Input parameters:

x = ratio longer wick/body
y = ratio longer wick/shorter wick

color1 = color of candle, when rule part 1 is true
color2 = color of candle, when rule part 2 is true

(x and y should allow floating point values)

Rules:

IF  close - open > 0 THEN
IF (open - low) / (close - open) > x AND (open - low) / (high - close) > y
THEN color1

IF close - open < 0 THEN
IF (high - open) / (open - close) > x AND (high - open) / (close - low) > y
THEN color2

(Doji's will not be changed)

Thanks & best regards
Oliver

 

 

 

Responded

1
Developer 1
Rating
(18)
Projects
37
43%
Arbitration
6
17% / 50%
Overdue
17
46%
Free
2
Developer 2
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
487
17%
Free
3
Developer 3
Rating
(182)
Projects
342
42%
Arbitration
118
12% / 73%
Overdue
104
30%
Free
Published: 4 codes
4
Developer 4
Rating
(73)
Projects
257
53%
Arbitration
16
50% / 38%
Overdue
83
32%
Free
5
Developer 5
Rating
(9)
Projects
18
22%
Arbitration
3
67% / 33%
Overdue
4
22%
Free
6
Developer 6
Rating
(64)
Projects
144
46%
Arbitration
20
40% / 15%
Overdue
32
22%
Working
7
Developer 7
Rating
(82)
Projects
150
29%
Arbitration
9
44% / 11%
Overdue
46
31%
Free
8
Developer 8
Rating
(20)
Projects
46
54%
Arbitration
3
67% / 0%
Overdue
14
30%
Free
9
Developer 9
Rating
(564)
Projects
844
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Free
10
Developer 10
Rating
(44)
Projects
128
66%
Arbitration
10
20% / 60%
Overdue
35
27%
Free
11
Developer 11
Rating
(849)
Projects
1452
72%
Arbitration
121
29% / 47%
Overdue
356
25%
Working
Published: 3 articles
12
Developer 12
Rating
(63)
Projects
80
28%
Arbitration
17
12% / 76%
Overdue
48
60%
Free
13
Developer 13
Rating
(493)
Projects
1022
58%
Arbitration
30
27% / 23%
Overdue
133
13%
Working
Similar orders
#property indicator_chart_window #property indicator_buffers 2 #property indicator_plots 2 #property indicator_type1 DRAW_ARROW #property indicator_color1 Blue #property indicator_label1 "Buy Signal" #property indicator_type2 DRAW_ARROW #property indicator_color2 Red #property indicator_label2 "Sell Signal" double BuyBuffer[]; double SellBuffer[]; input int MA_Period = 50; input int RSI_Period = 14; int maHandle;
Need Python developer to use MetaApi.cloud Python API (ready SDK) to build a real-time equity curve chart. Project is simple and details will be shared privately. Only apply if you have strong Python experience
A robot 30+ USD
Code pour créer un robot //+------------------------------------------------------------------+ #include <Trade/Trade.mqh> CTrade trade; // SYMBOLS string symbols[3] = {"Volatility 10 Index","Volatility 25 Index","Volatility 75 Index"}; string bestSymbol = ""; // VARIABLES double startBalance; int tradeCount = 0; int lossStreak = 0; bool tradingStopped = false; bool profitMode = false; datetime lastDay; // PARAMÈTRES
I need someone to recreate this indicator for mt5 for $60 it has to be non repaint ,I've been trying to code this indicator so if someone can do it my contact is , sebokomorobi6@gmail.com ,or 073 923 0151 you can contact the number on Whatsapp no calls allowed
Hi Im working with a Crypto trading company and we want to branch out with our indicator, i'm researching the bot automation and need some hands on board. i i want to hear your opinion about the indicator that i would like you to build. in the PDF i explain the whole indicator and how it need to look like. happy to hear form you
I want someone to hold a session for me and explain in details on how to implement them in. I would really appreciate your guidance on how to properly set up GoCharting and get access to CME futures data
When the super trend changes from buy to sell and crosses the fast moving average and the 200 moving average is above the price, send email notification and/or sms (text) to sell . When the super trend change from sell to buy and crosses the fast moving average and the 200 moving average is below the price, send email notification and /or sms (text) to buy. Please note that there are two moving averages(fast and
Hola comunidad, Estoy buscando un desarrollador que tenga el archivo de instalación de MetaTrader 4 build 1443 o que pueda ayudarme a volver a esa versión. Tengo un robot (EA) que funcionaba perfectamente en build 1443, pero mi plataforma se actualizó automáticamente a build 1470 y ahora el robot ya no funciona correctamente. Necesito alguien que: • Tenga el instalador de MT4 build 1443, o • Sepa cómo reinstalar esa
have the Beatrix Inventor Expert Advisor (EA) that was profitable in the past but has been losing money recently. I need an experienced EA developer/optimizer to study the trade history (especially Stop Loss hits, drawdown periods, SL/TP behavior, win/loss ratio, etc.) and recommend + implement specific tweaks so it becomes consistently profitable again. Your job: 1. Deep analysis of why the EA is no longer
حلل لي اصل مالي ) اكتب هنا مثلا XAU EUR USD USD اريد تحليلا تعليما و ليس توصية مالية ۱- نوع التحليل المطلوب : ( فني / اساسي / سلوك سعري ) ٢ - المدي الزمني : ( قصير / متوسط / طويل ) M15 / H1 / H4 / ) اذكر الفريمات المطلوبه + (D1 ما اريد استخراجه من التحليل : الاتجاه العام اقوي مستويات دعم و مقاومة رقمية سيناريو صعود و سيناريو هبوط مع شروط كل سيناريو ( IF / THEN ) اين يصبح السيناريو لاغيا مناطق دخول و خروج تعليمية (

Project information

Budget
50- USD