Convert from tradingview indicator to MT5

MQL5 指标 其它

指定

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 )

反馈

1
开发者 1
等级
(555)
项目
922
48%
仲裁
300
59% / 25%
逾期
123
13%
已载入
2
开发者 2
等级
(546)
项目
823
73%
仲裁
15
53% / 13%
逾期
193
23%
工作中
3
开发者 3
等级
(16)
项目
19
11%
仲裁
3
0% / 100%
逾期
2
11%
空闲
相似订单
We are seeking a cTrader EA/cBot developer to create a sophisticated trading system based on specific indicators and strategies. This system will incorporate dynamic linear regression channels, RSI signals, and meticulous risk management for profitable and sustainable trading outcomes. Key Responsibilities: Design and implement a cTrader EA/cBot that accurately aligns with provided trading system specifications
Hello programmer, I need someone that can help me with my ea project. I want to do ea Only reverse engineering (writing from scratch by analyzing the algorithm), without decompilation
Hello programmer, I need someone that can help me with my ea project. I want to do ea Only reverse engineering (writing from scratch by analyzing the algorithm), without decompilation
Hello great developers, I'm in need of an expert to code my telegram bot for me. I have all project details written in a document. Let me know if this in your area of expertise. I look forward to great working expertise. Thank you
A developer is sought to modify an existing EA. The changes to be made are on money management, adding an indicator between conditions, and (not essential) in adding a news filter. EA already works correctly but needs to be optimized
I am looking for a coder to help me code my custom Ninjatrader 8 strategy and make it work perfectly without any error, your expertise is highly needed in this job kindly reach out to me and let proceed
Hello I am looking for a professional in building a stock trading robot and make it work perfectly Specifically, I want to build a robot for trading in options from the IOF your expertise is highly needed in this project Kindly reach out and let proceed
When passing this indicator, the distances of the intersections cannot be important. i.e. if the approach of the ema characters that I have set in the graph converges at a distance, it should be shown to me correctly. it should show the convergence lines of the two intersections without or without the proximity and distance setting and give the necessary time warning.First of all, each ema intersection may need to be
Hello I have a TradingView indicator that is very accurate can you create a bot on NinjaTrader to help me make profitable trades. It is needed urgently if you can help me with this project kindly give me an answer in the comment session
I need Copy Trade program on MT5 to MT5 With Some Condition..... 1. Trade must be on Reverse (IF Master Buy then On Slave is Sell) 2. Custom Lots Size on Slave 3. Symbols Adjustment 4. TP and SL (on Slave TP and SL +.50 Added) 5. Open and Closed Order on Same time(Also On market Condition)

项目信息

预算
30+ USD
开发人员
27 USD