Converting Pine script Indicator into Mt4 indicator + EA Buy/Sell base on that indicator.

MQL4 Scripts Converting

Specification

Specification

   
EN

Hello, I have an indicator/strategy written using Pine Script editor for the TradingView website. I'd like to have 2 outputs:

1. A parallel version in MQL4 so i can use it on MT4 (or if not possible on bitmex trading bot).
2. An EA which opens and closes positions (buy and sell) based on the indicator calls. 


In the EA I'd like to be able to customize the following values:
A. tick interval (5m,15m,30m, 1h, 4h,8h,12h,Daily etc.)
B. lot size customization
C. symbol/pair currency
D. stop loss/ customization on fixed percentage of take profit target or one indicator call basis. 
E. few others internal variables

Plus, in the EA I'd like to have the following features:
F. Indicator should also be attached to the MT4 graph or bitmex graph if doable there.
G. send email both when it opens and closes a position
H. ability to close the position manually, when this happens the EA has to understand the position has been closed manually and doesn't have to open again a new position (even if the conditions are still met) for a set amount of time (amount of time which I'd like to be able to customize) or until the conditions change. If I'll close manually then I don't have to re-attach the EA to the graph to make it work again.
I. check all opening/closing signals are actually executed

L. the stop loss can be set or not.

M. input of martingle placing of trade or fixed percentage on the account margin available. 

 
I'll require the original code, which I would prefer with comments in it, so that I can understand, thanks.

Responded

1
Developer 1
Rating
(20)
Projects
46
54%
Arbitration
3
67% / 0%
Overdue
14
30%
Free
2
Developer 2
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
488
17%
Free
3
Developer 3
Rating
(564)
Projects
933
47%
Arbitration
302
59% / 25%
Overdue
125
13%
Loaded
4
Developer 4
Rating
(163)
Projects
193
48%
Arbitration
2
50% / 50%
Overdue
1
1%
Free
5
Developer 5
Rating
(6)
Projects
8
13%
Arbitration
1
0% / 100%
Overdue
0
Free
6
Developer 6
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
7
Developer 7
Rating
(28)
Projects
30
63%
Arbitration
0
Overdue
4
13%
Free

Project information

Budget
30 - 100 USD
For the developer
27 - 90 USD
Deadline
from 5 to 10 day(s)