Tradingview indicator to MT5 EA

명시

Just a few options i would need, 

- Enter the trade immediately after the trading signal or enter the trade after the closing candle.

- Close the position after a reversal signal or not.

- Maximum of 3 trades at the same time.

- TP  & SL in points or Trailing stop

- Fixed lots or % risk based on balance



//
@version=5

indicator("Trend [Dr Kang]", overlay = true)

//Pivots
plotPivots = true
pivotLookup = 1
hih = ta.pivothigh(high, pivotLookup, pivotLookup)
lol = ta.pivotlow (low , pivotLookup, pivotLookup)
top = ta.valuewhen(hih, high[pivotLookup], 0)
bottom = ta.valuewhen(lol, low [pivotLookup], 0)

stop_loss_long = ta.lowest(low[1], 2) * (1 - (0/100 * 0.01))
stop_loss_short = ta.highest(high[1], 2) * (1 + (0/100 * 0.01))

plot(top, offset=-pivotLookup, linewidth=1, color=(top != top[1] ? na : (plotPivots ? color.yellow : na)), title="매수 손절라인")
plot(bottom, offset=-pivotLookup, linewidth=1, color=(bottom != bottom[1] ? na : (plotPivots ? color.blue : na)), title="매도 손절라인")

//////////// BB 202 ////////////////////
bbbasis = ta.ema(close, 20)
bbdev = 2 * ta.stdev(close, 20)
bbupper = bbbasis + bbdev
bblower = bbbasis - bbdev

emaColor = bbbasis > ta.sma(close,20) ? color.yellow : color.blue

bf1 = plot(ta.sma(close,20), color=color.blue, title="SMA 20")
bf2 = plot(bbbasis, "BB Basis 202", color=color.yellow, offset = 0, linewidth = 1)
plot(bbupper, "BB Upper 202", color=color.white, offset = 0, linewidth = 1)
plot(bblower, "BB Lower 202", color=color.white, offset = 0, linewidth = 1)

bbfColor = bbbasis > ta.sma(close,20) ? color.yellow : color.blue
fill(bf1, bf2, title='Band Filler', color=bbfColor, transp=70)

//////////// BB44 ////////////////////
bbbasis4 = ta.ema(open, 4)
bbdev4 = 4 * ta.stdev(open, 4)
bbupper4 = bbbasis4 + bbdev4
bblower4 = bbbasis4 - bbdev4
plot(bbbasis4, "BB Basis 44", color=color.gray, offset = 0, linewidth = 1, display = display.none)
plot(bbupper4, "BB Upper 44", color=color.gray, offset = 0, linewidth = 1)
plot(bblower4, "BB Lower 44", color=color.gray, offset = 0, linewidth = 1)

///// Trading Alert //////
Buy = low < bottom and close > bottom and bbbasis > ta.sma(close, 20) and close > bblower
Sell = high > top and close < top and bbbasis < ta.sma(close, 20) and close < bbupper
plotshape(Buy, title="Buy" , style = shape.triangleup, color = color.yellow, size = size.tiny, location = location.belowbar)
plotshape(Sell, title="Sell" , style = shape.triangledown, color = color.blue, size = size.tiny, location = location.abovebar)

Buy_DB = low < bottom and low < bblower4 and low < bblower and close > bblower4 and close > bblower and bbbasis > ta.sma(close, 20)
Sell_DB = high > top and high > bbupper4 and high > bbupper and close < bbupper4 and close < bbupper and bbbasis < ta.sma(close, 20)
plotshape(Buy_DB, title="Buy_DB" , style = shape.triangleup, color = color.white, size = size.tiny, location = location.belowbar)
plotshape(Sell_DB, title="Sell_DB" , style = shape.triangledown, color = color.white, size = size.tiny, location = location.abovebar)

if Buy_DB and Buy
alert("Buy XAUUSD q=0.01 tt=200 td=100 ts=200 m=600 close m=601", alert.freq_once_per_bar)

if Sell_DB and Sell
alert("Sell XAUUSD q=0.01 tt=100 td=50 ts=100 m=601 close m=600", alert.freq_once_per_bar)

//Close Short position
bgcolor(ta.crossover(bbbasis, ta.sma(close, 20))?color.new(color.yellow,90):na)
if ta.crossover(bbbasis, ta.sma(close, 20) )
alert("close m=601", alert.freq_once_per_bar_close)

//Close Long position
bgcolor(ta.crossover(ta.sma(close, 20), bbbasis)?color.new(color.blue,90):na)
if ta.crossunder(bbbasis, ta.sma(close, 20))
alert("close m=600", alert.freq_once_per_bar_close)

XAUUSD

응답함

1
개발자 1
등급
(152)
프로젝트
212
22%
중재
14
57% / 21%
기한 초과
1
0%
바쁜
2
개발자 2
등급
(10)
프로젝트
25
28%
중재
1
0% / 0%
기한 초과
1
4%
작업중
3
개발자 3
등급
(38)
프로젝트
40
25%
중재
20
15% / 75%
기한 초과
8
20%
작업중
4
개발자 4
등급
(7)
프로젝트
5
20%
중재
3
0% / 33%
기한 초과
1
20%
작업중
5
개발자 5
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
비슷한 주문
Look to trade 5 or 15 mins charts of US30, JPY, EUR, XAU, BTC, etc that counts the number of up sticks or down sticks to determine entering into long or short positions. The stops and T/P levels are set based on volatility of the market at the time. chart time interval, trading instruments, count number of sticks, number of trades per day should be able set on setting file. Please contact me for detail requirements
I'm looking for best strategy which works on all forex and crypto market.EA must be work with low balance and generate good profit daily/weekly basis depend on market.Drawdown will be very less.if anyone having this type of strategy send me demo first i will back test it .if it meets my requirements code the same EA for me and adding extra inputs if necessary
Greetings! I am in need of a professional and experienced developer to assist me in enhancing and customizing an existing trading strategy. I have learned this strategy from another source, and I need to make modifications and add unique elements to make it my own. If you have a strong background in developing and customizing trading strategies, I would love to hear from you
Converting an ex4 file to mq4 .I'm looking for good developer who is expert in reverse engineering.like stoploss,Take profit. Trailing,breakeven,news filter and other inputs to be added. Further details will be discussed later
Trading ea 300 - 5000 USD
I need an EA for both MT4 and MT5 that can work on both demo and live account with this features : 1. Trading 24/7 2. Connected to the news 3. Pauses during high effective news 4. Has a footprint tool for accurate signals 5. Always aims foe a higher profit 6. High frequency Scalping 7. Auto lot size 8. Capable to work on 1000$ capital and less 9. zero losses 10. Works on any chart 11. When it is installed in any
I am looking for someone who has experience working with the ZigZag indicator. I want to create a multi timeframe dashboard scanner based on ZigZag. I will explain more in private messages. if you feel capable & interest with that,please pm me for more details. thanks
The ZONE RECOVERY/HEDGING STRATEGY will be on a timeframe where each strategy is independent and pending orders should be placed at the high and low of the candlestick. If it is a buy, then the pending order at the high of the candlestick will be triggered, and if it is a sell, then the pending order at the low of the candlestick will be triggered. If the market breaks the high of the candlestick, then the pending
Hi, i want to create EA that using martingale and hedge system working on metatrader 4 and has some options to be manually changed in the bot options i need expert in this strategy to do this job note that strategy is very simple no indicator needed unless moving average
I have two not very sophisticated bots that need to be converted from python to MQL5. The bots are very similar, they use 99% of the same methodology, the only difference being that one is a trend-following bot, and the other is a mean reversion bot. I need the parameters to be at the top of the script so that they can be easily changed and optimised. The entire codebase is already done in python (sl,tp, trailing
The specifications cover 3 requests: 1- Addition of a Trailing Take Profit function 2- Addition of opening orders according to a decreasing distance (20, 15, 10, 5...pips) 3- Addition of a function that allows choosing a fixed, increasing, or decreasing take profit

프로젝트 정보

예산
40+ USD

고객

넣은 주문1
중재 수0