Xauuu

MQL5 Experts

Termos de Referência

const buyXAU = async () => {
  const volume = 0.01;
  const symbol = 'XAUUSD';
  const price = await mt5.symbolInfo(symbol).last;
  const stopLoss = price - 10; // กำหนด Stop Loss ที่ราคาลดลง 10 พิ้นที่
  const takeProfit = price + 10; // กำหนด TP ที่ราคาเพิ่มขึ้น 10 พิ้นที่
  const type = mt5.ORDER_TYPE_BUY;
  const magic = 123456;
  const order = {
    symbol: symbol,
    action: mt5.ORDER_TYPE_BUY,
    volume: volume,
    price: price,
    sl: stopLoss,
    tp: takeProfit,
    type: type,
    magic: magic,
  };
  const result = await mt5.trade(order);
  console.log('Buy XAU result:', result);
};

// ตัวอย่างโค้ดสำหรับการขาย XAU โดยกำหนด TP และ Stop Loss เพื่อจัดการความเสี่ยง
const sellXAU = async () => {
  const volume = 0.01;
  const symbol = 'XAUUSD';
  const price = await mt5.symbolInfo(symbol).last;
  const stopLoss = price + 10; // กำหนด Stop Loss ที่ราคาเพิ่มขึ้น 10 พิ้นที่
  const takeProfit = price - 10; // กำหนด TP ที่ราคาลดลง 10 พิ้นที่
  const type = mt5.ORDER_TYPE_SELL;
  const magic = 123456;
  const

Respondido

1
Desenvolvedor 1
Classificação
(13)
Projetos
12
33%
Arbitragem
2
0% / 100%
Expirado
1
8%
Livre
2
Desenvolvedor 2
Classificação
(140)
Projetos
204
80%
Arbitragem
17
29% / 47%
Expirado
10
5%
Trabalhando
3
Desenvolvedor 3
Classificação
(35)
Projetos
57
35%
Arbitragem
4
25% / 50%
Expirado
6
11%
Carregado
Pedidos semelhantes
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link

Informações sobre o projeto

Orçamento
30+ USD
Desenvolvedor
27 USD