명시
*Strategy:*
- Buy when the 50-day moving average crosses above the 200-day moving average
- Sell when the 50-day moving average crosses below the 200-day moving average
*Code:*
```
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
int OnInit()
{
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Script deinit function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
ObjectDelete(_MA50);
ObjectDelete(_MA200);
}
//+------------------------------------------------------------------+
//| Script tick function |
//+------------------------------------------------------------------+
void OnTick()
{
double ma50 = iMA(Symbol(), PERIOD_CURRENT, 50, 0, MODE_SMA, PRICE_CLOSE, 0);
double ma200 = iMA(Symbol(), PERIOD_CURRENT, 200, 0, MODE_SMA, PRICE_CLOSE, 0);
if (ma50 > ma200 && OrderSend(_Symbol, OP_BUY, 0.1, Ask, 3, Bid-20*Point, Bid+20*Point, "MyOrder", 0, 0, Green) == ORDER_RETCODE_DONE)
{
Comment("Buy order executed");
}
else if (ma50 < ma200 && OrderSend(_Symbol, OP_SELL, 0.1, Bid, 3, Ask-20*Point, Ask+20*Point, "MyOrder", 0, 0, Red) == ORDER_RETCODE_DONE)
{
Comment("Sell order executed");
}
}
//+------------------------------------------------------------------+
//| Script deinit function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
ObjectDelete(_MA50);
ObjectDelete(_MA200);
}
```
This code creates a simple moving average crossover strategy, buying when the 50-day MA crosses above the 200-day MA and selling when it crosses below.
응답함
1
등급
프로젝트
4
0%
중재
1
0%
/
0%
기한 초과
0
무료
2
등급
프로젝트
38
21%
중재
5
0%
/
60%
기한 초과
0
무료
3
등급
프로젝트
65
34%
중재
4
25%
/
50%
기한 초과
9
14%
작업중
4
등급
프로젝트
242
74%
중재
7
100%
/
0%
기한 초과
1
0%
작업중
게재됨: 1 기고글
5
등급
프로젝트
3345
67%
중재
77
48%
/
14%
기한 초과
342
10%
무료
게재됨: 1 코드
6
등급
프로젝트
8
13%
중재
6
33%
/
33%
기한 초과
0
무료
7
등급
프로젝트
81
43%
중재
27
11%
/
70%
기한 초과
8
10%
무료
8
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
9
등급
프로젝트
1462
63%
중재
21
57%
/
10%
기한 초과
43
3%
무료
10
등급
프로젝트
407
53%
중재
20
55%
/
15%
기한 초과
29
7%
로드됨
11
등급
프로젝트
945
47%
중재
309
58%
/
27%
기한 초과
125
13%
무료
비슷한 주문
I am looking for a professional developer to build a custom trading analysis software for me. This tool is NOT an automated trading bot (EA); it is an analysis dashboard to help me identify high-probability setups based on my strategy. Key Requirements: Multi-Timeframe Analysis: The software should scan 4 different timeframes (M15, M30, H1, H4, D1, WK1, MTH1) and alert me when my conditions are met. Indicator
I need editing of EA
30+ USD
Am looking for am experience Programmer who can Edit and compile 2 Ea"s that i built with the help of CHATGPT. I need the job to be done within one day and I will prove the source code
AI SIGNAL GENERATING BOT
30 - 35 USD
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
Robot Requirements Specification
30 - 100 USD
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
Ninjatrader strategy develop
30+ USD
i need an expert to help join 3 model i have in ninjatrader into one, kindly message me and i will be expecting from you and i need this work done in maximum of 4 days, so i need expert that can get it done
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
프로젝트 정보
예산
50+ USD
기한
에서 1 로 4 일