• Home
  • Forums
  • News
  • Calendar
  • Coins
  • Market
  • Login
  • Join
  • User/Email: Password:
  • 7:38pm
Menu
  • Forums
  • News
  • Calendar
  • Coins
  • Market
  • Login
  • Join
  • 7:38pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • 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 54 replies

I will code your pivot EAs for no charge 20 replies

Need help to code EAs for MT4 and MT5 4 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
  • 41,040
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 29782979298029812982 Page 2983
  • 1 2982 Page 2983
  •  
  • Post #59,641
  • Quote
  • Mar 25, 9:25am (10 hr ago) Mar 25, 9:25am (10 hr ago)
  •  dk58198
  • | Joined Jun 2011 | Status: Member | 122 Posts
Stupid question is it possible to create ea based on candles and use previous candle as your Stop-loss and have trailing stop for profit. For example the pair am looking at is at 10 on 9pm and on next day 7am the pair is at 20 so on 5min chart the next down candle past 7am the EA open a sell and the Stop-loss is previous candle high. Now with trailing stop let's say for every 10pip profit stop moves up by 5pips. This is just an idea and without any indicators at all or maybe just the ATR for Stop-loss and profit. Is this possible to turn into EA would like to know the idea is have small Stop-loss and have bigger profits so even if the % is low its still can ve profitable
 
 
  • Post #59,642
  • Quote
  • Mar 25, 9:30am (10 hr ago) Mar 25, 9:30am (10 hr ago)
  •  Georgebaker
  • | Joined Nov 2009 | Status: Member | 518 Posts
Quoting solorik
Disliked
{quote} i'm so sorry bro, it's my mistake i should had made it clear from the beginning but my English is not that good sorry again brother
Ignored
No problem bro, but you have to be more specific.

So you want to see, on the screen, all open orders that are in drawdown? Correct me if i'm wrong

You English is fine though
Blindly following others will make you blind!
 
 
  • Post #59,643
  • Quote
  • Mar 25, 10:35am (9 hr ago) Mar 25, 10:35am (9 hr ago)
  •  jblanked
  • Joined Sep 2022 | Status: Member | 104 Posts
Quoting dk58198
Disliked
Stupid question is it possible to create ea based on candles and use previous candle as your Stop-loss and have trailing stop for profit. For example the pair am looking at is at 10 on 9pm and on next day 7am the pair is at 20 so on 5min chart the next down candle past 7am the EA open a sell and the Stop-loss is previous candle high. Now with trailing stop let's say for every 10pip profit stop moves up by 5pips. This is just an idea and without any indicators at all or maybe just the ATR for Stop-loss and profit. Is this possible to turn...
Ignored
Yes it is possible
Software Developer and Music Producer
 
 
  • Post #59,644
  • Quote
  • Edited 10:46am Mar 25, 10:35am (9 hr ago) | Edited 10:46am
  •  ffss
  • | Joined Jul 2020 | Status: Member | 101 Posts
Quoting thommas
Disliked
Hi guys, Please help to change this Multi Symbol EA so that it takes only one deal per one bar. EA uses arrow indicator. At the moment it opens lot of trades per bar. {file} {file}
Ignored
Can i ask where did you get those? EA doesnt seem to work in backtest, does it work on live?

Ok, it works deleting the "+" on the symbols. But the indicator repaints.
 
 
  • Post #59,645
  • Quote
  • Mar 25, 10:38am (9 hr ago) Mar 25, 10:38am (9 hr ago)
  •  jblanked
  • Joined Sep 2022 | Status: Member | 104 Posts
Quoting Samalin
Disliked
Goog day honorable Coders please help to add price input option and enable multiple application in this indi , one i have is failing to apply multiple times, i previously asked for help but still the same problem thank you for your help {file}
Ignored
What do you mean a price input option?
Software Developer and Music Producer
 
 
  • Post #59,646
  • Quote
  • Mar 25, 10:48am (8 hr ago) Mar 25, 10:48am (8 hr ago)
  •  Samalin
  • Joined Apr 2017 | Status: Member | 668 Posts
Quoting jblanked
Disliked
{quote} What do you mean a price input option?
Ignored
i mean a price i will choose to start printing the lines example attached image
Attached Image (click to enlarge)
Click to Enlarge

Name: FF.png
Size: 3 KB
 
 
  • Post #59,647
  • Quote
  • Mar 25, 10:50am (8 hr ago) Mar 25, 10:50am (8 hr ago)
  •  jblanked
  • Joined Sep 2022 | Status: Member | 104 Posts
Quoting thommas
Disliked
Hi guys, Please help to change this Multi Symbol EA so that it takes only one deal per one bar. EA uses arrow indicator. At the moment it opens lot of trades per bar. {file} {file}
Ignored
I added these functions in your code (currently we're using the time one)
Attached Image (click to enlarge)
Click to Enlarge

Name: Screen Shot 2023-03-25 at 10.48.13 AM.png
Size: 15 KB


Feel free to adjust to your liking but this will only open the trade at the beginning of the candle
Attached File(s)
File Type: ex5 RR EA v1.1.ex5   61 KB | 3 downloads
File Type: mq5 RR EA v1.1.mq5   21 KB | 6 downloads
Software Developer and Music Producer
 
1
  • Post #59,648
  • Quote
  • Mar 25, 10:51am (8 hr ago) Mar 25, 10:51am (8 hr ago)
  •  jblanked
  • Joined Sep 2022 | Status: Member | 104 Posts
Quoting Samalin
Disliked
{quote} i mean a price i will choose to start printing the lines example attached image {image}
Ignored
Sorry I can't help
Software Developer and Music Producer
 
 
  • Post #59,649
  • Quote
  • Mar 25, 11:11am (8 hr ago) Mar 25, 11:11am (8 hr ago)
  •  Samalin
  • Joined Apr 2017 | Status: Member | 668 Posts
Quoting jblanked
Disliked
{quote} Sorry I can't help
Ignored
thanks for your wanting to help bro, i have the attached but i cant apply it twice can you help to make it possible?
Attached File(s)
File Type: mq4 SpacedLines.mq4   5 KB | 9 downloads
 
 
  • Post #59,650
  • Quote
  • Mar 25, 11:22am (8 hr ago) Mar 25, 11:22am (8 hr ago)
  •  thommas
  • | Joined Sep 2017 | Status: Member | 77 Posts
Quoting ffss
Disliked
{quote} Can i ask where did you get those? EA doesnt seem to work in backtest, does it work on live? Ok, it works deleting the "+" on the symbols. But the indicator repaints.
Ignored
EA is from MQL5 codebase.
Indicator does no repaint if candle is closed.
But this is just random indicator which I also found from codebase for testing Multi Symbol EA.
 
 
  • Post #59,651
  • Quote
  • Edited 12:02pm Mar 25, 11:41am (7 hr ago) | Edited 12:02pm
  •  Georgebaker
  • | Joined Nov 2009 | Status: Member | 518 Posts
Quoting Samalin
Disliked
{quote} thanks for your wanting to help bro, i have the attached but i cant apply it twice can you help to make it possible? {file}
Ignored
Try this

Just change the "objname" at the top of the indicator input each time you add the indi

Attached File(s)
File Type: ex4 SpacedLines_Samalin.ex4   15 KB | 7 downloads


Attached Image (click to enlarge)
Click to Enlarge

Name: SpaceLines_Samalin.jpg
Size: 233 KB
Blindly following others will make you blind!
 
2
  • Post #59,652
  • Quote
  • Mar 25, 11:58am (7 hr ago) Mar 25, 11:58am (7 hr ago)
  •  thommas
  • | Joined Sep 2017 | Status: Member | 77 Posts
Quoting jblanked
Disliked
{quote} I added these functions in your code (currently we're using the time one) {image} Feel free to adjust to your liking but this will only open the trade at the beginning of the candle {file} {file}
Ignored
Thank you!!! Works brilliant!
Appreciate your effort!
 
1
  • Post #59,653
  • Quote
  • Mar 25, 12:30pm (7 hr ago) Mar 25, 12:30pm (7 hr ago)
  •  ffss
  • | Joined Jul 2020 | Status: Member | 101 Posts
Quoting thommas
Disliked
{quote} EA is from MQL5 codebase. Indicator does no repaint if candle is closed. But this is just random indicator which I also found from codebase for testing Multi Symbol EA.
Ignored
When i backtest the indicator, the arrow shows suddenly 2-3 bars before the actual bar, when it wasnt there on bar close. Are you sure it doesnt repaint?
 
 
  • Post #59,654
  • Quote
  • Edited 4:37pm Mar 25, 4:24pm (3 hr ago) | Edited 4:37pm
  •  Samalin
  • Joined Apr 2017 | Status: Member | 668 Posts
Quoting Georgebaker
Disliked
{quote} Try this Just change the "objname" at the top of the indicator input each time you add the indi {file} {image}
Ignored
thanks so much Sir, thank you so so much for helping i appreciate
 
1
  • Post #59,655
  • Quote
  • Mar 25, 4:29pm (3 hr ago) Mar 25, 4:29pm (3 hr ago)
  •  classy
  • Joined Jun 2012 | Status: Trader , Analyst and Mentor | 4,688 Posts
Quoting classy
Disliked
{quote} if you are interested check https://www.youtube.com/watch?v=uxwr...vgo2wf7svqf0ov
Ignored
i know how to manage it and i am doing but one indicator will be great.if any master coder wish code one dr/idr indicator please check attached images.thanks in advance.
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: WHAT IS DR IDR INDI WHY SPECIAL   6.png
Size: 91 KB
Click to Enlarge

Name: WHAT IS DR IDR INDI WHY SPECIAL   4.png
Size: 94 KB
Click to Enlarge

Name: WHAT IS DR IDR INDI WHY SPECIAL   3.png
Size: 76 KB
Click to Enlarge

Name: WHAT IS DR IDR INDI  2.png
Size: 92 KB
Click to Enlarge

Name: WHAT IS DR IDR INDI 0.png
Size: 102 KB
Say something meaningful or Silence!!
 
 
  • Post #59,656
  • Quote
  • Mar 25, 5:07pm (2 hr 31 min ago) Mar 25, 5:07pm (2 hr 31 min ago)
  •  Psggold
  • | New Member | Status: Junior Member | 1 Post
Hi dude how are you?
Can you please modify the EA to works?
I have the code but i cant compile him.
I hope can you helpme

Inserted Code
//+------------------------------------------------------------------+
//| ASESOR EXPERTO PSG |
//| Desarrollado por el equipo de PSGGOLD|
//| Marzo de 2023 |
//+------------------------------------------------------------------+
 
//--- parámetros de entrada
extern int MA_Period = 50;
extern int RSI_Period = 14;
extern double TakeProfit = 100.0;
extern double StopLoss = 50.0;
extern double RiskPercent = 1.0;
extern double PartialClose1 = 50.0;
extern double PartialClose2 = 75.0;
extern double PartialClose3 = 100.0;
 
//--- variables globales
int sl, tp;
double lotSize;
int MagicNumber = 2023;
 
//--- lista de pares de divisas permitidos
string allowed_symbols[] = {"XAUUSD", "USDJPY", "USDCHF", "USDCAD", "GBPUSD", "GBPJPY", "GBPCHF", "EURUSD", "EURGBP", "EURCAD", "EURNZD", "AUDCAD", "AUDUSD", "NZDUSD", "NZDJPY"};
 
//--- función de inicialización del asesor experto
int init()
{
return(0);
}
 
//--- función de finalización del asesor experto
int deinit()
{
return(0);
}
 
//--- función de tick del asesor experto
void OnTick()
{
//--- determinar el número total de símbolos disponibles
int symbols_total = SymbolsTotal(false);
//--- recorrer todos los símbolos
for(int i = 0; i < symbols_total; i++)
{
    //--- obtener el nombre del símbolo
    string symbol = SymbolName(i, false);
 
    //--- verificar si el símbolo se encuentra en la lista de pares de divisas permitidos
    int index = ArrayFindIndex(allowed_symbols, symbol);
    if(index == -1)
    {
        continue;
    }
 
    //--- obtener los precios de alta, baja y cierre para el período MA_Period en el marco de tiempo actual
    double ma_high = iHigh(symbol, 0, MA_Period);
    double ma_low = iLow(symbol, 0, MA_Period);
    double ma_close = iClose(symbol, 0, MA_Period);
 
    //--- determinar si la tendencia es alcista o bajista
    bool is_trend_up = ma_close > ma_high && ma_close > ma_low;
 
    //--- encontrar el bloque de orden más cercano
    int order_block = FindOrderBlock(symbol);
 
    //--- encontrar los niveles de oferta y demanda más cercanos
    double supply_level = 0, demand_level = 0;
    FindSupplyDemand(symbol, supply_level, demand_level);
 
    //--- calcular el tamaño del lote en base al riesgo y al margen disponible
    double margin = AccountFreeMargin() * RiskPercent / 100;
    lotSize = CalculateLotSize(symbol, margin, StopLoss);
 
    //--- encontrar los niveles de toma de ganancia más adecuados
    double take_profit_level = 0;
FindTakeProfit(symbol, is_trend_up, supply_level, demand_level, TakeProfit, PartialClose1, PartialClose2, PartialClose3, take_profit_level);
 
 
//--- colocar la orden
if(order_block == -1)
{
    //--- no se ha encontrado ningún bloque de órdenes, abrir una nueva orden
    if(is_trend_up)
    {
        //--- tendencia alcista, abrir una orden de compra
        int ticket = OrderSend(symbol, OP_BUY, lotSize, Ask, Slippage, 0, take_profit_level, 0, 0, 0, Blue);
        if(ticket > 0)
        {
            OrderModify(ticket, 0, 0, StopLoss, 0, Green);
        }
    }
    else
    {
        //--- tendencia bajista, abrir una orden de venta
        int ticket = OrderSend(symbol, OP_SELL, lotSize, Bid, Slippage, 0, take_profit_level, 0, 0, 0, Red);
        if(ticket > 0)
        {
            OrderModify(ticket, 0, 0, StopLoss, 0, Green);
        }
        else
        {
            Print("Error al abrir la orden: ", GetLastError());
        }
    }
}
else
{
    //--- se ha encontrado un bloque de órdenes, actualizar la orden existente
    int total_orders = OrdersTotal();
    for(int j = order_block; j < total_orders; j++)
    {
        if(OrderSymbol(j) == symbol && OrderMagicNumber(j) == MagicNumber)
        {
            if(OrderType(j) == OP_BUY)
            {
                //--- tendencia alcista, actualizar la orden de compra
                OrderModify(OrderTicket(j), 0, take_profit_level, 0, 0, Green);
            }
            else
            {
                //--- tendencia bajista, actualizar la orden de venta
                OrderModify(OrderTicket(j), 0, take_profit_level, 0, 0, Red);
            }
        }
    }
}
//--- función para encontrar el bloque de orden más cercano
int FindOrderBlock(string symbol)
{
int total_orders = OrdersTotal();
for(int i = 0; i < total_orders; i++)
{
if(OrderSymbol(i) == symbol && OrderMagicNumber(i) == MagicNumber)
{
return(i);
}
}
return(-1);
}
def findorderblock(high, low, volume):
    # Definir los puntos extremos
    max_high = max(high)
    min_low = min(low)
 
    # Definir los puntos decisionales
    max_volume = max(volume)
    mean_volume = sum(volume) / len(volume)
 
    # Encontrar el rango de precios en el que se produjo el mayor volumen
    volume_range = [i for i, v in enumerate(volume) if v >= max_volume * 0.9]
    price_range = (min_low, max_high) if high.index(max_high) < low.index(min_low) else (max_high, min_low)
 
    # Identificar el Order Block
    order_block = [i for i in volume_range if i in range(low.index(price_range[0]), high.index(price_range[1]))]
    
    return order_block
 
//--- función para encontrar los niveles de oferta y demanda más cercanos
void FindSupplyDemand(string symbol, double &supply_level, double &demand_level)
{
//--- obtener los precios de cierre para el período RSI_Period en el marco de tiempo actual
double rsi_close = iClose(symbol, 0, RSI_Period);
//--- calcular los niveles de oferta y demanda
double atr = iATR(symbol, 0, RSI_Period);
supply_level = NormalizeDouble(iHigh(symbol, 0, RSI_Period) + atr * 3, Digits);
demand_level = NormalizeDouble(iLow(symbol, 0, RSI_Period) - atr * 3, Digits);
}
 
//--- función para calcular el tamaño del lote en base al riesgo y al margen disponible
double CalculateLotSize(string symbol, double margin, double stop_loss)
{
double tick_value = MarketInfo(symbol, MODE_TICKVALUE);
double tick_size = MarketInfo(symbol, MODE_TICKSIZE);
double min_lot = MarketInfo(symbol, MODE_MINLOT);
double lot_step = MarketInfo(symbol, MODE_LOTSTEP);
double max_lot = MarketInfo(symbol, MODE);
 
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
 
# Importar los datos
data = pd.read_csv('datos.csv')
 
# Encontrar los niveles de oferta y demanda
max_demand = data['demand'].max()
max_supply = data['supply'].max()
 
# Crear la figura y los subplots
fig, ax = plt.subplots()
 
# Graficar la curva de demanda
demand_curve = ax.plot(data['price'], data['demand'], label='Demanda')
 
# Graficar la curva de oferta
supply_curve = ax.plot(data['price'], data['supply'], label='Oferta')
 
# Agregar el título y las etiquetas de los ejes
ax.set_title('Curva de oferta y demanda')
ax.set_xlabel('Precio')
ax.set_ylabel('Cantidad')
 
# Encontrar el equilibrio
diff = data['demand'] - data['supply']
eq_price = data.loc[diff.abs().idxmin(), 'price']
eq_quantity = data.loc[data['price'] == eq_price, 'quantity'].sum()
 
# Graficar la línea de equilibrio
eq_line = ax.axvline(x=eq_price, linestyle='--', color='black', label='Precio de equilibrio')
 
# Agregar las anotaciones
ax.annotate(f'Precio de equilibrio: {eq_price}', xy=(eq_price, max(max_demand, max_supply)), xytext=(eq_price + 10, max(max_demand, max_supply)), arrowprops=dict(facecolor='black', shrink=0.05))
ax.annotate(f'Cantidad de equilibrio: {eq_quantity}', xy=(eq_price, eq_quantity), xytext=(eq_price + 10, eq_quantity), arrowprops=dict(facecolor='black', shrink=0.05))
 
# Agregar la leyenda
ax.legend()
 
# Mostrar la figura
plt.show()
 
 
  • Post #59,657
  • Quote
  • Mar 25, 5:32pm (2 hr 6 min ago) Mar 25, 5:32pm (2 hr 6 min ago)
  •  Samalin
  • Joined Apr 2017 | Status: Member | 668 Posts
Quoting classy
Disliked
{quote} i know how to manage it and i am doing but one indicator will be great.if any master coder wish code one dr/idr indicator please check attached images.thanks in advance. {image} {image} {image} {image} {image}
Ignored
Sir can these indicators help? it looks similar, since its uses time
Attached File(s)
File Type: ex4 Session HiLo Single Bar Range Multi.ex4   59 KB | 1 download
File Type: ex4 Session_Boxes_High_Low_Mid_Breakout 1.42 JEANLOUIE.ex4   119 KB | 1 download
File Type: mq4 Breakout_PANCA_EAGLE_4Zach.mq4   8 KB | 2 downloads
 
 
  • Post #59,658
  • Quote
  • Mar 25, 5:49pm (1 hr 49 min ago) Mar 25, 5:49pm (1 hr 49 min ago)
  •  Georgebaker
  • | Joined Nov 2009 | Status: Member | 518 Posts
Quoting Psggold
Disliked
Hi dude how are you? Can you please modify the EA to works? I have the code but i cant compile him. I hope can you helpme //+------------------------------------------------------------------+ //| ASESOR EXPERTO PSG | //| Desarrollado por el equipo de PSGGOLD| //| Marzo de 2023 | //+------------------------------------------------------------------+ //--- parámetros de entrada extern int MA_Period = 50; extern int RSI_Period = 14; extern double TakeProfit = 100.0; extern double StopLoss = 50.0; extern double RiskPercent = 1.0; extern double PartialClose1...
Ignored
This file does not look complete, do you have the original file with all the code?

Have you run this code through a word processor or something?
Inserted Code
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
 
Import los datos
data = pd.read_csv('datos.csv')
 
# Encontrar los niveles de oferta y demanda
max_demand = data['demand'].max()
max_supply = data['supply'].max()
 
# Crear la figura y los subplots
fig, ax = plt.subplots()
Blindly following others will make you blind!
 
 
  • Post #59,659
  • Quote
  • Mar 25, 5:51pm (1 hr 46 min ago) Mar 25, 5:51pm (1 hr 46 min ago)
  •  smd101
  • | Joined Apr 2020 | Status: Member | 106 Posts | Online Now
Hi All,

Does somebody have TDI Angelator in MT5 ?
Much appreciated.

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

Name: 1.png
Size: 2 KB
 
 
  • Post #59,660
  • Quote
  • Last Post: Mar 25, 5:52pm (1 hr 46 min ago) Mar 25, 5:52pm (1 hr 46 min ago)
  •  thommas
  • | Joined Sep 2017 | Status: Member | 77 Posts
Quoting ffss
Disliked
{quote} When i backtest the indicator, the arrow shows suddenly 2-3 bars before the actual bar, when it wasnt there on bar close. Are you sure it doesnt repaint?
Ignored
I do not know. Like I said, its just some random indicator. Jus needed some arrow indicator for testing Multi Currency EA functions, nothing else.
There is no strategy behind that EA, its more like template.
 
 
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 29782979298029812982 Page 2983
    • 1 2982 Page 2983
14 traders viewing now, 3 are members:
joseweyne13
,
ewebb205
,
MohdAizat
Top of Page
  • Facebook
  • Twitter
About CC
  • Mission
  • Products
  • User Guide
  • Blog
  • Contact
CC Products
  • Forums
  • Calendar
  • News
  • Coins
  • Market
CC Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow CC
  • Facebook
  • Twitter

CC Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Forex Factory

Crypto Craft® is a brand of Fair Economy, Inc.

Terms of Service / ©2023