Volatility Traders Minds Strategy ( VTM Strategy)

MQL5 专家

工作已完成

执行时间10 天
客户反馈
super code writer. will send different sample lines until you have achieved what you wanted. I strongly recommend
员工反馈
Great customer. Sociability at the highest level, often online. Nice to work with him. Thanks for your order

指定

 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()

反馈

1
开发者 1
等级
(208)
项目
297
54%
仲裁
0
逾期
1
0%
空闲
发布者: 6 代码
2
开发者 2
等级
(137)
项目
167
35%
仲裁
11
91% / 0%
逾期
0
空闲
3
开发者 3
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
4
开发者 4
等级
(619)
项目
722
33%
仲裁
46
48% / 41%
逾期
14
2%
已载入
5
开发者 5
等级
(20)
项目
29
55%
仲裁
0
逾期
0
空闲
6
开发者 6
等级
项目
0
0%
仲裁
2
0% / 100%
逾期
0
空闲
相似订单
Modification of existing ea …. Add ema filter, add risk percentage per trade, and modify the pips per day filter. I already have the ea code I just need these things added and modifified
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
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

项目信息

预算
50+ USD
截止日期
 31 天