Hi there,
I have a TradingView indicator that would like to convert into a trading robot for MT5.
1. Initial SL should put above/below last Fractals signed on the chart (Fractals in not part of the indicator as I use them separately and combined both of them for the strategy).
2. The position opens once the candle is closed.
3. The opposite signal should close the last position and open a new one.
4. I want a multi-timeframe into an only single chart (with the possibility in the setting to write by myself the timeframes I'm interested).
I need the code at the end when I insert the EA I want all the settings to be settable by myself like in the TW indicator + the Timeframe of the FRACTALS and the possibility to choose the multi-timeframe where the EA should operate.
I'd like to have, if it's possible, by 31st of December.
This is the code (is not mine, is a public code that I implement it with use of another indicator like Williams Fractals with timeframe=2 to put the initial timeframe):
study("Supertrend", overlay = true)
Periods = input(title="ATR Period", type=input.integer, defval=10)
src = input(hl2, title="Source")
Multiplier = input(title="ATR Multiplier", type=input.float, step=0.1, defval=3.0)
changeATR= input(title="Change ATR Calculation Method ?", type=input.bool, defval=true)
showsignals = input(title="Show Buy/Sell Signals ?", type=input.bool, defval=true)
highlighting = input(title="Highlighter On/Off ?", type=input.bool, defval=true)
atr2 = sma(tr, Periods)
atr= changeATR ? atr(Periods) : atr2
up=src-(Multiplier*atr)
up1 = nz(up[1],up)
up := close[1] > up1 ? max(up,up1) : up
dn=src+(Multiplier*atr)
dn1 = nz(dn[1], dn)
dn := close[1] < dn1 ? min(dn, dn1) : dn
trend = 1
trend := nz(trend[1], trend)
trend := trend == -1 and close > dn1 ? 1 : trend == 1 and close < up1 ? -1 : trend
upPlot = plot(trend == 1 ? up : na, title="Up Trend", style=plot.style_linebr, linewidth=2, color=color.green)
buySignal = trend == 1 and trend[1] == -1
plotshape(buySignal ? up : na, title="UpTrend Begins", location=location.absolute, style=shape.circle, size=size.tiny, color=color.green, transp=0)
plotshape(buySignal and showsignals ? up : na, title="Buy", text="Buy", location=location.absolute, style=shape.labelup, size=size.tiny, color=color.green, textcolor=color.white, transp=0)
dnPlot = plot(trend == 1 ? na : dn, title="Down Trend", style=plot.style_linebr, linewidth=2, color=color.red)
sellSignal = trend == -1 and trend[1] == 1
plotshape(sellSignal ? dn : na, title="DownTrend Begins", location=location.absolute, style=shape.circle, size=size.tiny, color=color.red, transp=0)
plotshape(sellSignal and showsignals ? dn : na, title="Sell", text="Sell", location=location.absolute, style=shape.labeldown, size=size.tiny, color=color.red, textcolor=color.white, transp=0)
mPlot = plot(ohlc4, title="", style=plot.style_circles, linewidth=0)
longFillColor = highlighting ? (trend == 1 ? color.green : color.white) : color.white
shortFillColor = highlighting ? (trend == -1 ? color.red : color.white) : color.white
fill(mPlot, upPlot, title="UpTrend Highligter", color=longFillColor)
fill(mPlot, dnPlot, title="DownTrend Highligter", color=shortFillColor)
alertcondition(buySignal, title="SuperTrend Buy", message="SuperTrend Buy!")
alertcondition(sellSignal, title="SuperTrend Sell", message="SuperTrend Sell!")
changeCond = trend != trend[1]
alertcondition(changeCond, title="SuperTrend Direction Change", message="SuperTrend has changed direction!")
Benzer siparişler
Theory : The original calculation of RSI is (in short) the following : Add the changes up and changes down. From those sums, we can then calculate the RSI (Relative Strength Index). At that particular step Welles Wilder used what sometimes is called Wilders EM for smoother results, And that gives us space to [produce all sort of different RSIs by using different types of smoothing at the final step This version : It
Job Details — Gold M1 EMA Consolidation Pullback EA Description: * Fully automatic MT5 EA * Pair: Gold (XAUUSD) * Timeframe: M1 * Funded account use (strict risk rules) * Full source code (.mq5) with lifetime ownership required 🔹 Strategy Rules * Single EMA period = 15 * Buy: price breaks upward and stays above EMA * Sell: price breaks downward and stays below EMA 🔹 Consolidation Logic * Identify last valid swing
SLee ต่อไปนี้เป็นตัวอย่างเอกสารข้อกำหนดสำหรับการพัฒนาเครื่องมือ ช่วยซื้อขาย MACD Sample Expert Advisor ซึ่งมีอยู่ในแพ็กเกจมาตรฐานของ MetaTrader 5 1. แนวคิดของระบบการซื้อขายมีดังนี้ : จะเข้าซื้อขายเมื่อ เส้นหลักและเส้นสัญญาณ ของ MACD ตัดกันในทิศทางแนวโน้ม ปัจจุบัน 2. แนวโน้ม จะถูกกำหนดโดยใช้ ค่าเฉลี่ยเคลื่อนที่แบบเอ็กซ์โปเนนเชียล ( Exponential Moving Average หรือ EMA) ตามช่วงเวลาที่ระบุ (InpMATrendPeriod) หากค่า
Symbol: Xauusd Timeframe: i want to choose Entry: 2 bullish candles in a row= buy order 2 bearish candles in a row= sell order Lotsize: i want to choose Tp 10 pips ( but i want to choose) Sl 50 pips ( i want to choose) I want to achieve 10 pips of profit every day. So if the first trade of the day is profitable, the ea will stop trading for the rest of that day. If the stop loss is hit, then I will need 6 winning
Hello all developers! I want ready made prop firm EA that is making around 3% monthly or overal 36% per year +/- Only serious offers please, don't waste my and your time. I am not an idiot. Thank you very much for your attention. Price is negotiable. Source of code required. Can be MT5, but can be also MT4
For only developer who understand Chaos/ Profiunity trading system by Bill WIlliams, Create The Profitunity System Trading based on Bill Williams Chaos theory, Trade based on Trend Affirmation in Daily, entry in H4, using Williams Fractal, Williams Alligator, Awesome Oscillator, Accelerator Oscillator, Market Facilitation Index. Balance Line, entry on Reversal, add on while market show continuation sign. Please quote
Hi, I am looking for someone who has already developed a high-performance Gold EA that can outperform the one shown in my screenshot. If you have such an EA, please apply for this job. Please describe how the EA works (for example, whether it uses a grid system) and provide backtest results along with the set files. If the EA meets my expectations, you can make the necessary adjustments and I will use it as my own
I’m looking for a developer to build an MT5 Expert Advisor (EA) for trading major indices such as S&P 500, US30, USTECH , and similar instruments. Strategy Overview The EA will place only one trade per day . Trading session starts at 9:30 AM EST (90 mins after market open) . After the first 5-minute candle closes , the EA will mark the high and low of that candle. The EA then switches to the 1-minute timeframe and
im looking for a skilled coder who can make an indicator produce a signal when my custome indicators align. I would also like an EA also made which opens trades on these signals, theres an EA i already have which manages trades so all i want is for the coder to make the signals made by the indicator use the trade management from this EA. More details to be provided. The project is abit urgent and please only take the
I am looking for an experienced MT4 Expert Advisor developer to help backtest and optimize an existing EA for prop firm trading . The EA currently trades Gold (XAUUSD) on M1/M5 , and the goal is to make it low-risk, stable, and prop-firm friendly , while also identifying a more aggressive preset for evaluation phases