Chioma Obunadike / Publications
Codes
Candle Time Count Down for MetaTrader 5
Current Candle To Close in x Time
Drag and Drop Move TakeProfit for MetaTrader 5
Set TakeProfit by just dragging and dropping script on the desired price level
Drag and Drop Move StopLoss for MetaTrader 5
Set StopLoss by just dragging and dropping script on the desired price level
Plot History for MetaTrader 4
Plot trade history levels on the chart for MT4
Money Management for MetaTrader 5
Close trades when the percentage profit or risk of the account is reached
Pending Order count-BUY STOPS for MetaTrader 5
This script counts the number of pending buy stop orders for each symbol and returns the value
Asian Range Highlighter for MetaTrader 5
Highlights the Asian trading session
Fractal Prices-High for MetaTrader 5
Returns the price for the most recent fractal high
Forum
What so special about magic numbers?
Great! Now before you come after me because of the title, please hear me out first. I got into programming EAs and when I heard the words "magic number", I was intrigued and wanted to know what they represented. So I looked up some codes on codebase and the forum and my conclusion so far is that it
Tiling Windows Vertically
Hello. Please I would appreciate any help I can get. I am trying to tile windows vertically in mql4 using only code. I know this is achievable with user32.dll but it’s been a struggle even finding a basic article that can teach a beginner how to work with dlls in MQL. I have a code that can tile
Always an ISSUE
Always an issue with combo box . I have read every single question asked in the past and I still can't figure out why this combo box is not selecting items when I hover on the list :( Here is my code. Please can anyone tell why it is not selecting
Open Trades Faster
Hello everyone! Please is there a more efficient way to open 100 orders at once? I use this for loop but it takes 20seconds to open a trade. What do you think? for ( int i = 0 ; i < 100 ; i++) { trade.Sell( 0.01 , NULL ); }
MTF Arrows:
Hello I tried to make an arrow indicator to be multi timeframe and used the tutorial from the codebase about Multi timeframe indicators . Unfortunately, when I changed timeframe from current, the indicator returns the error "Array Out of Range". Please how can I solve this? Kindly assist. Here is
Curious about something...
Hello! I wrote a function to return the takeprofit in price using the expected profit. The function worked well for symbols like EURUSD but failed in AUDJPY ( JPY pairs ) and Cryptocurrency. I believe this is because of the discrepancies in their _Digit values but even after accounting for it, I
Mumbled Objects <see pics!>
I wrote an object label for my indicator signals. It looks great! BUT when my friend attaches it on their PC, the labels get mumbled up. <see pictures attached> Is there any explanation for this please. If so, how can I solve it? Thank you
Chart Handle?
Hello everyone. I am trying to limit my EA such that it is the only active EA in MT4 terminal. I have successfully gotten all chart handles but I can't find a way to read the ExpertName for that chart only. I found a post from 2011 but the codes are unfortunately outdated and do not work. Can you
BMP File Not Loading
Hello everyone, Quick question. I believe the problem I am experiencing is because I have converted the external image to a bmp file online // I used a free website but will not share the link because I do not think external links are allowed :( Here is the code and this is the output. However, when
Minutes before Midnight...
Hello everyone, I wrote this small function to print yes when it is 5 minutes before midnight in my broker time but it currently prints yes 5 mins after the next candle open. I have tried different variations of the code and the closest I have ever gotten was to print yes 5 mins before 20:00, once I