MQL5
전문가
다른
Forex
Trading robot/indicator debugging
Strategy optimization
Statistics and mathematics
C++
Strategy modules
Python
Panels and dialog boxes
C#
Stocks
Custom graphics
Futures
MySQL
Product Design
JavaScript
Options
Java
Collection of data on the internet
SQL
HTML
PHP
Uploading data to a website
Data mining
Text writing
Text translation
OpenCL
ALGLIB
PostgreSQL
Linux
Photoshop
R
RegExp
명시
//+------------------------------------------------------------------+
//| RSI + Bollinger Bands EA (MT5) |
//| Built for Jonah |
//+------------------------------------------------------------------+
#property strict
#property version "1.00"
//================ INPUTS =================
input string SymbolName = "XAUUSD";
input double LotSize = 0.01;
input int RSIPeriod = 14;
input double RSI_Buy_Level = 30;
input double RSI_Sell_Level = 70;
input int BB_Period = 20;
input double BB_Deviation = 2.0;
input double MaxSpread = 0.2;
input int StopLossPoints = 300;
input int TakeProfitPoints= 600;
//================ HANDLES =================
int rsiHandle;
int bbHandle;
//================ INIT ====================
int OnInit()
{
rsiHandle = iRSI(SymbolName, PERIOD_CURRENT, RSIPeriod, PRICE_CLOSE);
bbHandle = iBands(SymbolName, PERIOD_CURRENT, BB_Period, BB_Deviation, 0, PRICE_CLOSE);
if(rsiHandle == INVALID_HANDLE || bbHandle == INVALID_HANDLE)
return INIT_FAILED;
return INIT_SUCCEEDED;
}
//================ TICK ====================
void OnTick()
{
if(!SpreadOK()) return;
if(PositionSelect(SymbolName)) return;
double rsi[1];
double upper[1], lower[1];
double price = SymbolInfoDouble(SymbolName, SYMBOL_BID);
CopyBuffer(rsiHandle, 0, 0, 1, rsi);
CopyBuffer(bbHandle, 1, 0, 1, upper);
CopyBuffer(bbHandle, 2, 0, 1, lower);
// BUY CONDITION
if(rsi[0] <= RSI_Buy_Level && price <= lower[0])
OpenTrade(ORDER_TYPE_BUY);
// SELL CONDITION
if(rsi[0] >= RSI_Sell_Level && price >= upper[0])
OpenTrade(ORDER_TYPE_SELL);
}
//================ SPREAD CHECK =================
bool SpreadOK()
{
double spread = SymbolInfoDouble(SymbolName, SYMBOL_SPREAD);
return spread <= MaxSpread;
}
//================ TRADE EXECUTION =================
void OpenTrade(ENUM_ORDER_TYPE type)
{
MqlTradeRequest req;
MqlTradeResult res;
ZeroMemory(req);
double price = (type == ORDER_TYPE_BUY)
? SymbolInfoDouble(SymbolName, SYMBOL_ASK)
: SymbolInfoDouble(SymbolName, SYMBOL_BID);
req.action = TRADE_ACTION_DEAL;
req.symbol = SymbolName;
req.volume = LotSize;
req.type = type;
req.price = price;
req.sl = (type == ORDER_TYPE_BUY)
? price - StopLossPoints * _Point
: price + StopLossPoints * _Point;
req.tp = (type == ORDER_TYPE_BUY)
? price + TakeProfitPoints * _Point
: price - TakeProfitPoints * _Point;
req.deviation= 10;
req.magic = 111222;
OrderSend(req, res);
}
//================ DEINIT =================
void OnDeinit(const int reason)
{
IndicatorRelease(rsiHandle);
IndicatorRelease(bbHandle);
}
//| RSI + Bollinger Bands EA (MT5) |
//| Built for Jonah |
//+------------------------------------------------------------------+
#property strict
#property version "1.00"
//================ INPUTS =================
input string SymbolName = "XAUUSD";
input double LotSize = 0.01;
input int RSIPeriod = 14;
input double RSI_Buy_Level = 30;
input double RSI_Sell_Level = 70;
input int BB_Period = 20;
input double BB_Deviation = 2.0;
input double MaxSpread = 0.2;
input int StopLossPoints = 300;
input int TakeProfitPoints= 600;
//================ HANDLES =================
int rsiHandle;
int bbHandle;
//================ INIT ====================
int OnInit()
{
rsiHandle = iRSI(SymbolName, PERIOD_CURRENT, RSIPeriod, PRICE_CLOSE);
bbHandle = iBands(SymbolName, PERIOD_CURRENT, BB_Period, BB_Deviation, 0, PRICE_CLOSE);
if(rsiHandle == INVALID_HANDLE || bbHandle == INVALID_HANDLE)
return INIT_FAILED;
return INIT_SUCCEEDED;
}
//================ TICK ====================
void OnTick()
{
if(!SpreadOK()) return;
if(PositionSelect(SymbolName)) return;
double rsi[1];
double upper[1], lower[1];
double price = SymbolInfoDouble(SymbolName, SYMBOL_BID);
CopyBuffer(rsiHandle, 0, 0, 1, rsi);
CopyBuffer(bbHandle, 1, 0, 1, upper);
CopyBuffer(bbHandle, 2, 0, 1, lower);
// BUY CONDITION
if(rsi[0] <= RSI_Buy_Level && price <= lower[0])
OpenTrade(ORDER_TYPE_BUY);
// SELL CONDITION
if(rsi[0] >= RSI_Sell_Level && price >= upper[0])
OpenTrade(ORDER_TYPE_SELL);
}
//================ SPREAD CHECK =================
bool SpreadOK()
{
double spread = SymbolInfoDouble(SymbolName, SYMBOL_SPREAD);
return spread <= MaxSpread;
}
//================ TRADE EXECUTION =================
void OpenTrade(ENUM_ORDER_TYPE type)
{
MqlTradeRequest req;
MqlTradeResult res;
ZeroMemory(req);
double price = (type == ORDER_TYPE_BUY)
? SymbolInfoDouble(SymbolName, SYMBOL_ASK)
: SymbolInfoDouble(SymbolName, SYMBOL_BID);
req.action = TRADE_ACTION_DEAL;
req.symbol = SymbolName;
req.volume = LotSize;
req.type = type;
req.price = price;
req.sl = (type == ORDER_TYPE_BUY)
? price - StopLossPoints * _Point
: price + StopLossPoints * _Point;
req.tp = (type == ORDER_TYPE_BUY)
? price + TakeProfitPoints * _Point
: price - TakeProfitPoints * _Point;
req.deviation= 10;
req.magic = 111222;
OrderSend(req, res);
}
//================ DEINIT =================
void OnDeinit(const int reason)
{
IndicatorRelease(rsiHandle);
IndicatorRelease(bbHandle);
}
응답함
1
등급
프로젝트
0
0%
중재
2
0%
/
50%
기한 초과
0
작업중
2
등급
프로젝트
0
0%
중재
1
0%
/
100%
기한 초과
0
무료
3
등급
프로젝트
0
0%
중재
0
기한 초과
0
작업중
4
등급
프로젝트
1
0%
중재
0
기한 초과
0
무료
게재됨: 2 기고글
5
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
비슷한 주문
Ninjatrader script
40+ USD
hello Hello, I have a project I want done for a NinjaTrader Script that would involve 2 phases. Phase 1. I simply want a ninja trader strategy that will take whatever custom user defined high/low range defines in the settings than executes a breakout trade either once a candle closes above / below the range or simply crosses the high/low of the range by placing stop orders. The way it takes the breakout will be
Tradingview indicator
30+ USD
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
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
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i
Ready Made Ninjatrader
100+ USD
I’m looking for a NinjaTrader 8 developer to build or customize a fully automated futures strategy . Goals: Target ~$100/day (consistency over aggression) Long-term survivability (not scalping hype) Requirements: Trade ES/MES or NQ/MNQ Fixed risk per trade Daily profit & loss limits Time/session filters Break-even & trailing stop logic Full NT8 strategy (not indicator) Nice to have: Backtest + optimization
Atm strategy nt8
30+ USD
can you help me with I need an ATM strategy for NT8, here's the criteria: Forex trade entry 100,000 units with a starting SL of 70 pips. The following proft targets: 33 pips, 68, 125, 180. All targets exit 25,000 units each. As each target is hit, move SL to BE+5, then BE+35, then BE+70. So the SL's are fixed, not trailing. I can't figure this out on my platform
This strategy is built around the idea that price seeks liquidity, and that retail traders often get trapped around key highs and lows. Instead of entering trades before price hits liquidity, this playbook waits for the market to run stops (take liquidity) and then trade the reversal after the trap is formed. The concept is simple: buy below lows, sell above highs, but only when those lows or highs have respected
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 have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
Ninjatrader 8 indicator
150+ USD
Looking for NinjaTrader 8 Developer I’m looking for an experienced NinjaTrader 8 (C#) developer to build a custom indicator based on the Jackson–Dalton Trading System . Requirements: Jackson zones (Z1 / Z2 / Z3) VWAP with volume-weighted standard deviation Session volume profile (POC, VAH, VAL) Day-type classification Configurable alerts Support for BTC/USDT and ETH/USDT Clean, modular code with full source Optional
프로젝트 정보
예산
30+ USD
고객
넣은 주문1
중재 수0