Job finished
Execution time 1 day
Feedback from employee
Good project and great customer
Thanks :)
Specification
Hello,
I have a simple pine script that needs to be converted into an EA.
//@version=2 strategy(title = "RSI versus SMA", shorttitle = "RSI vs SMA", overlay = false, pyramiding = 0, default_qty_type = contracts, default_qty_value = 1, currency = currency.EUR) // Description: // - It's RSI versus a Simple Moving Average.. Not sure it really needs much more description. // - Should not repaint - Automatically offsets by 1 bar if anything other than "open" selected as RSI source. // === INPUTS === // rsi rsiSource = input(defval = open, title = "RSI Source") rsiLength = input(defval = 8, title = "RSI Length", minval = 1) // sma maLength = input(defval = 34, title = "MA Period", minval = 1) // invert trade direction tradeInvert = input(defval = false, title = "Invert Trade Direction?") // risk management useStop = input(defval = false, title = "Use Initial Stop Loss?") slPoints = input(defval = 25, title = "Initial Stop Loss Points", minval = 1) useTS = input(defval = true, title = "Use Trailing Stop?") tslPoints = input(defval = 120, title = "Trail Points", minval = 1) useTSO = input(defval = false, title = "Use Offset For Trailing Stop?") tslOffset = input(defval = 20, title = "Trail Offset Points", minval = 1) // === /INPUTS === // === BASE FUNCTIONS === // delay for direction change actions switchDelay(exp, len) => average = len >= 2 ? sum(exp, len) / len : exp[1] up = exp > average down = exp < average state = up ? true : down ? false : up[1] // === /BASE FUNCTIONS === // === SERIES and VAR === // rsi shunt = rsiSource == open ? 0 : 1 rsiUp = rma(max(change(rsiSource[shunt]), 0), rsiLength) rsiDown = rma(-min(change(rsiSource[shunt]), 0), rsiLength) rsi = (rsiDown == 0 ? 100 : rsiUp == 0 ? 0 : 100 - (100 / (1 + rsiUp / rsiDown))) - 50 // shifted 50 points to make 0 median // sma of rsi rsiMa = sma(rsi, maLength) // self explanatory.. tradeDirection = tradeInvert ? 0 <= rsiMa ? true : false : 0 >= rsiMa ? true : false // === /SERIES === // === PLOTTING === barcolor(color = tradeDirection ? green : red, title = "Bar Colours") // hlines medianLine = hline(0, title = 'Median', color = #996600, linestyle = dotted, linewidth = 1) limitUp = hline(25, title = 'Limit Up', color = silver, linestyle = dotted, linewidth = 1) limitDown = hline(-25, title = 'Limit Down', color = silver, linestyle = dotted, linewidth = 1) // rsi and ma rsiLine = plot(rsi, title = 'RSI', color = purple, linewidth = 2, style = line, transp = 50) areaLine = plot(rsiMa, title = 'Area MA', color = silver, linewidth = 1, style = area, transp = 70) // === /PLOTTING === goLong() => not tradeDirection[1] and tradeDirection killLong() => tradeDirection[1] and not tradeDirection strategy.entry(id = "Buy", long = true, when = goLong()) strategy.close(id = "Buy", when = killLong()) goShort() => tradeDirection[1] and not tradeDirection killShort() => not tradeDirection[1] and tradeDirection strategy.entry(id = "Sell", long = false, when = goShort()) strategy.close(id = "Sell", when = killShort()) if (useStop) strategy.exit("XSL", from_entry = "Buy", loss = slPoints) strategy.exit("XSS", from_entry = "Sell", loss = slPoints) // if we're using the trailing stop if (useTS and useTSO) // with offset strategy.exit("XSL", from_entry = "Buy", trail_points = tslPoints, trail_offset = tslOffset) strategy.exit("XSS", from_entry = "Sell", trail_points = tslPoints, trail_offset = tslOffset) if (useTS and not useTSO) // without offset strategy.exit("XSL", from_entry = "Buy", trail_points = tslPoints) strategy.exit("XSS", from_entry = "Sell", trail_points = tslPoints)
This script should have the following functions:
-ability to backtest
-LotSize input - how much I want to use for trades, from 0,01 to 0,1 to 1 (of course I can set what I what I want e.g. 0,3 as well and so on)
-Automatic trade execution
SourceCode included of course
Responded
1
Rating
Projects
2
0%
Arbitration
3
0%
/
100%
Overdue
0
Free
2
Rating
Projects
80
28%
Arbitration
8
75%
/
13%
Overdue
41
51%
Free
3
Rating
Projects
528
74%
Arbitration
9
44%
/
0%
Overdue
24
5%
Free
Similar orders
Convert MT4 indicator to MT5
30 - 40 USD
Hello Good evening, I would like to convert an MT4 indicator to MT5. Is this possible? I will send you a screenshot of how the indicator works. It has up and down arrows. that's all. What is your cost for labor and delivery time
Converting Trading View Indicator to MT5
30 - 60 USD
Convert Trading View indicator to MT5. The source code is available for free on Trading View. Changing the colors of buffers used for each color must be allocated to separate buffers This is so that there is no difficulty in making a robot through the indicator need source file
Recherche codeur pour convertir mon script de stratégie pine script en mql5 afin d’en faire un ea fonctionnel gratuit si possible car très rapide ou alors arrangement à mes premier gain
Hello, I am kindly looking for a developer to help with the migration of an existing Expert Advisor from MQL4 to MQL5. The primary tasks required are: Code Migration: The current EA is based on MQL4 and needs to be rewritten for compatibility with MQL5. It is a straightforward mechanical limit order inventory management strategy (Grid), but it requires precise handling to ensure that its functionality remains
Adaptation of a Expert Advisors
50 - 200 USD
already have an advisor on mql4 and I want to adapt it to mql5, and chance some things on it, I was working with a developer but he is to busy to keep working on it the advisor has been tested and it does most of what we want it to do but, I need some adjusts
CONVERT TWO TRADINGVIEW INDICATORS TO MT 4
30 - 40 USD
Hello there, I need a developer that can help me convert 2 TradingView Indicators into MT4 in 2 days. I need this to be perfectly converted and as soon as possible. Thanks
👋 hello great developer am looking for expert to help me with convert with this 2 pine script indicator into mt4 indicator? I will be looking for great developer to bid for this project. Best regards
Convert from pine script to MT4 in 2 days
40 - 60 USD
Hello there, I need a developer that can help me convert 2 TradingView pinescripts into MT4 in 2 days. I need this to be perfectly converted and as soon as possible. Thanks
👋 hello great developer am looking for expert to help me with convert pine script indicator into mt4 indicator? I will be looking for great developer to bid for this project Best regards
Converting from MQL4 to MQL5
30+ USD
Hello, I am looking for a developer, that can convert my MQL5 EA to MQL4 EA. The code is simple and not too long, just a little above 300, including comments. I will be willing to communicate for fast and clean partnership. Have a great day everyone! Kind regards, Morka555
Project information
Budget
30+ USD
For the developer
27
USD
Deadline
to 1 day(s)