Volatility Traders Minds Strategy ( VTM Strategy)

MQL5 Experts

Job finished

Execution time 10 days
Feedback from customer
super code writer. will send different sample lines until you have achieved what you wanted. I strongly recommend
Feedback from employee
Great customer. Sociability at the highest level, often online. Nice to work with him. Thanks for your order

Specification

 Traders Minds Strategy ( Strategy)

    Conditions for entry:
1 - Candles must to be above or bellow the 48 MA (Yellow line)
2 - Candles must to break the middle of  bollinger bands
3 -  Macd must to be above or bellow zero level;

4 -  ADX must to be above 25 level




For Buys:
1. Price must be above 48 Ema
2. Candle must close above middle bollinger band
3. Macd must be above 0 at the time candle closed above middle band OR can wait until 2nd candle to close above 0 if it’s below 0 at the time candle closed above middle band. (Otherwise don’t take trade)
4. ADX must be above 25 level

-Close trade when candle closes above upper band (TP)
-Close trade when candle closes below middle band (SL)

For Sells:
1. Price must be below 48 Ema
2. Candle must close below middle bollinger band
3. Macd must be below 0 at the time candle closed Below middle band OR can wait until 2nd candle to close below 0 if it’s above 0 at the time candle closed below middle band. (Otherwise don’t take trade)
4. ADX must be above 25 level
-Close trade when candle closes below lower band (TP)
-Close trade when candle closes above middle band (SL)





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

// © 03.freeman

//Volatility Traders Minds Strategy (VTM Strategy)

//I found this startegy on internet, with a video explaingin how it works.

//Conditions for entry:

//1 - Candles must to be above or bellow the 48 MA (Yellow line)

//2 - Candles must to break the middle of bollinger bands

//3 - Macd must to be above or bellow zero level;

//4 - ADX must to be above 25 level

//@version=4

strategy("Volatility Traders Minds Strategy (VTM Strategy)", shorttitle="VTM",overlay=true)

source = input(close)

//MA

ma48 = sma(source,48)

//MACD

fastLength = input(7)

slowlength = input(9)

MACDLength = input(7)


MACD = ema(source, fastLength) - ema(source, slowlength)

aMACD = ema(MACD, MACDLength)

delta = MACD - aMACD


//BB


length = input(20, minval=1)

mult = input(2.0, minval=0.001, maxval=50)


basis = sma(source, length)

dev = mult * stdev(source, length)


upper = basis + dev

lower = basis - dev


//ADX

adxThreshold = input(title="ADX Threshold", type=input.integer, defval=25, minval=1)

adxlen = input(14, title="ADX Smoothing")

dilen = input(14, title="DI Length")

dirmov(len) =>

up = change(high)

down = -change(low)

plusDM = na(up) ? na : (up > down and up > 0 ? up : 0)

    minusDM = na(down) ? na : (down > up and down > 0 ? down : 0)

truerange = rma(tr, len)

plus = fixnan(100 * rma(plusDM, len) / truerange)

minus = fixnan(100 * rma(minusDM, len) / truerange)

[plus, minus]


adx(dilen, adxlen) =>

[plus, minus] = dirmov(dilen)

sum = plus + minus

adx = 100 * rma(abs(plus - minus) / (sum == 0 ? 1 : sum), adxlen)


sig = adx(dilen, adxlen)


//  Strategy: (Thanks to JayRogers)

// === STRATEGY RELATED INPUTS ===

//tradeInvert     = input(defval = false, title = "Invert Trade Direction?")

// the risk management inputs

inpTakeProfit   = input(defval = 0, title = "Take Profit Points", minval = 0)

inpStopLoss     = input(defval = 0, title = "Stop Loss Points", minval = 0)

inpTrailStop    = input(defval = 0, title = "Trailing Stop Loss Points", minval = 0)

inpTrailOffset  = input(defval = 0, title = "Trailing Stop Loss Offset Points", minval = 0)


// === RISK MANAGEMENT VALUE PREP ===

// if an input is less than 1, assuming not wanted so we assign 'na' value to disable it.

useTakeProfit   = inpTakeProfit  >= 1 ? inpTakeProfit  : na

useStopLoss     = inpStopLoss    >= 1 ? inpStopLoss    : na

useTrailStop    = inpTrailStop   >= 1 ? inpTrailStop   : na

useTrailOffset  = inpTrailOffset >= 1 ? inpTrailOffset : na


// === STRATEGY - LONG POSITION EXECUTION ===

enterLong() => close>ma48 and close>basis and delta>0 and sig>adxThreshold  // functions can be used to wrap up and work out complex conditions

//exitLong() => jaw>teeth or jaw>lips or teeth>lips

strategy.entry(id = "Buy", long = true, when = enterLong() )    // use function or simple condition to decide when to get in

//strategy.close(id = "Buy", when = exitLong() )                  // ...and when to get out


// === STRATEGY - SHORT POSITION EXECUTION ===

enterShort() => close<ma48 and close<basis and delta<0 and sig>adxThreshold

//exitShort() => jaw<teeth or jaw<lips or teeth<lips

strategy.entry(id = "Sell", long = false, when = enterShort())

//strategy.close(id = "Sell", when = exitShort() )


// === STRATEGY RISK MANAGEMENT EXECUTION ===

// finally, make use of all the earlier values we got prepped

strategy.exit("Exit Buy", from_entry = "Buy", profit = useTakeProfit, loss = useStopLoss, trail_points = useTrailStop, trail_offset = useTrailOffset)

strategy.exit("Exit Sell", from_entry = "Sell", profit = useTakeProfit, loss = useStopLoss, trail_points = useTrailStop, trail_offset = useTrailOffset)


// === Backtesting Dates === thanks to Trost


testPeriodSwitch = input(false, "Custom Backtesting Dates")

testStartYear = input(2020, "Backtest Start Year")

testStartMonth = input(1, "Backtest Start Month")

testStartDay = input(1, "Backtest Start Day")

testStartHour = input(0, "Backtest Start Hour")

testPeriodStart = timestamp(testStartYear,testStartMonth,testStartDay,testStartHour,0)

testStopYear = input(2020, "Backtest Stop Year")

testStopMonth = input(12, "Backtest Stop Month")

testStopDay = input(31, "Backtest Stop Day")

testStopHour = input(23, "Backtest Stop Hour")

testPeriodStop = timestamp(testStopYear,testStopMonth,testStopDay,testStopHour,0)

testPeriod() =>

    time >= testPeriodStart and time <= testPeriodStop ? true : false

isPeriod = testPeriodSwitch == true ? testPeriod() : true

// === /END


if not isPeriod

    strategy.cancel_all()

    strategy.close_all()

Responded

1
Developer 1
Rating
(208)
Projects
297
54%
Arbitration
0
Overdue
1
0%
Free
Published: 6 codes
2
Developer 2
Rating
(137)
Projects
167
35%
Arbitration
11
91% / 0%
Overdue
0
Free
3
Developer 3
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
4
Developer 4
Rating
(619)
Projects
722
33%
Arbitration
46
48% / 41%
Overdue
14
2%
Loaded
5
Developer 5
Rating
(20)
Projects
29
55%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
Projects
0
0%
Arbitration
2
0% / 100%
Overdue
0
Free
Similar orders
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
MQL5 Developer 30+ USD
📄 وثيقة المواصفات الفنية لروبوت التداول (MQL5 EA Specification) 📌 1. ملخص المشروع والهدف * اسم المشروع: Gold Cent Grid-Hedge EA * المنصة: MetaTrader 5 (MQL5) * أداة التداول: الذهب (XAUUSD) * نوع الحساب: حساب سنت (Cent Account) * فكرة الاستراتيجية: تداول شبكة هيدج متوازنة (Grid-Hedging) تفتح صفقات تعزيز كل مسافة محددة، وتغلق الطرف الأكثر ربحاً عند تحقيق هدف مالّي مجمع بالدولار/السنت لإعادة هيكلة التوازن. ⚙️ 2
I need a developer who also understands trading. I have a Telegram copy-trading bot that reads signals from a Telegram channel via a Python script and converts them into trading orders. I want to create a program that analyzes Gold (XAUUSD) charts specifically and sends signals in this exact format: #XAUUSD BUY 4324-4321 TP 4327 TP 4330 TP 4334 TP 4339 TP 4344 TP 4354 TP 4364 SL 4311 If the # symbol is missing at the
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA
Gold hunter v5 30+ USD
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total
Code the indicator to MT5 EA, include all the inputs variables and values Allow live trading Allow demo trading Allow strategy tester Bar shift 0 adjustable Allow indicator to show on strategy tester Lot size adjustable Max spread in points (0=disable) Use stop loss circle true or false Stop loss circle in points adjustable Use stop loss true or false Stop loss in points (adjustable) Take profit true or false Use
MT5 High-Volume Trading Bot Requirements I am looking for a professional MetaTrader 5 (MT5) trading bot / Expert Advisor designed for high trading volume while maintaining extremely low and controlled drawdown. The requirements are: * Platform: MetaTrader 5 (MT5) only. * Trading volume: approximately 1,000–2,000 operations/trades per day. * No HFT: I am not looking for a true high-frequency trading system based on
Poverty 30+ USD
Develop the EA according to my provided trading strategy and rules. The EA must open and close trades automatically according to the specified conditions. Include configurable Stop Loss, Take Profit, lot size and risk-management settings. Include an option for fixed lot size or percentage-based risk. Include Magic Number and trade-comment settings. The EA must work correctly on the requested MT4/MT5 platform and
I need an Expert Advisor (EA) developed for MetaTrader 5 (MT5) tailored for trading on Exness accounts. Account & Server Details: Trading Platform: MetaTrader 5 (MT5) Broker: Exness Execution Type: Market / Pending Orders Account Type: [Specify: Standard / Pro / Raw Spread / Zero] Target Instruments: [Specify pairs, e.g., XAUUSD, EURUSD, BTCUSD] Strategy Requirements: Entry Rules: [Insert your buy/sell entry

Project information

Budget
50+ USD
Deadline
to 31 day(s)