仕事が完了した
実行時間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
評価
プロジェクト
30
57%
仲裁
0
期限切れ
1
3%
暇
2
評価
プロジェクト
154
20%
仲裁
22
9%
/
77%
期限切れ
14
9%
取り込み中
3
評価
プロジェクト
5
40%
仲裁
2
0%
/
50%
期限切れ
1
20%
暇
4
評価
プロジェクト
1
0%
仲裁
0
期限切れ
0
暇
5
評価
プロジェクト
188
57%
仲裁
10
80%
/
0%
期限切れ
0
暇
パブリッシュした人: 1 code
6
評価
プロジェクト
240
73%
仲裁
7
100%
/
0%
期限切れ
1
0%
暇
7
評価
プロジェクト
15
20%
仲裁
6
0%
/
100%
期限切れ
3
20%
暇
類似した注文
Proven EA Acquisition
30+ USD
Acquire existing profitable Expert Advisor with source code for client investment portfolio - Full .mq5 code (clean & commented) - 4+ years backtest (Jan 2022 - Dec 2025, 100% tick data) - ~10% monthly return - Max DD ≤15% - No grid/martingale (strictly enforced) - 1-month forward test required - Send trade history + EA details for review - Demo EA file needed for backtest replication - Open to any currency
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
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
プロジェクト情報
予算
30+ USD