명시
//+------------------------------------------------------------------+
//| Expert Advisor: Gold AI Scalping Bot (M1/M5 MA Crossover) |
//+------------------------------------------------------------------+
#property copyright "OpenAI"
#property version "1.01"
#property strict
input string symbol = "XAUUSD";
input ENUM_TIMEFRAMES timeframe = PERIOD_M1; // Change to PERIOD_M5 if needed
input int fastMA = 5;
input int slowMA = 20;
input double lotSize = 0.1;
input int stopLoss = 100; // in points (e.g., 10 pips)
input int takeProfit = 150; // in points (e.g., 15 pips)
input int magicNumber = 777777;
double maFastPrev, maFastCurr;
double maSlowPrev, maSlowCurr;
//+------------------------------------------------------------------+
//| Expert initialization |
//+------------------------------------------------------------------+
int OnInit()
{
Print("Gold AI Scalping Bot initialized on ", EnumToString(timeframe));
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
if (Symbol() != symbol) return;
if (PositionsTotal() > 0) return; // Avoid multiple trades
// MA values
maFastPrev = iMA(symbol, timeframe, fastMA, 0, MODE_EMA, PRICE_CLOSE, 1);
maFastCurr = iMA(symbol, timeframe, fastMA, 0, MODE_EMA, PRICE_CLOSE, 0);
maSlowPrev = iMA(symbol, timeframe, slowMA, 0, MODE_EMA, PRICE_CLOSE, 1);
maSlowCurr = iMA(symbol, timeframe, slowMA, 0, MODE_EMA, PRICE_CLOSE, 0);
// Crossover detection
if (maFastPrev < maSlowPrev && maFastCurr > maSlowCurr)
{
// BUY signal
OpenTrade(ORDER_TYPE_BUY);
}
else if (maFastPrev > maSlowPrev && maFastCurr < maSlowCurr)
{
// SELL signal
OpenTrade(ORDER_TYPE_SELL);
}
}
//+------------------------------------------------------------------+
//| Trade execution |
//+------------------------------------------------------------------+
void OpenTrade(ENUM_ORDER_TYPE type)
{
double price = (type == ORDER_TYPE_BUY) ? SymbolInfoDouble(symbol, SYMBOL_ASK)
: SymbolInfoDouble(symbol, SYMBOL_BID);
double sl = (type == ORDER_TYPE_BUY) ? price - stopLoss * _Point
: price + stopLoss * _Point;
double tp = (type == ORDER_TYPE_BUY) ? price + takeProfit * _Point
: price - takeProfit * _Point;
MqlTradeRequest request;
MqlTradeResult result;
ZeroMemory(request);
request.action = TRADE_ACTION_DEAL;
request.symbol = symbol;
request.volume = lotSize;
request.type = type;
request.price = NormalizeDouble(price, _Digits);
request.sl = NormalizeDouble(sl, _Digits);
request.tp = NormalizeDouble(tp, _Digits);
request.magic = magicNumber;
request.deviation = 10;
request.type_filling = ORDER_FILLING_IOC;
if (!OrderSend(request, result))
{
Print("Trade failed: ", result.retcode);
}
else
{
Print("Trade opened: ", (type == ORDER_TYPE_BUY ? "BUY" : "SELL"));
}
}
응답함
1
등급
프로젝트
2873
63%
중재
121
45%
/
26%
기한 초과
429
15%
무료
2
등급
프로젝트
19
11%
중재
4
25%
/
50%
기한 초과
1
5%
작업중
3
등급
프로젝트
627
40%
중재
2
100%
/
0%
기한 초과
1
0%
무료
게재됨: 9 코드
4
등급
프로젝트
4
25%
중재
1
0%
/
100%
기한 초과
0
무료
5
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
6
등급
프로젝트
0
0%
중재
5
0%
/
60%
기한 초과
0
무료
7
등급
프로젝트
396
27%
중재
38
39%
/
50%
기한 초과
1
0%
무료
8
등급
프로젝트
1
100%
중재
2
0%
/
100%
기한 초과
0
작업중
9
등급
프로젝트
1
0%
중재
1
0%
/
100%
기한 초과
0
무료
10
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
11
등급
프로젝트
80
23%
중재
24
13%
/
58%
기한 초과
7
9%
작업중
12
등급
프로젝트
225
20%
중재
19
42%
/
16%
기한 초과
0
로드됨
13
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
14
등급
프로젝트
253
30%
중재
0
기한 초과
3
1%
무료
게재됨: 2 코드
15
등급
프로젝트
950
75%
중재
26
19%
/
65%
기한 초과
100
11%
로드됨
게재됨: 1 기고글, 6 코드
16
등급
프로젝트
686
34%
중재
32
72%
/
9%
기한 초과
22
3%
무료
17
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
18
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
19
등급
프로젝트
12
17%
중재
2
0%
/
50%
기한 초과
1
8%
무료
20
등급
프로젝트
30
13%
중재
10
0%
/
50%
기한 초과
8
27%
작업중
21
등급
프로젝트
4
0%
중재
2
50%
/
50%
기한 초과
2
50%
무료
22
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
23
등급
프로젝트
278
77%
중재
12
75%
/
0%
기한 초과
4
1%
작업중
24
등급
프로젝트
8
13%
중재
5
40%
/
20%
기한 초과
0
작업중
25
등급
프로젝트
741
56%
중재
47
32%
/
30%
기한 초과
117
16%
로드됨
게재됨: 1 코드
26
등급
프로젝트
306
69%
중재
2
100%
/
0%
기한 초과
0
무료
게재됨: 1 코드
27
등급
프로젝트
945
47%
중재
309
58%
/
27%
기한 초과
125
13%
무료
28
등급
프로젝트
1
0%
중재
0
기한 초과
0
무료
29
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
30
등급
프로젝트
284
35%
중재
17
24%
/
59%
기한 초과
42
15%
로드됨
31
등급
프로젝트
3
0%
중재
3
0%
/
67%
기한 초과
0
작업중
32
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
33
등급
프로젝트
29
21%
중재
20
10%
/
50%
기한 초과
8
28%
작업중
34
등급
프로젝트
1
0%
중재
1
0%
/
0%
기한 초과
0
무료
비슷한 주문
Copy trade on binance
30+ USD
i need the multi-chain dex bot with set up and installation i need you to help me set the copy reading wallet on binance or phantom with capital for 100 Euro to 1 Million in one year
Please teach me orderflow
300 - 3000 USD
I am searching a profitable trader that is using orderflow in his analysis. Only serious offers please. Please send me your history of trades. I need proof. Merry Christmas everyone
Scalper EA Development – XAUUSD
30+ USD
I am looking for an experienced MQL5 developer to create a high-performance Super Scalper EA for MetaTrader 5, designed specifically for XAUUSD trading on IC Markets. Only serious developers with proven scalping experience should apply. 🔧 General Requirements Platform: MetaTrader 5 (MT5) Instrument: XAUUSD Timeframe: M1 – M15 Broker: IC Markets Initial capital: $100–150 USD Minimum lot: 0.01 Risk per trade
Looking for an Existing Profitable MQL EA for XAUUSD (Gold) – Daily Micro-Scalping I am looking for an already existing Expert Advisor (EA) or script for XAUUSD (Gold) based on a daily micro-scalping strategy . I am not looking to develop a new strategy from scratch , but rather a ready-to-use or previously used system with proven performance. Basic Requirements Instrument: XAUUSD (Gold) Platform: MT5 (preferred) /
Forex Expert Advisor/Robot mt4
30 - 50 USD
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
Ninjatrader indicator
30+ USD
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Nijatrader indicator
30+ USD
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
Create a script. The purpose of the script is to catch changes in the trend and execute a trade. We will include a single indicator that is used as a signal. The stop loss is defined. Here is the blueprint: The indicator is Donchain Channels. The parameters are Lenght 20, Offset: 0. The timeframe is 1H. Instrument is EUR/USD. Condition: use candle close as parameter to execute a BUY or SELL order. if the Donchain
프로젝트 정보
예산
50+ USD