Candle Color Based on Two Moving Averages

MQL4 指标

工作已完成

执行时间19 小时
客户反馈
Excellent job, great communication, quick delivery - thank you!
员工反馈
Great and nice customer.. Clear specifications and fast payment. highly recommended

指定

Hello,

I am fairly new to MQL4 but have been using the ThinkOrSwim platform for a while. I am looking for a basic candle color display based on two moving averages. For example, a 21 EMA and a 50 EMA. If price prints above the 21 period EMA, it paints green (or whatever color chosen). If it prints below the 50 period EMA it paints red. If price prints between the two, it shows as gray. I would need for the entire candle to match the color.

Also, I would like the option to display the area between the two MA's with a cloud, and be able to toggle the MA cloud on or off.

I was able to do this in ThinkScript, but I am new to MQL4 and just don't have the time. I have attached screenshots of what I have set up in TOS as an example, using the 34 EMA (high) and 34 EMA (low) MA's, both with and without the MA cloud.

附加的文件:

JPG
Example1.jpg
94.8 Kb
JPG
Example2.jpg
72.4 Kb

反馈

1
开发者 1
等级
(636)
项目
1007
47%
仲裁
33
36% / 36%
逾期
99
10%
工作中
发布者: 6 代码
2
开发者 2
等级
(115)
项目
129
18%
仲裁
11
27% / 55%
逾期
4
3%
空闲
3
开发者 3
等级
(26)
项目
34
26%
仲裁
7
14% / 43%
逾期
7
21%
空闲
4
开发者 4
等级
(412)
项目
543
75%
仲裁
9
44% / 0%
逾期
24
4%
空闲
5
开发者 5
等级
(114)
项目
154
47%
仲裁
2
0% / 50%
逾期
4
3%
空闲
6
开发者 6
等级
(298)
项目
478
40%
仲裁
105
40% / 24%
逾期
82
17%
已载入
发布者: 2 代码
相似订单
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not

项目信息

预算
30+ USD
截止日期
 1  10 天