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
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.