Convert this Pine Script (only 8 lines of code) strategy to MQL5 as an EA

MQL5 エキスパート 変換

仕事が完了した

実行時間12 時間
開発者からのフィードバック
Thank you very much, sir :)
依頼者からのフィードバック
Took a basic description of what I wanted, then proceeded to provide exactly what was asked. I'll be requesting personal work in the near future.

指定

The following code is in Pine Script.  I need it converted to MQL5 to be applied as an EA.

strategy("Trend", overlay=true)

tim=input('160')

out1 = security(tickerid, tim, open)
out2 = security(tickerid, tim, close)

plot(out1,color=red)
plot(out2,color=green)

longCondition = crossover(out2,out1)
if (longCondition)
    strategy.entry("long", strategy.long)

shortCondition = crossunder(out2,out1)
if (shortCondition)
    strategy.entry("short", strategy.short)

応答済み

2
開発者 2
評価
(192)
プロジェクト
232
30%
仲裁
1
100% / 0%
期限切れ
9
4%
暇
パブリッシュした人: 2 codes
3
開発者 3
評価
(206)
プロジェクト
333
35%
仲裁
66
12% / 58%
期限切れ
87
26%
暇
4
開発者 4
評価
(94)
プロジェクト
148
59%
仲裁
16
38% / 13%
期限切れ
25
17%
暇
パブリッシュした人: 1 code

プロジェクト情報

予算
30 - 50 USD
締め切り
最低 1 最高 5 日