Работа завершена
Время выполнения 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
Оценка
Проекты
18
56%
Арбитраж
0
Просрочено
0
Свободен
2
Оценка
Проекты
90
16%
Арбитраж
4
25%
/
25%
Просрочено
7
8%
Работает
3
Оценка
Проекты
3
0%
Арбитраж
1
0%
/
0%
Просрочено
1
33%
Свободен
4
Оценка
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
5
Оценка
Проекты
124
40%
Арбитраж
9
89%
/
0%
Просрочено
0
Работает
6
Оценка
Проекты
200
72%
Арбитраж
4
100%
/
0%
Просрочено
1
1%
Свободен
7
Оценка
Проекты
9
22%
Арбитраж
2
0%
/
100%
Просрочено
2
22%
Свободен
Похожие заказы
Pls I want the programmer that do 100% programming and not a programmer that is a forex trader but 100% a programmer Pls check the file on how to modify the multiplier of the bot
Modification of an existing MQL5 code
30 - 50 USD
Hello...its my first project on mql5 community, I have a complex heavy indicator which is made by another coder before the issue with the code is if i open a chart and run the indicator, then after a while i open new chart the same as before and run indicator with the same settings on new chart , the the recent signals on new chart is diffrent from the chart which was opened before!!! the strategy of this indicator
RESTRUCTURING AND CONVERTING TO MT5
70 - 120 USD
1-matrix_simple_5 is an EA but it does not work. I want it to be made working and also translated into mt5 form. 2- aycem_volume_change_2, aycem_price_change_2 and aycem_count_change_2 indicators do not work efficiently. I want them to be corrected and also rewritten in mt5 language. 3-It is important to preserve the main structures and defined functions during reorganization
i need an expert who has experience and can help me with my project, I want to extract a hidden source code (pine script) from an Tradingview Indicator. and i need it to be done as soon as possible, If you are an expert on this field kindly comments
Indicator on TradingView to MT4
50+ USD
I'm looking for someone who can translate me few indicators to MT4 from tradingview. I'll share more details in private to discuss further. This isn't a one time job, if everything goes great, I have other projects
Objects reader PIN
100+ USD
Hi I have an indicator that create objects in the chart and using those following some rules the new indicator will create external global variables with value = 0 ( NONE ), = 1 ( BUY ) or = 2 ( SELL ). The global variable will use PIN external integer number . PINS are by now global variables (GV) whose name indicates the pair name and the PIN belonging and their value indicates it direction/action. PINS GV names
I'm looking for an experienced programmer who can extract hidden Pine Script source code from a TradingView indicator. This indicator is essential to my trading strategy, and I need the code to customize it further. If you have a strong background in Pine Script and understand TradingView’s architecture, let’s work together to unlock this code
I need a skilled programmer to help extract hidden source code from a TradingView indicator I rely on. The indicator is key to my trading, and I’d like to access and customize its Pine Script code for deeper analysis. If you have experience with TradingView’s structure and decompiling or reverse-engineering indicators, please get in touch—let's unlock this together
Learn and practice an example of a neural network.
50 - 200 USD
I need to learn and do a mql5 neural network experimental project. The tasks include 1. build the app framework 2. train data: including 10 years of data in the past, use MA, EMA, ... values to calculate 3. Use the training data to calculate price predictions and draw on the chart I need the result to be a guide that I can continue to exploit after completing the project
Help with a k-Nearest Neighbor algorithm (k-NN)
50 - 100 USD
Hi there, many thanks for taking the time out to read my request. my request seems simple and i've attempted building it myself and have compiled a complete coded file (with the aid of chat) however the coding doesn't want to place trades and after some heavy hours of searching and working on it leaves me reaching out here also. I am currently using a indicator on trading view which im aiming to perfectly make into a
Информация о проекте
Бюджет
30+ USD
Исполнителю
27
USD