작업 종료됨
실행 시간 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
등급
프로젝트
9
56%
중재
0
기한 초과
0
작업중
2
등급
프로젝트
76
14%
중재
3
33%
/
33%
기한 초과
7
9%
로드됨
3
등급
프로젝트
3
0%
중재
1
0%
/
0%
기한 초과
1
33%
무료
4
등급
프로젝트
1
0%
중재
0
기한 초과
0
무료
5
등급
프로젝트
117
38%
중재
9
89%
/
0%
기한 초과
0
무료
6
등급
프로젝트
187
73%
중재
4
100%
/
0%
기한 초과
1
1%
작업중
7
등급
프로젝트
8
13%
중재
3
0%
/
67%
기한 초과
1
13%
작업중
비슷한 주문
TV Inducators to MT4
30+ USD
I need two trading view indicators to be on Mt4 .i want them to work the same way that they do on trading view if possible.i will send the indicators
Function (A) simple to do___________________________________________________ //+------------------------------------------------------------------+ //| Expert Tick Function | //+------------------------------------------------------------------+ void OnTick() { F1(); F2(); F3(); } //+------------------------------------------------------------------+ bool F1(){ extern bool F1(); Set to external (false) or (true)
// // @author LazyBear // // If you use this code in its original/modified form, do drop me a note. // study(title="Market Cipher B Free version with Buy and sell", shorttitle="Cipher_B_free") n1 = input(10, "Channel Length") n2 = input(21, "Average Length") obLevel1 = input(60, "Over Bought Level 1") obLevel2 = input(53, "Over Bought Level 2") osLevel1 = input(-60, "Over Sold Level 1") osLevel2 = input(-53, "Over
If i can get the done asap that would be awesome This EA uses the indicator so name of the indicator must me matched in the expert for the ea to function properly those with experience understand im sure thank you I want to change 1 EA & indicator name these are the name changes i need for the ea 4 total Bank Executive PLUS Bank Specialist PLUS Bank Stimulus PLUS Bank wealth PLUS these are the name changes i need for
i want a robot and an indicator that uses macd..bolingerbands And emas As well as fibonacci retracement confirmation from SMC strategy , OB+CHoCH And RTO i want it to print SL and TP using High and Lows
2 indicators
30+ USD
Need 2 visual indicators. Visual examples under attachment. A) indicator shows a price on horizontal trendline and hides it from the price bar. 1)option to configure font size and trendline color; 2)option to choose trendline style; 3)option to choose on what timeframe/s trend lines will appear. B) indicator allows to represent a certain time period on a different background. 1)option to choose on what timeframe it
Hello! I want to convert an existing open source indicator for tradingview to mql5. Its an orderblock indicator also showing horizontal bullish/bearish volume. My expectation of this is the following: The orderblocks will apear on the chart at exactly the same place with top/bottom etc. The bullish and bearish volume is somehow displayed/indicated. (The values of the orderblocks are retrieveable to develop an EA in
Hi, Thanks for looking at my requirement. Here are the details of the job and right now, we do have 2 jobs to do in same file. The clear detailed explanation along with the pictures are in the google drive link : https://drive.google.com/drive/folders/14KMGzunkE-Hbg0eK6iUrs4DNvRetTJYc?usp=sharing Also, i am into this coding thing for more than 2 years now full time. I am a math guy and not a coder. So the
I need telegram EA
30+ USD
Hello, I need an expert that can help me to develop an EA. That can also work while I open trade on phone, can I get this done? I need video demo and work sample. Thanks
Convert Tradingview indicator Pine Script to MQL4 language ( indicator/EA) Hi , I need a script written for Auto trading bot to trade on Trading View. This is a simple strategy to trade Renko chart on Trading view. The trading bot will have rules for entry and exit. Stop loss and Take Profit. order size by x% of equity. Daily profit target in pips. I want an experienced Trading View Pine script coder please! Thanks
프로젝트 정보
예산
30+ USD
개발자에게
27
USD