Risk Reward Ratio Indicator

Specification

I want an indicator that displays the risk reward ratio of each chart candle as a sub window histogram. 
If the candle closes above the open the histogram displays a green bar above zero the size of which is dependant on the size of the RRR. 
If the candle closes below the open the histogram displays a red bar below zero the size of which is dependant on the size of the RRR.

My attempt that does not work is attached 

Files:

MQ4
RRR2.mq4
7.3 Kb

Responded

1
Developer 1
Rating
(258)
Projects
323
30%
Arbitration
34
26% / 65%
Overdue
10
3%
Working
2
Developer 2
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
3
Developer 3
Rating
(169)
Projects
202
48%
Arbitration
5
20% / 60%
Overdue
2
1%
Free
4
Developer 4
Rating
(19)
Projects
24
8%
Arbitration
9
33% / 33%
Overdue
1
4%
Loaded
5
Developer 5
Rating
(104)
Projects
127
24%
Arbitration
23
30% / 52%
Overdue
8
6%
Free
6
Developer 6
Rating
(2322)
Projects
2925
63%
Arbitration
124
44% / 25%
Overdue
429
15%
Working
7
Developer 7
Rating
(85)
Projects
174
44%
Arbitration
3
100% / 0%
Overdue
5
3%
Free
Published: 1 code
8
Developer 8
Rating
(252)
Projects
462
26%
Arbitration
139
20% / 60%
Overdue
100
22%
Free
9
Developer 9
Rating
(8)
Projects
10
10%
Arbitration
2
0% / 100%
Overdue
0
Working
Published: 1 article
10
Developer 10
Rating
(200)
Projects
256
21%
Arbitration
23
48% / 17%
Overdue
0
Busy
11
Developer 11
Rating
(7)
Projects
10
10%
Arbitration
4
50% / 0%
Overdue
0
Working
Published: 4 articles, 33 codes
12
Developer 12
Rating
(545)
Projects
827
62%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
Published: 1 code
13
Developer 13
Rating
(454)
Projects
718
34%
Arbitration
34
71% / 9%
Overdue
22
3%
Free
14
Developer 14
Rating
(434)
Projects
635
54%
Arbitration
32
56% / 22%
Overdue
6
1%
Loaded
15
Developer 15
Rating
(43)
Projects
51
61%
Arbitration
4
50% / 25%
Overdue
0
Loaded
16
Developer 16
Rating
(5)
Projects
9
33%
Arbitration
1
100% / 0%
Overdue
1
11%
Working
17
Developer 17
Rating
(10)
Projects
19
42%
Arbitration
7
0% / 57%
Overdue
3
16%
Working
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(2668)
Projects
3400
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Working
Published: 1 code
20
Developer 20
Rating
(25)
Projects
31
13%
Arbitration
13
0% / 77%
Overdue
9
29%
Free
21
Developer 21
Rating
(1304)
Projects
1732
49%
Arbitration
54
69% / 15%
Overdue
38
2%
Free
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(48)
Projects
56
34%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
24
Developer 24
Rating
(314)
Projects
563
35%
Arbitration
81
31% / 44%
Overdue
205
36%
Working
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
1
8%
Free
27
Developer 27
Rating
(43)
Projects
49
29%
Arbitration
4
25% / 25%
Overdue
0
Free
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
29
Developer 29
Rating
(21)
Projects
28
43%
Arbitration
4
50% / 50%
Overdue
1
4%
Working
30
Developer 30
Rating
(618)
Projects
1429
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
31
Developer 31
Rating
(77)
Projects
244
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
32
Developer 32
Rating
(27)
Projects
30
37%
Arbitration
0
Overdue
3
10%
Free
33
Developer 33
Rating
(58)
Projects
90
43%
Arbitration
4
0% / 100%
Overdue
3
3%
Working
34
Developer 34
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
35
Developer 35
Rating
(363)
Projects
436
54%
Arbitration
22
50% / 14%
Overdue
30
7%
Loaded
36
Developer 36
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
37
Developer 37
Rating
(596)
Projects
687
33%
Arbitration
42
45% / 45%
Overdue
12
2%
Busy
38
Developer 38
Rating
(7)
Projects
13
15%
Arbitration
13
23% / 46%
Overdue
3
23%
Free
Published: 29 articles
39
Developer 39
Rating
(64)
Projects
68
25%
Arbitration
12
42% / 42%
Overdue
4
6%
Free
Similar orders
Hi, I am looking for an experienced MQL5 developer to modify an existing, fully functional MetaTrader 5 Expert Advisor (Source code .mq5 Version 2.62 will be provided). Brief Overview of the EA: It executes trades based on 4 custom Supply/Demand levels (R1, R2, S1, S2) which are inputted manually . It uses two custom indicators for confirmation: SPA (Price Action filter) and AMG (Volume/Momentum filter). The code
I really like this platform. I am interested in trading and need funds for it. I enjoy both crypto and forex trading.I"really appreciate this platform. I am keen on trading and am looking for trading funds. I enjoy trading in both cryptocurrency and forex."
Titan Quantum Algo Engine V2 is an advanced MT5 Expert Advisor designed to identify high-probability market opportunities using trend analysis, breakout detection, and intelligent risk management. The EA automatically executes trades, manages stop-loss and take-profit levels, and helps traders maintain disciplined trading with optimized entry and exit strategies
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
I do not have any startegy, and I want you to create one with your experience, you will provide me EA along with source code. you may use Grid or any logic, but the EA should keep generating profit during Newyourk and Asian session
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
Hello, I need a MetaTrader 5 Expert Advisor (EA) for XAUUSD. Place Buy Stop orders above current price every 0.300 distance Place Sell Stop orders below current price every 0.300 distance 10 levels up and 10 levels down Lot size fixed 0.01 No TP/SL required, manual close only No duplicate orders on restart Please confirm if you can build this and your final price and delivery time
I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
Dear All i am working on strategy in forex market specifically in xausud and i just want someone to make it automatic execution mode as per my requirements with propee risk management my broker is exness and i have an account in MT5
✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15

Project information

Budget
30 - 200 USD
Deadline
to 15 day(s)

Customer

Placed orders4
Arbitrage count0