Convert a mean reverting ea from python to MQL5

指定

Hi,

I am looking for someone to convert this strategy in Python to MQL5: QuantConnect.com - Embedded Backtest Results

The idea behind it is that, if you get two pairs of instruments that move in a similar direction (such as Gold and Silver), they will tend to revert to a mean that can be estimated using the Ornstein-Uhlenbeck Process. It is then used to maximize a log function.


There is a tutorial for it here:  Tutorials - Strategy Library - Optimal Pairs Trading - QuantConnect.com

And the paper for the strategy is here: 1411.5062.pdf (arxiv.org)

A video with an explanation is here: ATC Workshop 7: Optimal Pairs Trading with Ornstein-Uhlenbeck modeling (1.5x speed rec.) - YouTube


"STEPS FOR TRADING:

  1. Estimate Ornstein-Uhlenbeck (OU) Coefficients (theta, mu, sigma)

    1. Note for paper: Theta- long-term mean, mu is the force pulling our values back to theta, sigma is noise 

  2. Solve the Optimal Stopping problem, which gives us the best prices to buy and sell. This way we can buy low sell high

    1. b = optimal value at which we sell, d = optimal value at which we buy

    2. b > d, so we can buy low sell high

  3. Buy at the optimal entry, and sell at the optimal exit"


応答済み

1
開発者 1
評価
(204)
プロジェクト
208
28%
仲裁
0
期限切れ
3
1%
2
開発者 2
評価
(171)
プロジェクト
194
11%
仲裁
37
38% / 35%
期限切れ
5
3%
取り込み中
3
開発者 3
評価
(3)
プロジェクト
4
0%
仲裁
2
0% / 100%
期限切れ
1
25%
4
開発者 4
評価
(51)
プロジェクト
66
30%
仲裁
2
0% / 0%
期限切れ
0
5
開発者 5
評価
(1)
プロジェクト
1
0%
仲裁
2
0% / 50%
期限切れ
0
類似した注文
CHAPTER 1: BASICS 1.THE BASICS 1.1. EXPANSION AND RETRACEMENT Expansion =>occurs when there is an impulse movement towards a direction. Retracement => is the correction movement after an impulse movement. 1.2. FIBBONACCI RETRACEMENT USED TO DETERMINE THE END OF THE RETRACTION MOVEMENT, USUALLY THE PRICE RETRACTS TO 50% OR UNTIL OTE (0.62, 0.705, 0.79) BEFORE ANOTHER IMPULSE MOVEMENT OCCURS. 1.3. BMS - BREAK IN MARKET
Hello i need someone who can convert a trading view indicator into an mt5 indicator that can work smoothly also need to add an alert on the indicator i will require to test the indicator run it for 1-2days to confirm all is okay thank you
The requirements for the order of robots XAUUSD and XAGUSD EURUSD forex in the STOP loss TAKE profit signal in this order, you can bring benefits to the changes in the market, that is, when the market changes frequently, it will also help to prevent losses and bring great profits all work to trade high and low python line position
I'm seeking a C# developer with Quantower experience to assist me in exporting data from the Option Analytic panel in real-time via an API. This data will be exported based on a window app, not a web app. You can review the document at the following link : . https://github.com/Quantower/Examples/blob/master/IndicatorExamples/GetOptionsInfo.cs Please check it before bidding NOTE : - Quantower is an app, not web
Please I Need A Programmer Who Can Create A Requirement Specification Document For My Trading System THE IDEA OF THE INDICATOR Create A Standard ZigZag Auto Fibo Indicator Combined With A ZigZag Fibonacci Time Zone Indicator Which Has The Specified Levels Written In The Indicator Strategy TEXT FILE/DOCUMENT HOW DOES THE INDICATOR KNOW AN UPTREND MOVEMENT? If Price Hasn't Touched The 123.6% Level Of The Recent Static
My idea _Anna. 50+ USD
I'm looking for a strategy where I can specify two points, such as Point A and Point B, which could be based on today's high/low or yesterday’s high/low, etc. I should have the option to define these points. The system should execute a buy order when the price goes above Point A, with the ability to set a target in percentage or points, as well as a stop-loss. Similarly, when the price drops below Point B, it should
THE IDEA OF THE INDICATOR Create A Standard ZigZag Auto Fibo Indicator Combined With A ZigZag Fibonacci Time Zone Indicator Which Has The Specified Levels Written In The Indicator Strategy TEXT FILE/DOCUMENT HOW DOES THE INDICATOR KNOW AN UPTREND MOVEMENT? If Price Hasn't Touched The 123.6% Level Of The Recent Static Uptrend Zig Zag Fibo Retracement Tool Then The Indicator Knows That The Market Is In An Uptrend And
My requirements are the following. I am ordering, I need an expert consultant on EA matters and an indicator in the trade pairs of XAUUSD and XAGUSD, we also need powerful robots for changing prices in the market. the market conditions, i.e. flexibility, then the business should be beneficial for all I need high and low line python line position to work thank you
Hello programmers, I’m looking only for veteran programmers with profound knowledge and experience in strategy optimization to improve my EA. The backtests are incredible, even with REAL TICKS of 100% quality Dukascopy data, but real results are quite disappointing on my specific brokerage. I would really love to adapt the EA so that back testing results and forward testing can better match. The strategy uses a
hello, I need quick help with ninjatrader tool, market replay is not updating candles on chart, even though time is updating on playback window. I need someone who can help remotely to see what is issue. are you available

プロジェクト情報

予算
200 - 500 USD
開発者用
180 - 450 USD