Changing color of candles on certain conditions

仕事が完了した

実行時間29 分
開発者からのフィードバック
Good luck in trading :)
依頼者からのフィードバック
Fast and good work !

指定

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

 

 

 

応答済み

1
開発者 1
評価
(18)
プロジェクト
37
43%
仲裁
6
17% / 50%
期限切れ
17
46%
2
開発者 2
評価
(1235)
プロジェクト
2820
80%
仲裁
156
22% / 43%
期限切れ
487
17%
3
開発者 3
評価
(182)
プロジェクト
342
42%
仲裁
118
12% / 73%
期限切れ
104
30%
パブリッシュした人: 4 codes
4
開発者 4
評価
(73)
プロジェクト
257
53%
仲裁
16
50% / 38%
期限切れ
83
32%
5
開発者 5
評価
(9)
プロジェクト
18
22%
仲裁
3
67% / 33%
期限切れ
4
22%
6
開発者 6
評価
(64)
プロジェクト
144
46%
仲裁
20
40% / 20%
期限切れ
32
22%
7
開発者 7
評価
(82)
プロジェクト
150
29%
仲裁
9
44% / 11%
期限切れ
46
31%
8
開発者 8
評価
(20)
プロジェクト
46
54%
仲裁
3
67% / 0%
期限切れ
14
30%
9
開発者 9
評価
(564)
プロジェクト
845
73%
仲裁
15
53% / 13%
期限切れ
193
23%
10
開発者 10
評価
(44)
プロジェクト
128
66%
仲裁
10
20% / 60%
期限切れ
35
27%
11
開発者 11
評価
(851)
プロジェクト
1462
72%
仲裁
122
29% / 48%
期限切れ
357
24%
仕事中
パブリッシュした人: 3 articles
12
開発者 12
評価
(63)
プロジェクト
80
28%
仲裁
17
12% / 76%
期限切れ
48
60%
13
開発者 13
評価
(493)
プロジェクト
1022
58%
仲裁
30
27% / 23%
期限切れ
133
13%
仕事中
類似した注文
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
hello could you make me same indicator for ninja ? https://www.youtube.com/watch?v=pxs2MuqvH3w if yes for how much and timeline ? thks in advance and please reply me as soon as possible you get my notification
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
[8/4/2026 4:54 AM] DR.HassaN: AI Gold Analysis Web Platform Requirements Hello, I would like to build a professional AI-powered web platform dedicated exclusively to Gold (XAU/USD) analysis . This is NOT a trading platform or broker . It is an intelligent analysis platform that provides high-quality trading signals and detailed market analysis. The platform should have a modern, premium design with my own branding
Ema100+Fibo 30+ USD
I need a robot that sends me a notification when the price aligns with the EMA and my Fibonacci levels—using specific Fibonacci settings—and then either opens a trade based on the Fibonacci SL and TP or simply sends me a notification. And I want the robot to run in both the Strategy Tester and on a demo account, so I can test it beforehand
I need a custom technical indicator that generates an equidistant channel with two specific structural features: 1. Vertical Multi-Intervals: The ability to plot more than 5 parallel, able to allow me to put intervals 2. Horizontal Angle Input: The ability to manually input geometric angle to strictly define the horizontal slope of the channel or allow me to pick two points manually. i am looking for something like
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
> "I am looking for a reliable and profitable Expert Advisor (EA) or trading robot for MetaTrader. The EA should have a proven track record, good risk management, and stable performance in live market conditions. Please share the name of the EA, a brief explanation of how its strategy works, and any relevant performance statistics or backtest reports to help me evaluate it."
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including

プロジェクト情報

予算
50- USD