• Home
  • Forums
  • News
  • Calendar
  • Market
  • Login
  • Join
  • 2:36pm
Menu
  • Forums
  • News
  • Calendar
  • Market
  • Login
  • Join
  • 2:36pm
Sister Sites
  • Energy EXCH
  • Crypto Craft
  • Forex Factory

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

I will code your scalping EAs for no charge 120 replies

Oanda MT4 - Indicators and EAs not showing 2 replies

I will code your pivot EAs for no charge 20 replies

EAs and indicators relating to moutaki... 22 replies

InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 44,725
Attachments: I will code your EAs and Indicators for no charge
Exit Attachments
Tags: I will code your EAs and Indicators for no charge
Cancel

I will code your EAs and Indicators for no charge

  • Last Post
  •  
  • 1 32413242Page 324332443245 3246
  • 1 Page 3243 3246
  •  
  • Post #64,841
  • Quote
  • Dec 3, 2023 11:51pm Dec 3, 2023 11:51pm
  •  stevo1735
  • | New Member | Status: Junior Member | 4 Posts
Quoting XplosionKibo
Disliked
{quote} I see ........that there is lots of bugs in main original code regarding the detection of divergences, I fixed them partially however since the main code is too buggy, I'm going instead to put my time and code my own from scratch!
Ignored
Hi XplosionKibo, if you are sure that you have the time?! That would be fantastic, thank you!
 
 
  • Post #64,842
  • Quote
  • Dec 4, 2023 12:25am Dec 4, 2023 12:25am
  •  rappymuinde
  • | Joined Sep 2022 | Status: Member | 22 Posts
Hi good coders, i really need your assistance. Below is a Ontick function for a multicurrency ea am making. However the function is not iterating through the currency pairs and hence the ea is trading only the pair it is placed without considering PairsToTrade. Please assist me to correct this.
void OnTick() {
string pairsArray[];
StringSplit(PairsToTrade, ',', pairsArray);
for (int i = 0; i < ArraySize(pairsArray); i++) {
currentPair = pairsArray[i];
SymbolSelect(currentPair, true);

int Magic = magicNumberBase + i; // Adjust Magic number for each pair
bool executeLogic = true; // Flag to execute logic by default
// Apply time filter
if (UseTimeFilter) {
// Check if the current time is within the specified time range
int currentHour = Hour();
int currentMinute = Minute();
int currentTime = currentHour * 60 + currentMinute;
int startTime = StartHour * 60 + StartMinute;
int endTime = EndHour * 60 + EndMinute;
if (!(currentTime >= startTime && currentTime <= endTime)) {
executeLogic = false; // Set the flag to skip logic execution
}
}
// Apply day filter
int currentDay = DayOfWeek();
switch (currentDay) {
case 1: // Monday
if (!AllowTradingMonday) {
executeLogic = false; // Skip execution if trading is disallowed on Monday
}
break;
case 2: // Tuesday
if (!AllowTradingTuesday) {
executeLogic = false; // Skip execution if trading is disallowed on Tuesday
}
break;
case 3: // Wednesday
if (!AllowTradingWednesday) {
executeLogic = false; // Skip execution if trading is disallowed on Wednesday
}
break;
case 4: // Thursday
if (!AllowTradingThursday) {
executeLogic = false; // Skip execution if trading is disallowed on Thursday
}
break;
case 5: // Friday
if (!AllowTradingFriday) {
executeLogic = false; // Skip execution if trading is disallowed on Friday
}
break;
}
// Apply Moving Average filter
if (UseMovingAverageFilter) {
// Calculate Moving Average with user-defined period and shift
double maValue = iMA(currentPair, InpMaFrame, InpMaPeriod, InpMaShift, MovingAverageType, InpMaPrice, 0);
// Check if the current price is above or below the moving average
bool isPriceAboveMA = (Close[0] > maValue);
bool isPriceBelowMA = (Close[0] < maValue);
// Apply Moving Average filter to execution logic
executeLogic = executeLogic && (isPriceAboveMA || isPriceBelowMA); // Adjust logic based on Moving Average condition
}
// Apply RSI filter
if (UseRSIFilter) {
// Calculate RSI
double rsiValue = iRSI(currentPair, 0, RSIPeriod, PRICE_CLOSE, 0);
// Define RSI thresholds for filter
double rsiUpperThreshold = RSIThresholdUpper;
double rsiLowerThreshold = RSIThresholdLower;
// Check if RSI condition is met
bool isRSIAboveUpperThreshold = (rsiValue > rsiUpperThreshold);
bool isRSIBelowLowerThreshold = (rsiValue < rsiLowerThreshold);
// Apply RSI filter to execution logic
executeLogic = executeLogic && isRSIAboveUpperThreshold && !isRSIBelowLowerThreshold; // Adjust logic based on RSI condition
}
// Apply Support and Resistance filter
if (UseSupportResistanceFilter) {
double supportLevel = Low[Highest(currentPair, 0, MODE_LOWER, SRLookbackBars)];
double resistanceLevel = High[Lowest(currentPair, 0, MODE_UPPER, SRLookbackBars)];
double srRange = SRMultiplier * MathAbs(resistanceLevel - supportLevel);
bool isPriceInRange = (Close[0] >= (supportLevel - srRange) && Close[0] <= (resistanceLevel + srRange));
executeLogic = isPriceInRange; // Update executeLogic based on Support and Resistance filter
}
if (executeLogic) {
// Check if a new bar has opened
datetime currentBarTime = Time[0]; // Get the opening time of the current bar
if (currentBarTime != LastBarTime)
{
LastBarTime = currentBarTime; // Update the last bar's opening time
if (RunAtOpenBars)
{
ExpertLogic("Open Bars Ticks");
}
}

// Check if enough time has passed since the last function call
datetime currentTime = TimeCurrent();
if (currentTime - lastFunctionCallTime >= functionIntervalSeconds)
{
// Call your custom function here that you want to execute every 5 minutes
if (IsTesting() && !RunAtOpenBars)
{
ExpertLogic("Timer Event");
}
// Check for profits and trailing stop
if (TargetTPMode == CloseAtProfit && TakeProfitPoints > 0)
{
CheckForClose();
}
else
{
switch (TrailingProfitMode)
{
case Instrumented:
InstrumentedTrailingStop(magicNumberBase, AllOrders, 40, 40);
break;
case ByMA:
TrailingByMA(magicNumberBase, AllOrders, PERIOD_CURRENT, Periods);
break;
case ByATR:
TrailingByATR(magicNumberBase, AllOrders, PERIOD_CURRENT, 5, 1, 36, 1, 1, false);
break;
case ByFractals:
TrailingByFractals(magicNumberBase, AllOrders, PERIOD_CURRENT, 5, 3, false);
break;
}
}
// Update the last function call time
lastFunctionCallTime = currentTime;
}
}
}
}
 
 
  • Post #64,843
  • Quote
  • Dec 4, 2023 1:51am Dec 4, 2023 1:51am
  •  Ja3
  • | New Member | Status: Junior Member | 2 Posts
Quoting Ja3
Disliked
Hello, I hope you're doing well. I am need an expert that utilizes Ichimoku and Fibonacci. Timeframe is 30 minutes or 15 minutes (or both if possible). only uses Tenkan Sen and Kijun Sen. Here are the conditions: If Kijun Sen remains flat for three or more candles, and Tenkan Sen breaks to the upside, draw a Fibonacci retracement from the flat line to the low of the last 7 candles. Then, place a buy limit order at the 50% retracement level. Stop Loss (SL): Lowest point of the last 7 candles. Take Profit (TP): 1:1.5. If Kijun Sen remains flat for...
Ignored
Hello.
Can anyone help me with this?
 
 
  • Post #64,844
  • Quote
  • Edited 4:38am Dec 4, 2023 3:50am | Edited 4:38am
  •  Egate01
  • | New Member | Status: Junior Member | 2 Posts
Hi. Could Master Coder please assist.

I am no coder. I make use of EA Builder, find it easy to add arrows on indicator and create strategies to test without bothering actual coders. :-) Created attached EA i want to improve, but could not find any examples or possibility to make the change. EA is no Holly Grail. Have been running on demo for some time and appear to be solid. Believe however profitability could be improved significantly with this change requested, implemented.

EA just add orders in one direction until all orders is closed by EA. Need to increase every new order lot size by the original lot size set in EA, until all orders is closed in long or short direction and start again with new orders. As an example. If lot size is set to 0.1 in EA the second order lot size would be 0.1+0.1=0.2 third order lot size will be 0.2+0.1=0.3 fourth order lot size will be 0.3+0.1=0.4 and so on until all orders is closed by EA and start again with original set lot size when first order is opened. If lot size as example is set in EA to 1 the second order lot size will be 1+1=2 third order lot size will be 2+1=3 fourth order lot size will be 3+1=4 and so on until all orders is closed by EA. Stating again with original lot size set in EA with first order opened.

Any assistance to accomplish this would be greatly appreciated.
Attached File(s)
File Type: mq4 TmaTrue.mq4   5 KB | 99 downloads
File Type: mq4 ZZ Wave Entry Alerts.mq4   9 KB | 131 downloads
File Type: mq4 Trend_Scalp_EA.mq4   13 KB | 71 downloads
 
 
  • Post #64,845
  • Quote
  • Dec 4, 2023 5:30am Dec 4, 2023 5:30am
  •  Samalin
  • Joined Apr 2017 | Status: Member | 872 Posts
Quoting cja
Disliked
{quote} Try these Scripts. Drag the Script out of the Navigator onto a trend line or any point on a chart and release the mouse button. It will only place a pending order if the release point is in the correct position above or below the current price for that type of pending order. These Scripts also have an option to place takeprofits and stoplosses. {file} {file} {file} {file}
Ignored
Master thank you i will try it
 
 
  • Post #64,846
  • Quote
  • Dec 4, 2023 6:29am Dec 4, 2023 6:29am
  •  xmatax
  • | Joined Feb 2020 | Status: Member | 36 Posts
I ask whoever has the Slope Direction Line indicator with email alert can provide it to me. If you have other alerts such as mobile, sound, etc etc etc it would be perfect. And if it is MTF it would be brutal. Thank you very much
 
 
  • Post #64,847
  • Quote
  • Dec 4, 2023 8:08am Dec 4, 2023 8:08am
  •  Egate01
  • | New Member | Status: Junior Member | 2 Posts
Hi

Have this MTF one according to description. Perhaps friendly coder will add email, arrow and alerts for you.
Attached File(s)
File Type: mq4 SlopeDirection_MTF_.mq4   3 KB | 71 downloads
 
 
  • Post #64,848
  • Quote
  • Dec 4, 2023 9:03am Dec 4, 2023 9:03am
  •  xmatax
  • | Joined Feb 2020 | Status: Member | 36 Posts
Sorry for insisting. (Post Ref 64,806 and 64,808)
I have the Slope direction line indicator and it does not send email alerts, it does not work. Can you check and fix it? I agree that it only sends email alerts but... if it is possible to add the other alerts (mobile, sound, arrows, pop, push etc... whatever you can) it would be fabulous and MTF would be great
Hello, thank you for your support. You can add some notifications, messages, push, pop, mobile, email and also MT4 notification alerts and also some arrows when the color changes to red or green and indicates which pair has triggered the alert. I attach the indicator. Thank you so much
Attached File(s)
File Type: ex4 Slope_Direction_Line_Alert.ex4   15 KB | 36 downloads
File Type: mq4 Slope_Direction_Line_Alert.mq4   11 KB | 75 downloads
 
 
  • Post #64,849
  • Quote
  • Dec 4, 2023 10:32am Dec 4, 2023 10:32am
  •  Zaidiboy22
  • | New Member | Status: Junior Member | 1 Post
Good day
Can someone please help code the below.

  1. Mark out the open of the 9am CAT candle (Vertical line)
  2. Draw 2 vertical lines at 9:30 to 10 am CAT ( make this so i can edit my times if needed.
  3. Draw 2 Horizontal lines marking out the highs and lows in-between that area

Much appreciated

 
 
  • Post #64,850
  • Quote
  • Edited 1:48pm Dec 4, 2023 1:12pm | Edited 1:48pm
  •  Georgebaker
  • Joined Nov 2009 | Status: Member | 719 Posts
Quoting edzgjh
Disliked
{quote} its working ...i do have another request if possible...when i change the thickness of colour of arrow it reverts back to default everytime i chnage currrency pairs? if u can fix this ..thanks so much... also what does the candle back mean ? does it mean the signal will lag number of bars? so if its 1 it will be one bar behind.. {file}
Ignored
Try this

Attached File(s)
File Type: ex4 #Swing_Indicator_WithArrowSize.ex4   13 KB | 139 downloads


You can now set the size of the arrow in the input.

Normally it means how many candles back the indicator markup the chart with arrows.
Blindly following others will make you blind!
 
 
  • Post #64,851
  • Quote
  • Dec 4, 2023 5:13pm Dec 4, 2023 5:13pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,760 Posts
Quoting rappymuinde
Disliked
Hi good coders, i really need your assistance. Below is a Ontick function for a multicurrency ea am making. However the function is not iterating through the currency pairs and hence the ea is trading only the pair it is placed without considering PairsToTrade. Please assist me to correct this...
Ignored
Looks like chatgpt, which cannot currently make reliable mql4 or mql5 codes (or potentially any code at all, for which a full existing example doesn't already exist in it's training material), especially when you're asking for a bunch of things. Since you may be asking for an ea that does several things, consider hiring someone off mql5.com freelance section, or use an already existing free online ea builder. If you continue with chatgpt, start with something simple, like printing out the pairs to trade first, then continue with your other features when you can see its working as you expect.

Quote
Disliked
StringSplit(PairsToTrade, ',', pairsArray);
- the separator parameter is wrong
- not checking the return of stringsplit or the split values to see if it worked

Quote
Disliked
SymbolSelect(currentPair, true);
- not checking if this function works, it's probably getting the full string of paristotrade input
- you will have to handle upper and lower cases here too

Quote
Disliked
Apply time filter...Apply day filter
- these are not symbol specific, you can take these out of the symbol loop and place it before the loop

Quote
Disliked
Apply Moving Average filter...RSI filter...
- not checking if you're getting valid indicator values, if the symbol used isn't ready or is updating it's history then you'll get something like a 0 or emptyvalue which would make conditions that check whether a price is above or below it, always true or always false

Quote
Disliked
RSI filter...
- the condition to continue will never work for when rsi is below the lower limit

Quote
Disliked
Support and Resistance filter
- ihighest and ilowest are misspelled
 
 
  • Post #64,852
  • Quote
  • Dec 4, 2023 5:18pm Dec 4, 2023 5:18pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,760 Posts
Quoting Ja3
Disliked
...need an expert that utilizes Ichimoku and Fibonacci....
Ignored
I doubt anyone is going to do it, consider hiring someone or try an existing online ea builder.
 
 
  • Post #64,853
  • Quote
  • Dec 4, 2023 8:03pm Dec 4, 2023 8:03pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,760 Posts
Quoting luvene
Disliked
...an indicator that gives the bar a different color at the opening or another time...determine the color and of course the time...
Ignored
Candle_Color_Single_by_Daily_Time
- draws a candle at a given time once every day, hh:mm
- optional color
Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 3 KB
Attached File(s)
File Type: ex4 Candle_Color_Single_by_Daily_Time.ex4   13 KB | 74 downloads
 
1
  • Post #64,854
  • Quote
  • Dec 4, 2023 8:58pm Dec 4, 2023 8:58pm
  •  Gabrix
  • | Joined Sep 2019 | Status: Member | 29 Posts
Quoting Raddyo
Disliked
{quote} Thanks for this, it worked!, My first time coding, or copy and pasting..lol
Ignored
Hi, I'm using your indicator but I can't insert the symbols here. Then I wanted to know if you can also insert an email alert which would be very useful. Thank you.

ps
Could you post your indicator including the alert with the symbol?
 
 
  • Post #64,855
  • Quote
  • Dec 4, 2023 9:14pm Dec 4, 2023 9:14pm
  •  BlackLotus
  • | Joined Jul 2023 | Status: Member | 63 Posts
Does anyone have an EA for MT4 that closes open positions if the price closes on the other side of the moving average. I found one MA_Close on FF but I've tested it and it doesn't work for me. Thanks in advance...
 
 
  • Post #64,856
  • Quote
  • Dec 4, 2023 9:22pm Dec 4, 2023 9:22pm
  •  classy
  • Joined Jun 2012 | Status: Trader , Analyst and Mentor | 5,047 Posts
Quoting besttraderev
Disliked
{quote} let me explain what the code sees according to the image you posted: {image} close[1]<open[1] and close[2]>open[2] and close[3]>open[3] and open[2]<close[1] and close[2]>close[1] and close[2]<open[1] and low[2]<low[1] and high[2]<high[1] and high[2]>open[1] and low[3]>low[2] and low[3]>low[1] and open[3]<open[1] and open[3]<close[1] and high[3]>high[2] and high[3]>high[1] and close[3]>high[2] and close[3]>high[1] that should be the full, specific description of the 3 candles in this image. This is a very specific pattern, one of a kind,...
Ignored

where is this indicator bro? Thanks
Say something meaningful or Silence!!
 
 
  • Post #64,857
  • Quote
  • Dec 4, 2023 9:26pm Dec 4, 2023 9:26pm
  •  classy
  • Joined Jun 2012 | Status: Trader , Analyst and Mentor | 5,047 Posts
Quoting classy
Disliked
{quote} bro jean ,would you consider famous re noun and popular initial break dominan break candle indicator( draw zone/changeable color) + scanner dashboard as like as you created as click tf and open chart and must multi pair please. I checked all pair manually which is too much time consuming .may be already you know about it .1 image can express 100 words and my latest this week analysis ,it works like a majic so i attached .thanks in advance {image} {image} {image} {image} {image}
Ignored

any master coder my humble request please check image and create one indicator and dashboard .thanks in advance
Say something meaningful or Silence!!
 
 
  • Post #64,858
  • Quote
  • Edited 10:38pm Dec 4, 2023 10:26pm | Edited 10:38pm
  •  japfx
  • Joined Jan 2011 | Status: Member | 339 Posts | Online Now
Hi masters,

Please kindly help with an mt4 indicator that locates the highest high and lowest low of the last 3 days then plot a line to connect these 2 points on the chart.

the slope of the line is the immediate trend of the market

please merge Sunday candles with Monday...... (if there are any)

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

Name: screenshot.png
Size: 14 KB
Click to Enlarge

Name: screenshot.png
Size: 12 KB
Click to Enlarge

Name: screenshot.png
Size: 14 KB
 
1
  • Post #64,859
  • Quote
  • Dec 4, 2023 11:25pm Dec 4, 2023 11:25pm
  •  rappymuinde
  • | Joined Sep 2022 | Status: Member | 22 Posts
Quoting jeanlouie
Disliked
{quote} I doubt anyone is going to do it, consider hiring someone or try an existing online ea builder.
Ignored
Thanks so much for your response and advice. I have been using the ea for single currency for some time and so far it looks OK. I guess i will continue using it as a single currency ea as i look for ways to sort it out. Thanks again @jeanlouie
 
 
  • Post #64,860
  • Quote
  • Dec 5, 2023 12:28am Dec 5, 2023 12:28am
  •  edzgjh
  • | Joined Aug 2023 | Status: Member | 31 Posts
Quoting Georgebaker
Disliked
{quote} Try this {file} You can now set the size of the arrow in the input. Normally it means how many candles back the indicator markup the chart with arrows.
Ignored
thank you very much
 
1
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 32413242Page 324332443245 3246
    • 1 Page 3243 3246
30 traders viewing now, 2 are members:
helioss
,
japfx
  • More
Top of Page
  • Facebook
  • X
About MM
  • Mission
  • Products
  • User Guide
  • Blog
  • Contact
MM Products
  • Forums
  • Calendar
  • News
  • Market
MM Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow MM
  • Facebook
  • X

MM Sister Sites:

  • Energy EXCH
  • Crypto Craft
  • Forex Factory

Metals Mine™ is a brand of Fair Economy, Inc.

Terms of Service / ©2023