Specification
Hello, I have exist strategy from Tradingview that I want to be convert to expert MT5. The Tradingview strategy name " Flawless Victory Strategy - 15min BTC Machine Learning Strategy "
I will use version 2 only.
So I just want to be able to give Lot size input( can set to default at 0.01 first) and be able to set stop loss and take profit, both in percentage not points (use the method that strategy use) and place the BUY position when Buy_2 is true, Close position when Sell_2 is true
The strategy using RSI, MFI and Bollinger bands to calculate
I attached full code that have version 1 and 3 but you only have to work on version 2
I will use version 2 only.
So I just want to be able to give Lot size input( can set to default at 0.01 first) and be able to set stop loss and take profit, both in percentage not points (use the method that strategy use) and place the BUY position when Buy_2 is true, Close position when Sell_2 is true
The strategy using RSI, MFI and Bollinger bands to calculate
I attached full code that have version 1 and 3 but you only have to work on version 2
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © Bunghole //@version=4 strategy(overlay=true, shorttitle="Flawless Victory Strategy", default_qty_type = strategy.percent_of_equity, initial_capital = 100000, default_qty_value = 100, pyramiding = 0, title="Flawless Victory Strategy", currency = 'USD') ////////// ** Inputs ** ////////// // Stoploss and Profits Inputs v1 = input(true, title="Version 1 - Doesn't Use SL/TP") v2 = input(false, title="Version 2 - Uses SL/TP") v3 = input(false, title="Version 3 - Uses SL/TP") v2stoploss_input = input(6.604, title='Stop Loss %', type=input.float, minval=0.01)/100 v2takeprofit_input = input(2.328, title='Take Profit %', type=input.float, minval=0.01)/100 v2stoploss_level = strategy.position_avg_price * (1 - v2stoploss_input) v2takeprofit_level = strategy.position_avg_price * (1 + v2takeprofit_input) v3stoploss_input = input(8.882, title='Stop Loss %', type=input.float, minval=0.01)/100 v3takeprofit_input = input(2.317, title='Take Profit %', type=input.float, minval=0.01)/100 v3stoploss_level = strategy.position_avg_price * (1 - v3stoploss_input) v3takeprofit_level = strategy.position_avg_price * (1 + v3takeprofit_input) plot(v2 and v2stoploss_input and v2stoploss_level ? v2stoploss_level: na, color=color.red, style=plot.style_linebr, linewidth=2, title="v2 Stoploss") plot(v2 and v2takeprofit_input ? v2takeprofit_level: na, color=color.green, style=plot.style_linebr, linewidth=2, title="v2 Profit") plot(v3 and v3stoploss_input and v3stoploss_level ? v3stoploss_level: na, color=color.red, style=plot.style_linebr, linewidth=2, title="v3 Stoploss") plot(v3 and v3takeprofit_input ? v3takeprofit_level: na, color=color.green, style=plot.style_linebr, linewidth=2, title="v3 Profit") ////////// ** Indicators ** ////////// // RSI len = 14 src = close up = rma(max(change(src), 0), len) down = rma(-min(change(src), 0), len) rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - 100 / (1 + up / down) // MFI MFIlength = 14 MFIsrc = hlc3 MFIupper = sum(volume * (change(MFIsrc) <= 0 ? 0 : MFIsrc), MFIlength) MFIlower = sum(volume * (change(MFIsrc) >= 0 ? 0 : MFIsrc), MFIlength) _rsi(MFIupper, MFIlower) => if MFIlower == 0 100 if MFIupper == 0 0 100.0 - (100.0 / (1.0 + MFIupper / MFIlower)) mfi = _rsi(MFIupper, MFIlower) // v1 Bollinger Bands length1 = 20 src1 = close mult1 = 1.0 basis1 = sma(src1, length1) dev1 = mult1 * stdev(src1, length1) upper1 = basis1 + dev1 lower1 = basis1 - dev1 // v2 Bollinger Bands length2 = 17 src2 = close mult2 = 1.0 basis2 = sma(src2, length2) dev2 = mult2 * stdev(src2, length2) upper2 = basis2 + dev2 lower2 = basis2 - dev2 ////////// ** Triggers and Guards ** ////////// // v1 Strategy Parameters RSILowerLevel1 = 42 RSIUpperLevel1 = 70 BBBuyTrigger1 = src1 < lower1 BBSellTrigger1 = src1 > upper1 rsiBuyGuard1 = rsi > RSILowerLevel1 rsiSellGuard1 = rsi > RSIUpperLevel1 // v2 Strategy Parameters RSILowerLevel2 = 42 RSIUpperLevel2 = 76 BBBuyTrigger2 = src2 < lower2 BBSellTrigger2 = src2 > upper2 rsiBuyGuard2 = rsi > RSILowerLevel2 rsiSellGuard2 = rsi > RSIUpperLevel2 // v3 Strategy Parameters MFILowerLevel3 = 60 RSIUpperLevel3 = 65 MFIUpperLevel3 = 64 BBBuyTrigger3 = src1 < lower1 BBSellTrigger3 = src1 > upper1 mfiBuyGuard3 = mfi < MFILowerLevel3 rsiSellGuard3 = rsi > RSIUpperLevel3 mfiSellGuard3 = mfi > MFIUpperLevel3 //////////** Strategy Signals ** ////////// // v1 Signals Buy_1 = BBBuyTrigger1 and rsiBuyGuard1 Sell_1 = BBSellTrigger1 and rsiSellGuard1 if v1 == true strategy.entry("Long", strategy.long, when = Buy_1, alert_message = "v1 - Buy Signal!") strategy.close("Long", when = Sell_1, alert_message = "v1 - Sell Signal!") // v2 Signals Buy_2 = BBBuyTrigger2 and rsiBuyGuard2 Sell_2 = BBSellTrigger2 and rsiSellGuard2 if v2 == true strategy.entry("Long", strategy.long, when = Buy_2, alert_message = "v2 - Buy Signal!") strategy.close("Long", when = Sell_2, alert_message = "v2 - Sell Signal!") strategy.exit("Stoploss/TP", "Long", stop = v2stoploss_level, limit = v2takeprofit_level) // v3 Signals Buy_3 = BBBuyTrigger3 and mfiBuyGuard3 Sell_3 = BBSellTrigger3 and rsiSellGuard3 and mfiSellGuard3 if v3 == true strategy.entry("Long", strategy.long, when = Buy_3, alert_message = "v2 - Buy Signal!") strategy.close("Long", when = Sell_3, alert_message = "v2 - Sell Signal!") strategy.exit("Stoploss/TP", "Long", stop = v3stoploss_level, limit = v3takeprofit_level)
Responded
1
Rating
Projects
362
24%
Arbitration
21
62%
/
24%
Overdue
1
0%
Free
2
Rating
Projects
4
0%
Arbitration
1
0%
/
0%
Overdue
0
Free
Similar orders
Converting MT4 to MT5 Project
30+ USD
I need an experienced developer to convert my MT4 EA based on the Super Trend indicator to MT5. The new EA should also include additional features. Essential modifications: - Incorporate additional indicators: Moving Average and PSAR. - Add custom alerts: Push and sound notifications. - Implement money management rules
Forex Custom EA optimization
150+ USD
I have a custom EA that I need optimized. I need it optimized for many pairs and the set files sent to me. The EA was created a few months ago, it works, but I need it optimized for it to run better
Development of mql5 indicator
30+ USD
i am looking for an indicator that gives buy sell signal by placing arrows on the chart, signals must not repaint or be placed with an offset, i want it to be accurate enough so i can trade from signal to signal and actually make profit, do any one have a strategy and skill to create such an indicator, and also it is to mql5, ( Important is, It must have No repainting and No offset ), if you know it is something you
Profitable mql5 ea
40+ USD
hello freelancers i need some one with a profitable ea for gold and dj30 i need the ea to be a scalping ea which places orders with sl and tp of 200 points for each trade and have a winning rate of more than 70 percent. if you have it already please apply for this
Build an EA for magic number
50+ USD
I need an EA for magic number that shows three unique numbers in every single candle.Mainly this EA shows the strength of the candle and momentum . More details inbox me
Specification AR Code a grid expert advisor (EA) MQL5 that uses a sort of hedged laddering mechanism . Core Logic Outline: Initial Setup : Open a double trade (Buy & Sell) at the current market price. Set two pending double trades (Buy/Sell limits) at a fixed distance on either side (e.g., ±X pips). On Trigger Event : When price hits one of the pending double trade levels, execute the new double position
Need a simple Dollar risk manager EA
30 - 70 USD
Description: I need a professional MetaTrader 5 developer to build a clean, fully editable Expert Advisor (EA) that strictly controls risk based on dollar-loss thresholds per lot size, and includes hard rules for equity protection and trade limits. Trade Management Rules 1. Dollar-Based Auto Close (Per Lot Size) The EA must close each individual XAUUSD trade once its loss in USD reaches a specific threshold tied to
I need someone experienced to develop a trading robot with the criteria's - Heikin ashi candle logic - Buystops under certain conditions - Trailing stop losses at a certain interval - Dynamic position sizing so its able to calculate lot sizes and risk the correct % each trade , - Understand heikin ashi swing high swing low logic to find where to place the stop loss/identify correct entries , - Be able to only make
Looking for Ninjatrader Developer
100+ USD
hello dear developer I'm looking for a NinjaTrader developer to create a semi-automated trading strategy that enters trades based on visual text signals from my custom indicator. The strategy should handle automatic entries, allow manual management after entry, and include configurable settings like TP, SL, and trading time. If you're experienced with NinjaTrader and strategy development, feel free to reach out
I am looking to hire somebody to take my written description along with the code I have put together and fix it / optimize it and make it a profitable scalping EA that enters and exits positions quickly with profit
Project information
Budget
40+ USD
For the developer
36
USD
Deadline
from 1 to 5 day(s)