I will code your EAs and Indicators for no charge

Forex111

Trader
Mar 21, 2024
1
0
6
37
hi, guys

I'm Richard , a software programmer with 15 years coding experience, for interact all best trading ideas , I'd like to code your EA(MT4,MT5) or indicator for free.

Please leave a comment about your trading idea , for example :

At 15 minutes chart, sell EUR/USD when touching the Boll band's up trend + AUDUSD is falling .

Or you can draw some the idea in a chart or paper.

Thanks
Richard
10th Oct 2023
I have a MT5 indicator and need to turn it to a EA ?
 

Seecore100

Newbie
Apr 18, 2024
1
0
1
27
first of all you need to prove yourself then people can trust you and share their tradin strategies
MQL4:
// Supply and Demand Zone Expert Advisor
 
// Input parameters
input double LotSize = 0.01; // Trading lot size
input double StopLoss = 50; // Stop loss level in pips
input double TakeProfit = 100; // Take profit level in pips
input int MaxTrades = 5; // Maximum number of trades to open
 
// Global variables
int tradeCount = 0; // Number of trades opened
 
// Supply and Demand Zone parameters
input int SupplyDemandLookbackBars = 20; // Number of bars to look back for supply and demand zones
 
// Indicator buffers
double SupplyBuffer[];
double DemandBuffer[];
 
// Initialization function
void OnInit()
{
    // Define the required indicator buffers
    SetIndexBuffer(0, SupplyBuffer);
    SetIndexBuffer(1, DemandBuffer);
}
 
// Trading function
void OnTick()
{
    // Check if the maximum number of trades has been reached
    if (tradeCount >= MaxTrades)
        return;
 
    // Check for the presence of a supply or demand zone
 
    // If a supply zone is detected
    if (CheckSupplyZone())
    {
        // Open a sell trade
        SellTrade();
    }
 
    // If a demand zone is detected
    if (CheckDemandZone())
    {
        // Open a buy trade
        BuyTrade();
    }
}
 
// Function to check for supply zone
bool CheckSupplyZone()
{
    double highestHigh = 0;
 
    // Iterate over the previous bars to find the highest high
    for (int i = 1; i <= SupplyDemandLookbackBars; i++)
    {
        double high = High;
 
        // Check if the current high is higher than the previous highest high
        if (high > highestHigh)
        {
            highestHigh = high;
        }
    }
 
    // Check if the current price is near the highest high
    if (highestHigh > 0 && Bid <= highestHigh + (StopLoss * Point))
    {
        // Draw a supply zone arrow
        SupplyBuffer[0] = highestHigh;
        return true;
    }
 
    return false;
}
 
// Function to check for demand zone
bool CheckDemandZone()
{
    double lowestLow = 0;
 
    // Iterate over the previous bars to find the lowest low
    for (int i = 1; i <= SupplyDemandLookbackBars; i++)
    {
        double low = Low;
 
        // Check if the current low is lower than the previous lowest low
        if (low < lowestLow || lowestLow == 0)
        {
            lowestLow = low;
        }
    }
 
    // Check if the current price is near the lowest low
    if (lowestLow > 0 && Ask >= lowestLow - (StopLoss * Point))
    {
        // Draw a demand zone arrow
        DemandBuffer[0] = lowestLow;
        return true;
    }
 
    return false;
}
 
// Function to open a sell trade
void SellTrade()
{
    // Calculate stop loss and take profit levels
    double stopLossLevel = Ask + StopLoss * Point;
    double takeProfitLevel = Ask - TakeProfit * Point;
 
    // Place the sell trade
    int ticket = OrderSend(Symbol(), OP_SELL, LotSize, Bid, 0, stopLossLevel, takeProfitLevel, "Sell Trade", MagicNumber());
 
    // Check if the trade was successful
    if (ticket > 0)
    {
        tradeCount++;
    }
}
 
// Function to open a buy trade
void BuyTrade()
{
    // Calculate stop loss and take profit levels
    double stopLossLevel = Bid - StopLoss * Point;
    double takeProfitLevel = Bid + TakeProfit * Point;
 
    // Place the buy trade
    int ticket = OrderSend(Symbol(), OP_BUY, LotSize, Ask, 0, stopLossLevel, takeProfitLevel, "Buy Trade", MagicNumber());
 
    // Check if the trade was successful
    if (ticket > 0)
    {
        tradeCount++;
    }
}
 
// Function to close all open trades
void CloseAllTrades()
{
    int total = OrdersTotal();
    for (int i = total - 1; i >= 0; i--)
    {
        if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES))
        {
            if (OrderSymbol() == Symbol() && OrderMagicNumber() == MagicNumber())
            {
                OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), 0);
            }
        }
    }
}
 
// Functio// Includes the trading function from the previous response
#include "TradingFunction.cpp"
 
// Additional strategy parameters
input double RiskPerTrade = 0.02; // Risk per trade as a percentage of account balance
input int RSIPeriod = 14; // RSI period
input double RSIOverboughtLevel = 70;
input double RSIOversoldLevel = 30;
 
// Indicator buffers
double RSIBuffer[];
 
// Initialization function
void OnInit()
{
    // Initialize the trading function
    OnInit();
 
    // Define the required RSI indicator buffer
    SetIndexBuffer(2, RSIBuffer);
}
 
// Trading function
void OnTick()
{
    // Calculate the current RSI value
    double currentRSI = iRSI(NULL, 0, RSIPeriod, PRICE_CLOSE, 0);
    RSIBuffer[0] = currentRSI;
 
    // Check if the maximum number of trades has been reached
    if (tradeCount >= MaxTrades)
        return;
 
    // Check for the presence of a supply or demand zone
    bool supplyZoneDetected = CheckSupplyZone();
    bool demandZoneDetected = CheckDemandZone();
 
    // If a supply zone is detected and the RSI is overbought
    if (supplyZoneDetected && currentRSI >= RSIOverboughtLevel)
    {
        // Open a sell trade
        SellTrade();
    }
 
    // If a demand zone is detected and the RSI is oversold
    if (demandZoneDetected && currentRSI <= RSIOversoldLevel)
    {
        // Open a buy trade
        BuyTrade();
    }
}
 
// Function to close all open trades
void CloseAllTrades()
{
    // Close all trades opened by the trading function
    CloseAllTrades();
}n to get the EA's magic number
int MagicNumber()
{
    return 123456; // Replace with your desired magic number
}
Post automatically merged:


Help me fix this ea and add RSI & MA to confirm trend fillter
 
Last edited by a moderator:

v9999c

Trader
Apr 29, 2024
1
0
6
49
hi, guys

I'm Richard , a software programmer with 15 years coding experience, for interact all best trading ideas , I'd like to code your EA(MT4,MT5) or indicator for free.

Please leave a comment about your trading idea , for example :

At 15 minutes chart, sell EUR/USD when touching the Boll band's up trend + AUDUSD is falling .

Or you can draw some the idea in a chart or paper.

Thanks
Richard

10th Oct 2023

Hi Richard,
Are you available for programming EA?
Thanks
Rgds,
Victor
 

Kayodemiza

Newbie
May 8, 2024
2
0
2
44
hi, guys

I'm Richard , a software programmer with 15 years coding experience, for interact all best trading ideas , I'd like to code your EA(MT4,MT5) or indicator for free.

Please leave a comment about your trading idea , for example :

At 15 minutes chart, sell EUR/USD when touching the Boll band's up trend + AUDUSD is falling .

Or you can draw some the idea in a chart or paper.

Thanks
Richard
10th Oct 2023


I need a Fibonacci retracement indicator with Buy and Sell alert

Buy:
When Bearish Candle closed below Fib 50% retracement

Sell:
When Bullish Candle closed above Fib 50% retracement
Post automatically merged:

I need a Fibonacci retracement indicator with Buy and Sell alert

Buy:
When Bearish Candle closed below Fib 50% retracement

Sell:
When Bullish Candle closed above Fib 50% retracement
 

Attachments

  • 76CBACC4-9336-4343-A21B-2EE46660D126.jpeg
    76CBACC4-9336-4343-A21B-2EE46660D126.jpeg
    99.6 KB · Views: 1

ddfg

Trader
Oct 12, 2022
16
11
14
hi, guys

I'm Richard , a software programmer with 15 years coding experience, for interact all best trading ideas , I'd like to code your EA(MT4,MT5) or indicator for free.

Please leave a comment about your trading idea , for example :

At 15 minutes chart, sell EUR/USD when touching the Boll band's up trend + AUDUSD is falling .

Or you can draw some the idea in a chart or paper.

Thanks
Richard
10th Oct 2023
Hello.
Do you have an EA / Indicator / Script, for Meta Trader 5, that writes the MAXIMUM DRAWDOWN of the HOLE account, NOT only of the currency pair on the chart, and sends Notifications, when a NEW MAXIMUM DRAWDOWN is reached ?
Thanks.
 

Kayodemiza

Newbie
May 8, 2024
2
0
2
44
Please can you code for me Supply & Demand indicator with a Buffer for Sell when price touch Supply Zone and
Buffer for Buy when price to Demand Zone

Thanks
 

avvvine

Newbie
Jul 27, 2024
1
0
1
24
hi, guys

I'm Richard , a software programmer with 15 years coding experience, for interact all best trading ideas , I'd like to code your EA(MT4,MT5) or indicator for free.

Please leave a comment about your trading idea , for example :

At 15 minutes chart, sell EUR/USD when touching the Boll band's up trend + AUDUSD is falling .

Or you can draw some the idea in a chart or paper.

Thanks
Richard
10th Oct 2023
Hi Master,
i need your help please
i want you to code a simple indicator that would be helpful to my entry execution in meta trader 4 and 5 if it s possible
i need a rectangle to be automatically drawn on my 5 seconds chart like the image below
so i can define the x and x' amount of pips also the r and r' so the lines get diplayed with these colors in the indicator s properties
also the width has to be fixed wtih a c amount of pips
and the whole rectangle has to be movable with the mouse
I would realy appreciate that
thanks in advance
1f60a.png
 

Attachments

  • xx.png
    xx.png
    19.8 KB · Views: 1

kinan

Trader
Aug 22, 2024
1
0
6
24
MQL4:
input int MagicNumber = 12345;
input double LotSize = 0.01;
input int RSIPeriod = 18;
input double TrailingStop = 50;
 
double rsiValue;
 
int start()
{
    rsiValue = iRSI(NULL, 0, RSIPeriod, PRICE_CLOSE, 0);
 
    // Buy conditions
    if (rsiValue > 20 && rsiValue <= 25 && !IsOrderOpen(OP_BUY))
        OpenOrder(OP_BUY);
 
    if (rsiValue > 15 && rsiValue <= 20 && !IsOrderOpen(OP_BUY))
        OpenOrder(OP_BUY);
 
    if (rsiValue > 10 && rsiValue <= 15 && !IsOrderOpen(OP_BUY))
        OpenOrder(OP_BUY);
 
    // Sell conditions
    if (rsiValue < 90 && rsiValue >= 85 && !IsOrderOpen(OP_SELL))
        OpenOrder(OP_SELL);
 
    if (rsiValue < 85 && rsiValue >= 80 && !IsOrderOpen(OP_SELL))
        OpenOrder(OP_SELL);
 
    if (rsiValue < 75 && rsiValue >= 70 && !IsOrderOpen(OP_SELL))
        OpenOrder(OP_SELL);
 
    // Trailing Stop for Buy positions
    if (rsiValue >= 50)
        ApplyTrailingStop(OP_BUY);
 
    // Trailing Stop for Sell positions
    if (rsiValue <= 50)
        ApplyTrailingStop(OP_SELL);
 
    return 0;
}
 
// Function to check if an order is already open
bool IsOrderOpen(int orderType)
{
    for (int i = OrdersTotal() - 1; i >= 0; i--)
    {
        if (OrderSelect(i, SELECT_BY_POS) && OrderMagicNumber() == MagicNumber && OrderType() == orderType)
            return true;
    }
    return false;
}
 
// Function to open an order
void OpenOrder(int orderType)
{
    if (orderType == OP_BUY)
        OrderSend(Symbol(), OP_BUY, LotSize, Ask, 3, 0, 0, "", MagicNumber, 0, Blue);
    else if (orderType == OP_SELL)
        OrderSend(Symbol(), OP_SELL, LotSize, Bid, 3, 0, 0, "", MagicNumber, 0, Red);
}
 
// Function to apply trailing stop
void ApplyTrailingStop(int orderType)
{
    for (int i = OrdersTotal() - 1; i >= 0; i--)
    {
        if (OrderSelect(i, SELECT_BY_POS) && OrderMagicNumber() == MagicNumber && OrderType() == orderType)
        {
            double price = (orderType == OP_BUY) ? Bid : Ask;
            double stopLevel = TrailingStop * Point;
            double newStop = (orderType == OP_BUY) ? price - stopLevel : price + stopLevel;
 
            if ((orderType == OP_BUY && OrderStopLoss() < newStop) || (orderType == OP_SELL && OrderStopLoss() > newStop))
            {
                OrderModify(OrderTicket(), OrderOpenPrice(), newStop, OrderTakeProfit(), 0, Green);
            }
        }
    }
}
 
Last edited by a moderator:

nash88

Trader
Sep 5, 2024
2
0
6
35
hi, guys

I'm Richard , a software programmer with 15 years coding experience, for interact all best trading ideas , I'd like to code your EA(MT4,MT5) or indicator for free.

Please leave a comment about your trading idea , for example :

At 15 minutes chart, sell EUR/USD when touching the Boll band's up trend + AUDUSD is falling .

Or you can draw some the idea in a chart or paper.

Thanks
Richard
10th Oct 2023
Hi, can you automate supertrend indicator to open two trades with TP1 and TP2 at pending order. The stop loss to trail along the indicator line.