명시
I need someone who is able to convert Lonesometheblue's 3rdWave tradingview indicator from to an EA/Indicator. The indicator works very well but it only alerts buy or sell in tradingview, I need it to also alert the price of the beginning of wave 0 and 2 to use them as SL when automating the strategy. The ideal would be to make an EA with its own alerts of the indicator but the basic thing is to make some function that returns the value of "0" and "2" that are painted on the graph in order to be able to take them as a reference for the value of the SL to automate with an external EA.
Public 3rd Wave code script:
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © LonesomeTheBlue
//@version=5
indicator('3rd Wave', overlay=true, max_bars_back=500, max_lines_count=500, max_labels_count=500)
// import necessary functions to calculate and show the zigzag
import LonesomeTheBlue/CreateAndShowZigzag/1 as ZigZag
prd = input.int(defval=8, title='ZigZag Period', minval=2, maxval=50, group='setup')
ret_rate_min = input.float(defval=0.382, title='Min/Max Retracements', minval=0.100, maxval=0.900, inline='retrate', group='setup')
ret_rate_max = input.float(defval=0.786, title='', minval=0.100, maxval=0.900, inline='retrate', group='setup')
checkvol_support = input.bool(defval=true, title='Check Volume Support', group='setup')
target1_enb = input.bool(defval=true, title='Target 1', inline='t1', group='targets')
target1_ret = input.float(defval=1., title='', inline='t1', group='targets', tooltip = "%X of wave 1 from the begining of wave 2")
target2_enb = input.bool(defval=true, title='Target 2', inline='t2', group='targets')
target2_ret = input.float(defval=1.618, title='', inline='t2', group='targets', tooltip = "%X of wave 1 from the begining of wave 2")
target3_enb = input.bool(defval=false, title='Target 3', inline='t3', group='targets')
target3_ret = input.float(defval=2.618, title='', inline='t3', group='targets', tooltip = "%X of wave 1 from the begining of wave 2")
target4_enb = input.bool(defval=false, title='Target 4', inline='t4', group='targets')
target4_ret = input.float(defval=3.618, title='', inline='t4', group='targets', tooltip = "%X of wave 1 from the begining of wave 2")
showwave12 = input.bool(defval=true, title='Show Wave 1 and 2', group='colors')
showbo = input.bool(defval=true, title='Zone', inline='bocol', group='colors')
bupcol = input.color(defval=color.rgb(0, 255, 0, 85), title='', inline='bocol', group='colors')
bdncol = input.color(defval=color.rgb(255, 0, 0, 85), title='', inline='bocol', group='colors')
showzigzag = input.bool(defval=false, title='Zig Zag', inline='zzcol', group='colors')
upcol = input.color(defval=color.lime, title='', inline='zzcol', group='colors')
dncol = input.color(defval=color.red, title='', inline='zzcol', group='colors')
// definitions for zigzag arrays
var max_array_size = 10 // max length for zigzag array
var zigzag = array.new_float(0)
oldzigzag = array.copy(zigzag) // keep old zigzag
// get the zigzag
dir = ZigZag.getZigzag(zigzag, prd, max_array_size)
// show the zigzag
if showzigzag
ZigZag.showZigzag(zigzag, oldzigzag, dir, upcol, dncol)
int len = array.size(zigzag) >= 8 ? bar_index - math.round(array.get(zigzag, 7)) : 1
bool vol_support = (not checkvol_support or (checkvol_support and ta.linreg(volume, len, 0) - ta.linreg(volume, len, 1) > 0))
var bool can_check_it = true
bool thereisbo = false
if (dir != dir[1])
can_check_it := true
can_check_it
// check if there is possible 3rd wave and show breakout if there is any
if array.size(zigzag) >= 8 and can_check_it
w12 = math.abs(array.get(zigzag, 2) - array.get(zigzag, 4)) / math.abs(array.get(zigzag, 4) - array.get(zigzag, 6))
if w12 >= ret_rate_min and w12 <= ret_rate_max and (dir == 1 and high > array.get(zigzag, 4) or dir == -1 and low < array.get(zigzag, 4))
can_check_it := false
if vol_support
thereisbo := true
// draw bo
if showbo
box.new(left=math.round(array.get(zigzag, 7)), top=array.get(zigzag, 4), right=bar_index, bottom=array.get(zigzag, 6), border_color=color.blue, border_width=1, border_style=line.style_dotted, bgcolor=dir == 1 ? bupcol : bdncol)
if showwave12
line.new(x1=math.round(array.get(zigzag, 7)), y1=array.get(zigzag, 6), x2=math.round(array.get(zigzag, 5)), y2=array.get(zigzag, 4))
line.new(x1=math.round(array.get(zigzag, 5)), y1=array.get(zigzag, 4), x2=math.round(array.get(zigzag, 3)), y2=array.get(zigzag, 2))
label.new(x=math.round(array.get(zigzag, 7)), y=array.get(zigzag, 6), text='0', color=color.new(color.white, 100), textcolor=color.blue, style=dir == 1 ? label.style_label_up : label.style_label_down)
label.new(x=math.round(array.get(zigzag, 5)), y=array.get(zigzag, 4), text='1', color=color.new(color.white, 100), textcolor=color.blue, style=dir == 1 ? label.style_label_down : label.style_label_up)
label.new(x=math.round(array.get(zigzag, 3)), y=array.get(zigzag, 2), text='2', color=color.new(color.white, 100), textcolor=color.blue, style=dir == 1 ? label.style_label_up : label.style_label_down)
// draw label
label.new(x=bar_index, y=array.get(zigzag, 6), color=dir == 1 ? upcol : dncol, style=dir == 1 ? label.style_triangleup : label.style_triangledown, size=size.small)
base = array.get(zigzag, 2)
wave1 = math.abs(array.get(zigzag, 4) - array.get(zigzag, 6))
if target1_enb
line.new(x1=bar_index, y1=math.max(base + dir * wave1 * target1_ret, 0), x2=math.round(array.get(zigzag, 7)), y2=math.max(base + dir * wave1 * target1_ret, 0), style=line.style_dashed)
if target2_enb
line.new(x1=bar_index, y1=math.max(base + dir * wave1 * target2_ret, 0), x2=math.round(array.get(zigzag, 7)), y2=math.max(base + dir * wave1 * target2_ret, 0), style=line.style_dashed)
if target3_enb
line.new(x1=bar_index, y1=math.max(base + dir * wave1 * target3_ret, 0), x2=math.round(array.get(zigzag, 7)), y2=math.max(base + dir * wave1 * target3_ret, 0), style=line.style_dashed)
if target4_enb
line.new(x1=bar_index, y1=math.max(base + dir * wave1 * target4_ret, 0), x2=math.round(array.get(zigzag, 7)), y2=math.max(base + dir * wave1 * target4_ret, 0), style=line.style_dashed)
alertcondition(thereisbo and dir == 1, title = "Breakout Long", message = "Breakout Long")
alertcondition(thereisbo and dir == -1, title = "Breakout Short", message = "Breakout Short")
Public import LonesomeTheBlue/CreateAndShowZigzag/1 as ZigZag:
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © LonesomeTheBlue
//@version=5
// @description Functions in this library creates/updates zigzag array and shows the zigzag
library("CreateAndShowZigzag")
Trz(float [] zigzag, int mLoc)=>
for x = array.size(zigzag) - 1 to array.size(zigzag) > 1 ? 0 : na by 2
if bar_index - array.get(zigzag, x) <= mLoc
break
array.pop(zigzag)
array.pop(zigzag)
addtozigzag(float [] zigzag, float value) =>
array.unshift(zigzag, bar_index)
array.unshift(zigzag, value)
updatezigzag(float [] zigzag, float value, int dir) =>
if array.size(zigzag) == 0
addtozigzag(zigzag, value)
else
if dir == 1 and value > array.get(zigzag, 0) or dir == -1 and value < array.get(zigzag, 0)
array.set(zigzag, 0, value)
array.set(zigzag, 1, bar_index)
export getZigzag(float [] zigzag, int prd, int mLoc)=>
Trz(zigzag, mLoc)
float ph = ta.highestbars(high, prd) == 0 ? high : na
float pl = ta.lowestbars(low, prd) == 0 ? low : na
var int dir = 0
dir := ph and na(pl) ? 1 :
pl and na(ph) ? -1 :
dir
bool bothexist = ph and pl
bool dirchanged = dir != dir[1]
if ph or pl
if bothexist
updatezigzag(zigzag, dir == 1 ? ph : pl, dir)
dir := -dir
addtozigzag(zigzag, dir == 1 ? ph : pl)
else
if dirchanged //and not nz(bothexist[1], false)
addtozigzag(zigzag, dir == 1 ? ph : pl)
else
updatezigzag(zigzag, dir == 1 ? ph : pl, dir)
[dir, bothexist]
export showZigzag(float [] zigzag, float [] zigzagold, int dir, bool specialcase, color upcol, color dncol)=>
var line zzline = na
if specialcase
line.set_xy1(zzline, math.round(array.get(zigzag, 3)), array.get(zigzag, 2))
if array.get(zigzag, 0) != array.get(zigzagold, 0) or array.get(zigzag, 1) != array.get(zigzagold, 1)
if array.get(zigzag, 2) == array.get(zigzagold, 2) and array.get(zigzag, 3) == array.get(zigzagold, 3)
line.delete(zzline)
zzline := line.new(x1=math.round(array.get(zigzag, 1)), y1=array.get(zigzag, 0), x2=math.round(array.get(zigzag, 3)), y2=array.get(zigzag, 2), color=dir == 1 ? upcol : dncol)
export getTN()=>
int TN = 8
tick__ = syminfo.mintick
while tick__ < 1
TN += 1
tick__ *= 10
tick__ := high
while tick__ > 1
TN += 1
tick__ /= 10
TN
응답함
1
등급
프로젝트
588
35%
중재
64
20%
/
58%
기한 초과
147
25%
무료
게재됨: 1 기고글, 22 코드
2
등급
프로젝트
945
47%
중재
303
59%
/
25%
기한 초과
125
13%
작업중
3
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
4
등급
프로젝트
9
33%
중재
2
0%
/
100%
기한 초과
2
22%
무료
5
등급
프로젝트
498
67%
중재
5
40%
/
0%
기한 초과
4
1%
작업중
게재됨: 8 코드
비슷한 주문
I run a trading group, we mostly use EAs to trade. I have source code for every EA we trade with. We have many ideas how to improve them and always need a developer to fix some buggs if needed. Looking for a long business partner. ONLY developers with high skills telegram @feint1337
Pomoc dla deweloperów z Polski
40+ USD
Prosze o kontakt tylko osób mówiące po polsku. Potrzebuję pomocy z .skax̌nikiem w Tradingview skompilowane znikim Tylko dla osób mówiących po Polsku. Wskalnik obsługuje insidebary i fakinsidbar oraz daje alarmy przekazywane do Metatrader 5
I am new in trading and would a programmer to create an indicator for me with these specific instructions. 1. Trading Logic Supertrend Indicator: Inputs: ATR Period, ATR Multiplier, Timeframe. Signal is generated when the Supertrend line flips direction. Buy Condition: When price closes above the Supertrend line and the Supertrend flips from bearish (above price) to bullish (below price). EA opens a Buy order. Sell
We are teaching beginners how to trade on ThinkorSwim. We’d like to create 5 scripts, beginning with a chart with one indicator and then adding additional indictors with each chart. The first chart (Level 1) has just 9 day Exponential Moving Average & 20 day Exponential Moving Average and Previous day High, Low, & Close. Level II will have the same indicators as Level I plus Price Candles. Level III has Level II
🟢 MQL5 Tester & Analyst — EA XAUUSD
35 - 40 USD
I am looking for an expert in backtesting and optimization for MQL5 / MetaTrader 5 to evaluate my Expert Advisor (Complete Corrections + Cleanup). 📌 Objective : Validate the robustness, stability, and structural consistency of the strategy under real market conditions (XAU/USD M15, 2023–2024 - 2025 period). ⚙️ Deliverables ✅ Complete performance report : Profit factor, Drawdown, Sharpe, Z-Score, Recovery Factor
I'm looking for extra upgrade of existing, extremely complex MT4's EA of significant size with many different features. 99%+ of those features I will not be even talking about, unless you ask me for them. One of the feature that I have to mention is that the EA is working on two different EX4 sides. Source terminal side (Source EX4) and Target terminal side (Target EX4) within exact channel id number and this feature
Project Description: I am looking for an experienced developer to build a breakout box trading algorithm designed for futures trading , specifically for the 6J (Japanese Yen) contract. The system must be built with prop firm trading rules in mind (fixed risk, limited drawdown, no overnight exposure) and structured for Tradovate-style workflow — clean session logic, pending breakout orders, and strict time-based trade
Conversion of Limit Order EA(MT4 to MT5)
30 - 100 USD
Hi, Good morning: Thanks for looking at my requirement: The objective of the EA is to do some updates in the Main EA (limit order) I have an EA, which places limit order, by reading a text file in the specified folder. Limit Order EA: The EA reads: AUDJPY, BUY, 100.52244, 100.34927, 09/10/2025, 05:45, 09/10/2025, 06:45, 0.17318, 100.91209, 0.09, 100.65232 PAIR, DIRECTION, LIMIT PRICE, SL PRICE, START DATE, START
CRT strategy
35+ USD
I already have some part of the code, i only need developer who knows what hes doing and have experience in similar job to update my code and make it work better and accurately bellow is what i want to be updated on the code HTF swing OB/BB plot correctly in LTF using hybrid method and plot only in external swing point that caused a BOS/CHOC plot HTF FVG correctly on LTF in real time with OB/BB and FVG not plotting
Hello Developers, This is buy side/sell side order for an EA that consist of 3 common indicators with 4 conditions to trigger a buy or sell with added stop loss and take profit. Please send your qualifications for a decision tomorrow. Thanks
프로젝트 정보
예산
30 - 60 USD
VAT (24%):
7.2
- 14.4
USD
총:
37.2
- 74.4
USD
개발자에게
27
- 54
USD