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 codes
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
類似した注文
I am looking for an experienced MQL5 Expert Advisor (EA) developer to analyze an existing trading setup and develop a similar automated trading robot. Project Overview I have access to a demo trading account where trades are being executed automatically. The trading results look very promising, but I do not know exactly what strategy, logic, indicators, or trade-management rules are being used. I will provide access
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
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

プロジェクト情報

予算
50+ USD
締め切り
最高 31 日