工作已完成
执行时间8 天
指定
I have this indicator that I use for my strategy and I want make it into an EA
/@version=5
indicator("Swing High/Low with Horizontal Lines", overlay=true)
// Inputs
barsback = input(2, title='Bars back to check for a swing')
futureBars = input(10, title='Number of future bars for horizontal line')
showSwings = input.string("Both", title="Show Swings", options=["Both", "Highs", "Lows"])
maxSwings = input.int(5, title="Maximum number of swings to show", minval=1)
// Function to detect swing highs and lows
swing_detection(index) =>
swing_high = true
swing_low = true
for i = 1 to barsback
if high[index - i] >= high[index] or high[index + i] > high[index]
swing_high := false
if low[index - i] <= low[index] or low[index + i] < low[index]
swing_low := false
[swing_high, swing_low]
// Detect swings for the current bar
[swing_high, swing_low] = swing_detection(barsback)
// Initialize arrays for swing lines and their end bars
var line[] swingHighLines = array.new_line()
var int[] swingHighEndBars = array.new_int()
var line[] swingLowLines = array.new_line()
var int[] swingLowEndBars = array.new_int()
// Function to draw lines
draw_line(lineArray, endBarArray, index, price, color) =>
if array.size(lineArray) >= maxSwings
line.delete(array.shift(lineArray))
array.shift(endBarArray)
newLine = line.new(x1=bar_index - index, y1=price, x2=bar_index - index + futureBars, y2=price, color=color, width=2)
array.push(lineArray, newLine)
array.push(endBarArray, bar_index + futureBars)
// Check if the line should be extended or stopped
update_lines(lineArray, endBarArray) =>
for i = 0 to array.size(lineArray) - 1
lineId = array.get(lineArray, i)
endBar = array.get(endBarArray, i)
price = line.get_y1(lineId)
if bar_index <= endBar
if high >= price and low <= price
array.set(endBarArray, i, bar_index)
line.set_x2(lineId, bar_index)
line.set_extend(lineId, extend.none)
// Conditionally draw swing highs and lows based on user selection and maximum number of swings
if (showSwings == "Both" or showSwings == "Highs") and swing_high
draw_line(swingHighLines, swingHighEndBars, barsback, high[barsback], color.red)
if (showSwings == "Both" or showSwings == "Lows") and swing_low
draw_line(swingLowLines, swingLowEndBars, barsback, low[barsback], color.green)
// Update lines to stop extending when crossed
if showSwings == "Both" or showSwings == "Highs"
update_lines(swingHighLines, swingHighEndBars)
if showSwings == "Both" or showSwings == "Lows"
update_lines(swingLowLines, swingLowEndBars)
Identify swings using the above indicator way of identifying them
Compare two charts (Allow me to choose which charts + allow me to use the time frame) (time frame should be in the same for both of them)
Mark the common swings (Common swing is a swing that has formed on both choose charts within the same candle on the selected time frame
Once one of the common swings broken on only 1 chart and not on the other (That is called Obba) set a stop order on the pair that hasn’t broken the common swing
For example
Pair 1 broke the common swing high but pair 2 didn’t, then Set stop order on pair 2 on the low of the last formed candle, set SL on the common swing
Set Tp 2.5RR
If the common swing is broken before order activation then cancel the order
If the order is not activated and new candle formed and the common swing still not broken then cancel the order and set it again on the low of the last formed candle
When price reaches 1.5RR move stop loss to breakeven and close 0.25% of the open lot size
Only 1 trade per pair a time (you can enter for the other pair) unless the open trade is on breakeven
Maximum loses per day ( variable)
Maximum Tp ( variable)
Chosen Risk in percentage from the equity capital ( variable)
反馈
1
等级
项目
32
53%
仲裁
1
0%
/
0%
逾期
1
3%
工作中
2
等级
项目
164
24%
仲裁
23
9%
/
78%
逾期
16
10%
工作中
3
等级
项目
5
40%
仲裁
2
0%
/
50%
逾期
1
20%
空闲
4
等级
项目
2
0%
仲裁
0
逾期
0
空闲
5
等级
项目
191
58%
仲裁
10
80%
/
0%
逾期
0
空闲
发布者: 1 代码
6
等级
项目
243
74%
仲裁
7
100%
/
0%
逾期
1
0%
空闲
发布者: 1 文章
7
等级
项目
15
20%
仲裁
6
0%
/
100%
逾期
3
20%
空闲
相似订单
hello great developer I’m hiring a developer to build a local-only trade copier that sends trades from MT4 and MT5 to NinjaTrader 8 (NT8) in real-time. This copier must be reliable, fast, and fully executable without cloud dependence. I require a short test/demo period before full delivery to ensure quality and performance. here is the full project specs in the file check it please
Griffinsmmbulika
30+ USD
//+------------------------------------------------------------------+ //| Simple MA Crossover EA with Risk Management (MT5) | //+------------------------------------------------------------------+ #property strict // === INPUTS === input double RiskPercent = 1.0; // Risk per trade (%) input int FastMAPeriod = 20; input int SlowMAPeriod = 50; input int StopLossPips = 50; input int TakeProfitPips= 100;
i need trailing stop breake even and stop loss by two way profit or by time FIRST YOU CAN SEND DEMO VERSION TO CHECK IT AND AT THE END GET ME ORIGINAL FILE ........ SEE THE ATTACHEMENT
Break Out EA MT5
30+ USD
Name: One Shot Gold Platform: MetaTrader 5 (MQL5) Main Symbol: XAUUSD (Gold) – but adaptable to other pairs Strategy: Place Buy Stop / Sell Stop pending orders at or near the top/bottom detected within the last 50 candles (updated default), combined with smart news filter and virtual stops. 1. Detection & Pending Order Placement Logic Automatically detect Swing High (top) and Swing Low (bottom) within the last 50
Searching for Profitable EA Trading Bot
100 - 250 USD
I am Searching for a Profitable EA Trading Bot. Backtest before is required. We need EA as well as Source Code. Should work on Forex, Gold or BTC. We want to backtest the EA before. Happy for your offers
Trade copier
100+ USD
hello great developer This is what I need: I need a local trade copier solution to transmit trades from MT4 and MT5 to NinjaTrader 8 instantly for arbitrage purposes, with ultra-low latency and no cloud services involved. Scope of work - Develop MT4/MT5 EA or script for detecting and sending trades locally. - Create NT8 NinjaScript for listening to and executing trades. - Support market orders and lot size
(Copy Trading system) to a MT5 Account.
30 - 147 USD
Hello I want to copy the trades from a cTrader Strategy Provider (Copy Trading system) to a MT5 Account. At the moment cTrader allow me only the copy the trades from the strategy provider if i allocate funds to a subaccount which cTrader opens for me automatically without account number and without password if i follow the trades from strategy provider. It copies the trades from strategy provider account to my
Convert Pinescript into MQL5 EA
90 - 150 USD
I will send the source code privately Note that the tradingview indicator is profitable so should be the conversion to mql5 ea... ONE WORD EA SHOULD BE PROFITABLE when fully converted.. I created the source code of the indicator and fully analyzed the data.... I NEED A WELL COOKING CODER TO FULLY WORK WITH URGENT let's work towards the future
I need a reliable, clean-coded Expert Advisor built for both MetaTrader 4 and MetaTrader 5 platforms. Main trading behavior: The EA follows buy and sell arrows produced by my custom indicator. Whenever a buy arrow shows up on the chart: if a sell position is currently open → close that sell immediately and enter a buy trade in its place. Whenever a sell arrow appears: if a buy position exists → close the buy and
CONVERTER ROBOT TO MQL5
30 - 40 USD
Hello I'm looking for professional to create a robot to me that will enter us30 or nasdaq around 16H29-minute55-Second New York session opening Monday to Friday and put stop loss 3800 points away from entry hedging strategy
项目信息
预算
30+ USD