仕事が完了した
実行時間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
評価
プロジェクト
33
52%
仲裁
1
100%
/
0%
期限切れ
1
3%
仕事中
2
評価
プロジェクト
167
25%
仲裁
23
9%
/
78%
期限切れ
16
10%
仕事中
3
評価
プロジェクト
5
40%
仲裁
2
0%
/
50%
期限切れ
1
20%
暇
4
評価
プロジェクト
2
0%
仲裁
0
期限切れ
0
暇
5
評価
プロジェクト
193
58%
仲裁
10
80%
/
0%
期限切れ
0
暇
パブリッシュした人: 1 code
6
評価
プロジェクト
243
74%
仲裁
7
100%
/
0%
期限切れ
1
0%
暇
パブリッシュした人: 1 article
7
評価
プロジェクト
15
20%
仲裁
6
0%
/
100%
期限切れ
3
20%
暇
類似した注文
EA
30+ USD
Subject Hello. I want an MT5 Expert Advisor that can grow a small account by catching strong trends and holding trades for a long time. Requirements: The EA should trade mainly XAUUSD and major pairs like EURUSD or GBPUSD. It should use a trend-following strategy and be able to hold trades for hours or even several days when the trend is strong. The entry should be a sniper entry using indicators like moving
Help code ohlc mtf ea mt5
80+ USD
Document attached to description. Do not use anything else you add yourself like Gap down, other anything else. Only ohlc mtf, hh ll. Hl lh. Previous bar [1]. Previous two bar [2]. Need programmer can help each entry and Condition. Tp use condition is same after price move from entry. Pending limit and stop order. If you not understand looking for programmer want to help me complete my ea conditions and entry. Just
Professional Smart RSI EA with News Filter
50 - 200 USD
need a high-quality Expert Advisor for MT5 based on the RSI strategy. Key Features: News Filter: The EA must stop trading 30 minutes before and after High-Impact news. Risk Management: > - Customizable Lot size (Default: 0.05). Hard Stop Loss fixed at 10 USD. Trailing Stop feature included. Strategy: RSI (30/70) entries for Gold and Forex. Please provide a professional and clean MQL5 code
Scalping Expert Advisor for M1 and M5 (EA Development)
700 - 1200 USD
am looking for an experienced developer to create a profitable scalping Expert Advisor for MetaTrader 5. i dont have a strategy therefore you should also come up with the strategy for EA Requirements: EA must work on M1 and M5 timeframes Designed mainly for scalping Minimum 75% win rate Small stop loss and controlled drawdown Must include risk management Developer qualification: Explanation of the trading strategy
Looking for a profitable existing EA
30 - 38 USD
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
NinjaTrader code fixing
30+ USD
Good morning, I have a Gap Fill strategy and a 10 min opening range break strategy that trade on RTH ES Futures data I have been working on that seem to have some bugs while live trading. They have both been coded by ChatGPT so I would like someone that know how to properly code a strategy to go over each to proof and debug them. Would you be able to do this and could you possibly add some context or features that
The detailed specification of the trading strategy is attached. The key here is thet the EA needs to be simple to use yet effective. The indicators DO NOT have buffers that can be used for EAs
An expert advisor using high lots but good risk
30 - 200 USD
Broker is Blackwell Global. I run a MAM account and have been using a bot that uses 0.02 lots per £100 with only 1.5% risk per trade but the bot has been unprofitable. The more lots per £100 the better, but risk of roughly 1%-2% + fees of 4 pence per 0.01 lots should be considered. The more trades the system does the better, as this is a MAM account - HFT would be perfect but any strategy is okay. Any forex pair is
I am looking for an experienced MQL5 developer to build a fully automated trading bot (Expert Advisor) for MetaTrader 5 . The bot will focus on trend-following scalping and must be designed to trade XAUUSD and BTC on the M1 timeframe . The objective is to create a stable and efficient EA that can open multiple trades per day while managing risk using proper stop-loss, take-profit, and trailing stop mechanisms
Profitable Prop firm EA for MT5
30+ USD
I am looking for MQL5 Programmer who can convert a trading view indicator into MT5 Prop firm EA. The EA should follow all trading rules of a prop firm and able to pass evaluations. The EA should be able to generate profits in funded account also. There must be dashboard that should all parameters like Account size, daily drawdown, target profit, session name, etc. Please contact me for more details
プロジェクト情報
予算
30+ USD