I will code your EAs and Indicators for no charge | Page 4054 | Forex Factory

HeroPoker_HeroPoker扑克_HeroPoker德扑圈官网

Attachments: I will code your EAs and Indicators for no charge

I will code your EAs and Indicators for no charge

{quote} This my approach: {image} You get a button which is customizable. When the button is in the OFF state, nothing happens. When the button is in the ON state, you can click on any Candle. If you click on the upper half of the candle, the info will be at the top: {image} If you click on the bottom half of the candle, the info will be at the bottom: {image} You can click on any candle like that, the info will switch to the candle you clicked. When you switch the button to OFF, the info is removed. Changing TFs also resets the button to the default...
Wow bro, this is cool. Thanks loads
{quote} Thank you very much. Is it possible to set the alarm to sound at selected support or resistance levels, and to customize the alarm sound?
It gives an alarm when it reaches all levels. But I want it to be optional.
Hello @BestraderEV, I could have shared the .ex5 of this indicator made by a good guy but because .ex5 could not be edited i decided to share screenshot of the indicator properties and what i want the indicator to do for me and i want the indicator to be turn to an EA on MT5 platform.

If you look at the template you will see an indicator with 2 color for breaks on Sell order and buy order.

BUY ORDER: I want the EA to pick buy order once the RSI, MACD & the ATR line break to the upside for a buy and a TRAILING STOP should start following below the ATR line and also an opportunity to input a target or TP, Trade can also be close on opposite signal

SELL ORDER: I want the EA to pick sell order once the RSI, MACD & the ATR line break to the downside for a sell and a TRAILING STOP should start following above the ATR line and also an opportunity to input a target or TP, Trade can also be close on opposite signal

I hope i have been able to explain for your better understanding

Thanks
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: sample.png
Size: 45 KB
Click to Enlarge

Name: sampless.png
Size: 63 KB
Good day everyone
hope you're all doing well

i need your help to make MT4 indicator that draw histogram for the following formula:
Up Candle: (High-Low)+(Open-Low)+(High-Close)
Down Candle: (High-Low)+(High-Open)+(Close-Low)
and please need the output to one buffer

and many many thanks in advance
Hi @BestTraderEv, Hi, I抎 like to kindly ask for your help. I want to add an sound alert that triggers every time the histogram bars change color. At the same time, the original alert that triggers when the bars hit a certain level can be removed. I just want the alert to sound whenever the bars change color. Thank you very much {file}
I am sorry guys, but currently, due to a serious home emergency, I will not be able to help the way I was before.
Until the emergency gets solved, which may take a week or two.
.ex4/.ex5 files cannot be fixed or converted, or modified
BTW,
One of my MQL5 codes stopped working correctly, recently.
It was working fine since 2022.
And it's totally crazy why it stopped working!!!
I spent hours reorganizing and simplifying this old code.
It's a simple code which just plots a number of horizontal trendlines.
And the funny thing was that price tags OBJ_ARROW_RIGHT_PRICE were plotting at the correct levels, but lines 2,3, and 4 were all being plotted at line 1 price, even though the plotting function was getting the same prices as the tags!!!
You will never believe what fixed the issue...
Before I had:
Inserted Code
ObjectSetInteger(0,name, OBJPROP_WIDTH, 0);
What fixed the issue:
Inserted Code
ObjectSetInteger(0,name, OBJPROP_WIDTH, 1);
Did anybody find anything about this issue?
Normally 0 worked like 1...
And why would 0 cause other lines to plot at the same price???
.ex4/.ex5 files cannot be fixed or converted, or modified
Hello @BestraderEV, I could have shared the .ex5 of this indicator made by a good guy but because .ex5 could not be edited i decided to share screenshot of the indicator properties and what i want the indicator to do for me and i want the indicator to be turn to an EA on MT5 platform. If you look at the template you will see an indicator with 2 color for breaks on Sell order and buy order. BUY ORDER: I want the EA to pick buy order once the RSI, MACD & the ATR line break to the upside for a buy and a TRAILING STOP should start following below the...
I understand, but what you are suggesting makes completely zero sense!
RSI is not a trend indicator.
And you are using it in a completely nonsensical way!
When relative strength of the Bearish local trend is falling, you want to Sell.
What sense does that possibly make???
MACD is Moving Average Convergence Divergence, so in your application it also makes no sense at all.
And, the PZ_SuperTrend?
Maybe, if used in HTF mode, and if put in the correct context, but not for EA robot trading...
.ex4/.ex5 files cannot be fixed or converted, or modified
Good day everyone hope you're all doing well i need your help to make MT4 indicator that draw histogram for the following formula: Up Candle: (High-Low)+(Open-Low)+(High-Close) Down Candle: (High-Low)+(High-Open)+(Close-Low) and please need the output to one buffer and many many thanks in advance
Have you even tried using AI to create it.. ??
I copied / pasted your prompt into chatgpt and it returned this.. Took all of 30 seconds.
No idea if it has bugs as I dont use MT4 and havent compiled it..
But dude, make some sort of effort, you will get a far better response from coders if you have at least tried...


//+------------------------------------------------------------------+
//| CustomHistogram.mq4 |
//| Generated by ChatGPT |
//| |
//+------------------------------------------------------------------+
#property strict
// Indicator settings
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 Blue
// Indicator buffer
double HistogramBuffer[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
// Indicator buffer initialization
SetIndexBuffer(0, HistogramBuffer);
SetIndexStyle(0, DRAW_HISTOGRAM, STYLE_SOLID, 2, Blue);
SetIndexLabel(0, "Histogram");
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total, // number of bars
const int prev_calculated, // previously calculated bars
const datetime &time[], // time[]
const double &open[], // open[]
const double &high[], // high[]
const double &low[], // low[]
const double &close[], // close[]
const long &tick_volume[], // tick_volume[]
const long &volume[], // volume[]
const int &spread[]) // spread[]
{
int i;
// Calculate values for the histogram
for(i = 0; i < rates_total; i++)
{
if(close[i] > open[i]) // Up Candle
{
HistogramBuffer[i] = (high[i] - low[i]) + (open[i] - low[i]) + (high[i] - close[i]);
}
else // Down Candle
{
HistogramBuffer[i] = (high[i] - low[i]) + (high[i] - open[i]) + (close[i] - low[i]);
}
}
return(rates_total);
}
//+------------------------------------------------------------------+
Im only here for the Guzzoline...
Could I get a PRICE(Candle) and moving average crossover with arrow signal (on current candle) indicator.
I would appreciate help
{quote} Have you even tried using AI to create it.. ?? I copied / pasted your prompt into chatgpt and it returned this.. Took all of 30 seconds. No idea if it has bugs as I dont use MT4 and havent compiled it.. But dude, make some sort of effort, you will get a far better response from coders if you have at least tried... //+------------------------------------------------------------------+ //| CustomHistogram.mq4 | //| Generated by ChatGPT | //| | //+------------------------------------------------------------------+ #property strict // Indicator...

So it took another 30 seconds to fix it... the histo was backwards and all blue... here is an improved version, thanks Grok.
//+------------------------------------------------------------------+
//| UpDown Histogram - Fixed (series indexing + colors) |
//+------------------------------------------------------------------+
#property copyright "Fixed version - series indexing"
#property version "1.20"
#property strict
#property indicator_separate_window // ← This fixes the warning (separate subwindow)
#property indicator_buffers 2
#property indicator_plots 2
// Plot 1: Up bars (positive / above zero) - Green
#property indicator_label1 "Up"
#property indicator_type1 DRAW_HISTOGRAM
#property indicator_color1 clrLimeGreen
#property indicator_style1 STYLE_SOLID
#property indicator_width1 2
// Plot 2: Down bars (negative / below zero) - Red
#property indicator_label2 "Down"
#property indicator_type2 DRAW_HISTOGRAM
#property indicator_color2 clrRed
#property indicator_style2 STYLE_SOLID
#property indicator_width2 2
//--- Buffers (must be global, before any functions)
double UpBuffer[];
double DownBuffer[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
SetIndexBuffer(0, UpBuffer);
SetIndexBuffer(1, DownBuffer);
ArraySetAsSeries(UpBuffer, true);
ArraySetAsSeries(DownBuffer, true);
SetIndexEmptyValue(0, 0.0);
SetIndexEmptyValue(1, 0.0);
IndicatorShortName("UpDown Histogram");
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime &time[],
const double &open[],
const double &high[],
const double &low[],
const double &close[],
const long &tick_volume[],
const long &volume[],
const int &spread[])
{
ArraySetAsSeries(open, true);
ArraySetAsSeries(high, true);
ArraySetAsSeries(low, true);
ArraySetAsSeries(close, true);
int start = (prev_calculated == 0) ? 0 : prev_calculated - 1;
for(int i = start; i < rates_total && !IsStopped(); i++)
{
UpBuffer[i] = 0.0;
DownBuffer[i] = 0.0;
double body = MathAbs(close[i] - open[i]);
double range = high[i] - low[i];
double height = range + body; // ← feel free to change to body, range, etc.
if(close[i] >= open[i]) // bullish candle
{
UpBuffer[i] = height;
}
else // bearish candle
{
DownBuffer[i] = -height;
}
}
return(rates_total);
}
//+------------------------------------------------------------------+
Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 4 KB
{quote} Have you even tried using AI to create it.. ?? I copied / pasted your prompt into chatgpt and it returned this.. Took all of 30 seconds. No idea if it has bugs as I dont use MT4 and havent compiled it.. But dude, make some sort of effort, you will get a far better response from coders if you have at least tried... //+------------------------------------------------------------------+ //| CustomHistogram.mq4 | //| Generated by ChatGPT | //| | //+------------------------------------------------------------------+ #property strict // Indicator...
many thanks dear, your are very right it's my fault
very appreciated to your time
{quote} So it took another 30 seconds to fix it... the histo was backwards and all blue... here is an improved version, thanks Grok. //+------------------------------------------------------------------+ //| UpDown Histogram - Fixed (series indexing + colors) | //+------------------------------------------------------------------+ #property copyright "Fixed version - series indexing" #property version "1.20" #property strict #property indicator_separate_window // ← This fixes the warning (separate subwindow) #property indicator_buffers 2 #property...
many thanks dear for your magic touch
{quote} many thanks dear for your magic touch
My pleasure...
Good day everyone hope you're all doing well i need your help to make MT4 indicator that draw histogram for the following formula: Up Candle: (High-Low)+(Open-Low)+(High-Close) Down Candle: (High-Low)+(High-Open)+(Close-Low) and please need the output to one buffer and many many thanks in advance
OCLH Oscillator

{quote} Have you even tried using AI to create it.. ?? I copied / pasted your prompt into chatgpt and it returned this.. Took all of 30 seconds. No idea if it has bugs as I dont use MT4 and havent compiled it.. But dude, make some sort of effort, you will get a far better response from coders if you have at least tried... //+------------------------------------------------------------------+ //| CustomHistogram.mq4 | //| Generated by ChatGPT | //| | //+------------------------------------------------------------------+ #property strict // Indicator...
{quote} So it took another 30 seconds to fix it... the histo was backwards and all blue... here is an improved version, thanks Grok. //+------------------------------------------------------------------+ //| UpDown Histogram - Fixed (series indexing + colors) | //+------------------------------------------------------------------+ #property copyright "Fixed version - series indexing" #property version "1.20" #property strict #property indicator_separate_window // ← This fixes the warning (separate subwindow) #property indicator_buffers 2 #property...
AI can only write general formulas.. basic framework of induk..
but there are nuances AI doesn't even suspect...

Could I get a PRICE(Candle) and moving average crossover with arrow signal (on current candle) indicator. I would appreciate help
MA2 Cross = http://www.ojas-gujarat-gov-in.com/thread/...9#post15519519
if ARROWBAR = 0 == current candle..
Attached Image (click to enlarge)
Click to Enlarge

Name: OCLH Oscillator_07-02-2026.png
Size: 54 KB
Attached File(s)
File Type: mq4 OCLH Oscillator.mq4   49 KB | 110 downloads
study indicator settings and test it well...
{quote} I understand, but what you are suggesting makes completely zero sense! RSI is not a trend indicator. And you are using it in a completely nonsensical way! When relative strength of the Bearish local trend is falling, you want to Sell. What sense does that possibly make??? MACD is Moving Average Convergence Divergence, so in your application it also makes no sense at all. And, the PZ_SuperTrend? Maybe, if used in HTF mode, and if put in the correct context, but not for EA robot trading...
Thanks for your reply as always @BestTraderEV, what am suggesting is not making zero sense bro and i know RSI is not a trend indicator more reason why am using it for scalping at over sold and over bought with MACD and ATR line.

Below is attached MQ5 of the EA and i need you to help me complete the process or if any one can do this...

The ATR line is drawn on the template and other indicator are embedded in already

BUT: the EA is not opening trade at the break of ATR either down or up.. Please make the EA to open trade order once the ATR is broken on either side
Trailing stop to keep following the ATR line and a close of trade on opposite signal

EA is not working on back testing, pleas fix this for me as well

Other setting can remain

Thanks
Attached File(s)
File Type: mq5 EBAKEM_EA_GLORY.mq5   27 KB | 83 downloads
{quote} Thanks for your reply as always @BestTraderEV, what am suggesting is not making zero sense bro and i know RSI is not a trend indicator more reason why am using it for scalping at over sold and over bought with MACD and ATR line. Below is attached MQ5 of the EA and i need you to help me complete the process or if any one can do this... The ATR line is drawn on the template and other indicator are embedded in already BUT: the EA is not opening trade at the break of ATR either down or up.. Please make the EA to open trade order once the ATR...
I took a quick look at your code, and my conclusion is: OK, but NOT OK.
IOW, this is not how I would do it, and obviously I am not going to recode the whole thing!
This kind of job requires at least a couple of weeks of work.
The best course of action is first to create a compound indicator which would plot signals according to the idea.
Then check if everything is working according to the assumptions of the idea.
Only if the indicator shows the idea to be feasible, can we start working on an EA.

Not to mention, that using the handle method for indicators in an MT5 EA is unreliable.
So we first need to construct a reliable compound indicator without using handles, but hard-coding every sub-indicator instead, and then we would have the foundations for an EA.

And only then we would construct an EA, but not like the code you provided.

Whichever stupid AI coded this was a waste of your time and your emotions, and a waste of a whole lot of consumed energy for which we all pay!!!

So, sorry, but you don't come to people like me asking to fix what some stupid A!I created!
.ex4/.ex5 files cannot be fixed or converted, or modified
{quote} OCLH Oscillator {quote} {quote} AI can only write general formulas.. basic framework of induk.. but there are nuances AI doesn't even suspect... {quote} MA2 Cross = http://www.ojas-gujarat-gov-in.com/thread/...9#post15519519 if ARROWBAR = 0 == current candle.. {image} {file}
Appreciated your help...Thanks a lot
{quote} OCLH Oscillator {quote} {quote} AI can only write general formulas.. basic framework of induk.. but there are nuances AI doesn't even suspect... {quote} MA2 Cross = http://www.ojas-gujarat-gov-in.com/thread/...9#post15519519 if ARROWBAR = 0 == current candle.. {image} {file}
star as usual
thank you
Help great coders here i need cross over buy sell alert for the attached template it involves 2 indicators the CCI set to 55(CLOSE) and 100SMA (SHIFT 10... and apply to 1st indicator data) on 4hrs time frame, when cci 55 cross above the 100sma UP or DOWN please kindly help .Thanks
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: ALERT CROSSING 100SMA.JPG
Size: 87 KB
Click to Enlarge

Name: FOR FOREX FACTORY  ALERT H4 CCI.JPG
Size: 86 KB
Attached File(s)
File Type: tpl A CCI CROSS H4.tpl   1 KB | 57 downloads
Hey all, I am wondering if the following is possible. My coding experience is limited to changing the colors within an existing mq4 so forgive me for my ignorance:
A moving average alert where the MA type, offset, alert type, ect... are set in the initial setup. But the alert itself is set by button(s) or a dropdown menu(s) or something on the chart. Like a dashboard type thing. In my vision of this the MA period, time frame, and on/off would be set via this "dashboard". Once the alert is triggered, it reverts to off to avoid multiple alerts for the same touch. Thoughts?