Convert from tradingview indicator to MT5

MQL5 Indicateurs Autre

Spécifications

I need to convert this tradingview indicator to MT5 , hers the original code                                     //@version=4
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 27/12/2019
// This is combo strategies for get a cumulative signal. 
//
// First strategy
// This System was created from the Book "How I Tripled My Money In The 
// Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
// The strategy buys at market, if close price is higher than the previous close 
// during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50. 
// The strategy sells at market, if close price is lower than the previous close price 
// during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
//
// Second strategy
// The Detrend Price Osc indicator is similar to a moving average, 
// in that it filters out trends in prices to more easily identify 
// cycles. The indicator is an attempt to define cycles in a trend 
// by drawing a moving average as a horizontal straight line and 
// placing prices along the line according to their relation to a 
// moving average. It provides a means of identifying underlying 
// cycles not apparent when the moving average is viewed within a 
// price chart. Cycles of a longer duration than the Length (number 
// of bars used to calculate the Detrend Price Osc) are effectively 
// filtered or removed by the oscillator.
//
// WARNING:
// - For purpose educate only
// - This script to change bars colors.
////////////////////////////////////////////////////////////
Reversal123(Length, KSmoothing, DLength, Level) =>
    vFast = sma(stoch(close, high, low, Length), KSmoothing) 
    vSlow = sma(vFast, DLength)
    pos = 0.0
    pos := iff(close[2] < close[1] and close > close[1] and vFast < vSlow and vFast > Level, 1,
         iff(close[2] > close[1] and close < close[1] and vFast > vSlow and vFast < Level, -1, nz(pos[1], 0))) 
pos

DPO(Length) =>
    pos = 0.0
    xPrice = close
    xsma = sma(xPrice, Length)
    nRes = xPrice - xsma
    pos := iff(nRes > 0, 1,
         iff(nRes < 0, -1, nz(pos[1], 0))) 
    pos

study(title="Combo Strategy 123 Detrended Price Oscillator", shorttitle="Combo", overlay = true)
Length = input(14, minval=1)
KSmoothing = input(1, minval=1)
DLength = input(3, minval=1)
Level = input(50, minval=1)
//-------------------------
LengthDPO = input(14, minval=1)
posReversal123 = Reversal123(Length, KSmoothing, DLength, Level)
posDPO = DPO(LengthDPO)
pos = iff(posReversal123 == 1 and posDPO == 1 , 1,
   iff(posReversal123 == -1 and posDPO == -1, -1, 0)) 
barcolor(pos == -1 ? #b50404: pos == 1 ? #079605 : #0536b3 )

Répondu

1
Développeur 1
Évaluation
(555)
Projets
922
48%
Arbitrage
300
59% / 25%
En retard
123
13%
Travail
2
Développeur 2
Évaluation
(546)
Projets
823
73%
Arbitrage
15
53% / 13%
En retard
193
23%
Gratuit
3
Développeur 3
Évaluation
(16)
Projets
19
11%
Arbitrage
3
0% / 100%
En retard
2
11%
Gratuit
Commandes similaires
Hello, I'm looking for someone to build an EA that will copy trades from MT4 & 5 over to DX trade. If you already have one built even better, I'll buy it. Talk soon
Hello . Im in need of a script/ea/program whatver it might be, that creates a screenshot of my rectangle box that ive placed on the chart in mt5. For example if i draw a rectangle on the h4 timeframe from 2024 till 2021 it should screenshot the entire rectangle with the info. It should output it as png image
I need someone who can help me with the development of indicator on SMC concept. If you can do this job kindly send me a message and let's further our discussion
Hi There - I require a forex martingale calculator which will advise the correct trade setup as per my risk\reward money management rules. The calculator should have fields allowing me to input 1) Account Equity 2) Initial trade size 3) Pip step for next trade ie trade size multiplier 4) Maximum number of trades It should then calculate for me... what the result would be after x number of pips ie what the what the
Helllo!!! I have a tradingview indicator that I would like to do some modifications..Kindly bid this if you are available and all the necessary informations needed will be sent directly via the chat box..looking forward
Hello there and how have you been !!I I need a developer who is ready to take up a project ..I would like to convert Ninjatrader indicator to Tradingview all the details about the project will be sent directly to you via the inbox…
Hey Greetings. Am in need of a developer with experience in Tradingview that have successfully developed a profitable strategy for tradingview . I willing to buy already made profitable strategy for tradingview. If you have one or had develop some . Kindly apply for the job and let discuss about the price and timeline. Thanks
I need someone who have experience in building a stock trading robot? Specifically, I want to build a robot for trading in options from a foreign exchange. I think the first thing that has to be checked is the possibility to connect to the trading platform. I understand it is called FMR. Then we can start to discuss what the robot has to do exactly. basically, it has to search the table of options and look for
can you help me with a task i want an example script that basically uses python to interact with ninja trader so that it can gather / collect data from different workspaces. write a script for connection and fetching data from all the workspaces that account has
I require a TradingView Pinescript to be converted into MT5 EA. I have attached the relevant script. The script is a customisation of various indicators. The reason for conversion is mainly for backtesting and optimisation using the MT5 strategy tester. Thanks

Informations sur le projet

Budget
30+ USD
Pour le développeur
27 USD