Convert Pinescript into MT5 EA

MQL5 エキスパート 変換

仕事が完了した

実行時間3 日

指定

I need a pinescript to be accurately be converted into an MT5 EA.

Requirements:

It needs to include all the same options as the pinescript strategy.

The EA must include basic features:

Trading start hour and limits

Lot size

Auto lot based on capital

Max spread

Can be used on following symbols, US30, DAX, AUD/USD


A reverse version too, where it does the opposite, e.g a second version where it goes short on long signal and the other way around.

Full Code + Commercial Rights


Script:

strategy(title="HIGHER HIGH LOWER LOW STRATEGY", shorttitle="HH LL STRATEGY", overlay=true, calc_on_order_fills=true, initial_capital=100000, default_qty_type=strategy.percent_of_equity, currency="USD", default_qty_value=100)


////


//Higher High or Lower Low Entry Inputs
price = input(close)
LookBack = input(1)
Highest = highest(LookBack)
Lowest = lowest(LookBack)

long = price > Highest[1] 
short = price < Lowest[1]




//Safety Confirmation Inputs - Helps to thin out false breakouts or break downs
length = input(10)
High_Guard = highest(length)
Low_Guard = lowest(length)
length2 = input(1)

long1 = long == 1 and Highest[1] > High_Guard[length2]
short1 = short == 1 and Lowest[1] < Low_Guard[length2]


strategy.entry("Long", strategy.long, when=long1)
strategy.entry("Short", strategy.short, when=short1)

応答済み

1
開発者 1
評価
(137)
プロジェクト
167
35%
仲裁
11
91% / 0%
期限切れ
0
暇
2
開発者 2
評価
(852)
プロジェクト
1470
72%
仲裁
122
29% / 48%
期限切れ
361
25%
暇
パブリッシュした人: 3 articles

プロジェクト情報

予算
100+ USD
締め切り
最高 5 日