Tradingview to MT4 conversion ( Full Tradingview Script code provided)

MQL5 Converting MySQL

Job finished

Execution time 4 days
Feedback from employee
Great customer. Fast reply and clear indications. It is a pleasure to work with him.
Feedback from customer
Excellent developer who delivered exactly what I was after in a very short timeframe! Would definitely use him again and recommend him to anyone who is looking for a fast and highly capable coder.

Specification

Task: Convert Tradingview script to MT4 indicator with all the adjustable input parameters from the Tradingview script transferred and functional in MT4 indicator with final MT4 indicator MQL4 source code provided on completion of task.

TradingView code below:


/ This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/

// © simtrader19a
//@version=4
study(title="Double Bollinger Bands", shorttitle="DBB", overlay=true)

//------------------------------ Inputs ------------------------------

length = input(20, title="length")
///src = input(close, type=source, title="source")
src = input(close, title="source")
std_dev_1 = input(1, title="BB1 stdDev")
std_dev_2 = input(2, title="BB2 stdDev")
offset = input(0, title="offset")

//------------------------------ Colors ------------------------------

color_gray  = #eeeeee
color_green = #3fbe53
color_red   = #ff4e3e

//------------------------------- Logic ------------------------------

median = sma(src, length)
standard_deviation = stdev(src, length)

standard_deviation_1 = standard_deviation * std_dev_1
upper_1 = median + standard_deviation_1
lower_1 = median - standard_deviation_1

standard_deviation_2 = standard_deviation * std_dev_2
upper_2 = median + standard_deviation_2
lower_2 = median - standard_deviation_2

//------------------------- Plotting & styling ------------------------

transp_bb_1 = 70
transp_bb_2 = 70

basis = plot(median, color=color_gray, transp=0, title="basis", offset=offset)

upper_band_1 = plot(upper_1, color=color_red, transp=transp_bb_1, title="BB1 upper", offset=offset)
lower_band_1 = plot(lower_1, color=color_green, transp=transp_bb_1, title="BB1 lower", offset=offset)

//fill(basis, upper_band_1, color=color_red, transp=transp_bb_1, title="background BB1 upper")
///fill(basis, lower_band_1, color=color_green, transp=transp_bb_1, title="background BB1 lower")

upper_band_2 = plot(upper_2, color=color_red, transp=transp_bb_2, title="BB2 upper", offset=offset)
lower_band_2 = plot(lower_2, color=color_green, transp=transp_bb_2, title="BB2 lower", offset=offset)

fill(upper_band_1, upper_band_2, color=#4CAF50, transp=transp_bb_2, title="background BB2 upper")
fill(lower_band_1, lower_band_2, color=#FF5252, transp=transp_bb_2, title="background BB2 lower")

////ENTRY /////
LONG=(close>open and close>close[1]and close>upper_1 and close[1]<upper_1)
SHORT=(close<open and close<close[1] and close<lower_1 and close[1]>lower_1)
plotshape(LONG,title="Long",location=location.belowbar, style=shape.labelup, color=#4CAF50, text="B")
plotshape(SHORT,title="Sell",location=location.abovebar, style=shape.labeldown, color=#FF5252, text="S")


Responded

1
Developer 1
Rating
(8)
Projects
11
18%
Arbitration
7
43% / 29%
Overdue
1
9%
Free
2
Developer 2
Rating
(22)
Projects
24
8%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(16)
Projects
25
20%
Arbitration
2
0% / 50%
Overdue
1
4%
Free
5
Developer 5
Rating
(512)
Projects
774
63%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
6
Developer 6
Rating
(158)
Projects
270
25%
Arbitration
14
29% / 7%
Overdue
17
6%
Loaded
7
Developer 7
Rating
(300)
Projects
446
65%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
8
Developer 8
Rating
(30)
Projects
55
22%
Arbitration
12
67% / 8%
Overdue
2
4%
Free
9
Developer 9
Rating
(563)
Projects
932
47%
Arbitration
303
59% / 25%
Overdue
124
13%
Busy
10
Developer 10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Hi I need a simple bot to read an excel and trade on my behalf in a number of stocks. basic outline below 1. Take the trade size in shares and direction from excel and trade at market 2. report the fill price and commission in excel and save the excel in a specific file location. I'd like this bot to run at a specific time and have the functionality for me to run it manually with an "execute" button or something
need developer to create personal EA for me, serious developer required. will work together on my robot. timeframe 1h, simple SMA and RSI levels, 1 h time frame, trading on limit orders only
We want to host a trading competition for newer traders where they can trade on demo accounts. We just want to be able to access those demo accounts and to provide a leaderboard (even if the totals are just stored in a database), we can provide the front-end. The idea is to have around 20 participants. Most will be relatively new traders. We are also not a broker, we simply have a few people learning to trade. The
Hello, same as title. I do not care about the drawdown I just need a trading strategy that can do 100% return per month return, simple as that. It would be nice if it can be automated into a bot/EA. Most important is the return of at least 100% per month!!! The strategy you provide need to be tested and work fine and have been doing well in the live market by you or someone for a long time. To be clear again - I need
Location: Remote Employment Type:[Full-time/Part-time] About Us At Riskeys, we are transforming the trading experience with our state-of-the-art Smart Trading Keypad for MetaTrader 4/5. Our mission is to empower traders with innovative risk management tools, providing them with the speed, precision, and efficiency they need to succeed in today’s fast-paced financial markets. As we continue to push the boundaries of
Hello, I have a physically trading keyboard and i want to connect it with tradelocker, mt4,mt5 and ctrader. People need to be able to open and close a position with the keyboard really fast. i need it on macos, windows and linux. (desktop) My competition is: www.magickeys.trade My goal is to be the number 1 to sell the keyboards + software. When people order a tradingkeyboard they will get a mail after the purchase
I need an expert advisor based on MACD and MA signals. It must have check and handling of trade operations errors. The main criteria for opening and closing positions: ◇Both Main and Signal direction must be shown by Arrows which is going to be for buy and sell positions
I need an expert to help me with adding more features to my existing mt4 EA I think the addition I want added to this EA is fairly simple--but I don't really understand how programming works, Contact me for a long term work, This is not the only project, I will explain the features in the inbox, Let me know if you can do it
Hft live account 30 - 200 USD
i need a high frequency trading (hft) expert advisor, that can be used to trade on demo and live accounts icmarket and 8cap. The EA has to be highly profitable, giving daily profit. If a test version is available, please send, to foster a faster transaction. like the ones that pass prop firm and demo but adjustment where it work on live with low latency
CPI ROBOKING 30+ USD
*Strategy: CPI-Based Trading* *Instruments:* XAUUSD (Gold), UsTech100 (Nasdaq 100), USDJPY *CPI Release:* 1. *Higher-than-expected CPI:* - XAUUSD: SELL (Gold prices may drop due to potential rate hike) - UsTech100: SELL (Tech stocks may drop due to potential rate hike) - USDJPY: BUY (USD may strengthen due to potential rate hike) 2. *Meets or lower-than-expected CPI:* - XAUUSD: BUY (Gold prices may rise due

Project information

Budget
30+ USD
For the developer
27 USD
Deadline
from 1 to 3 day(s)