Obba EA

MQL5 Indikatoren Experten

Spezifikation

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) 

Bewerbungen

1
Entwickler 1
Bewertung
(2)
Projekte
3
33%
Schlichtung
0
Frist nicht eingehalten
0
Frei
2
Entwickler 2
Bewertung
(49)
Projekte
70
16%
Schlichtung
2
50% / 0%
Frist nicht eingehalten
7
10%
Arbeitet
3
Entwickler 3
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
4
Entwickler 4
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(90)
Projekte
111
37%
Schlichtung
8
88% / 0%
Frist nicht eingehalten
0
Arbeitet
6
Entwickler 6
Bewertung
(57)
Projekte
177
71%
Schlichtung
4
100% / 0%
Frist nicht eingehalten
1
1%
Frei
7
Entwickler 7
Bewertung
(5)
Projekte
6
17%
Schlichtung
2
0% / 100%
Frist nicht eingehalten
0
Beschäftigt
Ähnliche Aufträge
"I need an expert advisor (EA) based on stochastic divergence and candlestick formation. It should be able to identify both hidden and regular divergences. The EA should also include modified risk-reward ratios, modified timeframes, It is important that the EA is 100% accurate. Once an experienced developer applies
Hi I need a experience programmer to build me M and W pattern scanner EA that send alert with arrow on screen without open trades Multiple times frame H4 D1 W1 MN multiple currency pairs and i want to see all historical patterns that already happened
Market entries are only performed between the hours of 8pm est to 10pm est At 8pm the very immediate high and low on the 15 min time frame is marked out Price has to break either the high or low before a trade is considered Selling Execution: After crossing the high on the 1 min time frame I’m looking for there to be a market structure shift with displacement (volume) to show price wants to go in the selling
Hi There - I am looking for someone to create me an EA that will guarantee huge losses on the account. I was thinking of a martingale EA which closes all trades at predefined percentage level. Only opens trades when there is volatility. Am open to other ideas
I need a good programmer who can create an EA that can filter fake trade signals using RSI filter and place trades using double moving average crossover. filter trade signals on higher time frame and place trades on lower timeframe
Quick question for you. Would you be able to write an extension for TradingView primarily in Python or another common language? We want to have Pine-Script out of the loop. The extension needs to pull time series data from our gRPC API and show/overlay it on the currently shown stock. That is basically it. Is that possible
I need an indicator in 30 minutes where the price changes trend and leaves a fgv, the entry will be at the 78.6 fibonacci level taking into account the low of the trend change and the high after the trend change for the fibonacci
EA Description: Box Identification: The EA allows users to manually mark consolidation zones on the chart with rectangular boxes. These boxes are distinguished by color: red for bearish zones and green for bullish zones. Entry Types: Aggressive Entry (True/False): Users can opt for aggressive entries, initiating trades at a specified percentage of the zone's range. Divergence Entry (True/False): The EA detects
I'm seeking for a profitable 1Minute scalpin Expert adviser or strategy 2-5% per day profit, Hedging ,Averaging methods with Stop loss and Less than 30-40 % DD in any market. Before purchasing the EA....we check trial/demo for 3 days minimum. budget is not a problem , the desired amount will be delivered after checking the live market 1-3 days. Note : (i) Martingale - Not interested (ii) Hedging & Averaging methods
I would like to have a FOREX trading bot developed for my personal use and eventually for commercial use. Requirements: - 3-5%/mo historical returns on a 'moderate' model - lesser historical returns on a "conservative" model - greater historical returns on an "aggressive" model - as small drawdowns as possible - must have been tested live or tested with greater than or equal to 99% modeling quality - must be able to

Projektdetails

Budget
30+ USD

Kunde

(3)
Veröffentlichte Aufträge4
Anzahl der Schlichtungen0