Convert TradingView Script to MT5 Indicator

MQL5 インディケータ 変換

仕事が完了した

実行時間4 日
開発者からのフィードバック
great client to work with. He's very professional in trading algorithms and provided valuable insights to me. And Fast response. Thank you.
依頼者からのフィードバック
Great experience!! STRONGLY RECOMMENDED Petru is one of the best developers I ever work with. Strong technical skill and well communication.

指定

I need a pinescript indicator "Currency Strength Meter" below converted to an MQL5 indicator.  Straightforward request, the MT indicator must be accurate and no error. 


//@version=4
study("Correlation Hedge", shorttitle="CoH")
//len = input(200, title="Length")
len = input(200, title="Length", minval=3)
smt = input(5, title="Smoothing EMA period", minval=1)

usd = security("DXY", timeframe.period, close)

myStoch(x) =>
    200 * (x - lowest(x, len)) / (highest(x, len) - lowest(x, len)) - 100

Calc_inv(sec) =>
    base = security(sec, timeframe.period, close) / usd
    myStoch(base)
Calc_dir(sec) =>
    base = usd / security(sec, timeframe.period, close)
    myStoch(base)

sigEur = ema(Calc_inv("EURUSD"), smt)
sigUsd = ema(myStoch(usd), smt)

plot(sigUsd, title="USD", color=#ff7f00, linewidth=2)
plot(sigEur, title="EUR", color=#00ffff, linewidth=2)


応答済み

1
開発者 1
評価
(4)
プロジェクト
3
33%
仲裁
1
0% / 100%
期限切れ
0
2
開発者 2
評価
(32)
プロジェクト
57
23%
仲裁
12
67% / 8%
期限切れ
2
4%
3
開発者 3
評価
(13)
プロジェクト
21
24%
仲裁
1
100% / 0%
期限切れ
3
14%
4
開発者 4
評価
(337)
プロジェクト
624
38%
仲裁
40
23% / 65%
期限切れ
93
15%
パブリッシュした人: 4 articles, 19 codes

プロジェクト情報

予算
30+ USD
締め切り
最低 1 最高 3 日