Resources and libraries for programmers from MQL4 EA to PRT

Viewing 15 posts - 1 through 15 (of 46 total)
  • Author
    Posts
  • #47464 quote
    pieroim
    Participant
    Average

    Hi all,

    I’m a C++, visual Basic, etc senior programmer. I’m new to ProRealtime, I developed a complex MQL4 EA program and now that I have an IG accont I would like to translate it to Prorealtime.

    Where I can find all the resources about the language? Trade functions, array operators, etc..

    Thank’s

    Piero Petrosillo

    #47466 quote
    Andre Vorster
    Participant
    Senior
    #47467 quote
    pieroim
    Participant
    Average

    Ok, tank’s. If you know, is there a way to do so that the EA send an email if an event occurs?

    The EA that I developed has several security systems to prevent losses and one of which is to communicate with the operator through the mail.

    #47468 quote
    Nicolas
    Keymaster
    Master

    There is no alert function possible with codes.

    #47469 quote
    juanj
    Participant
    Master

    @pieroim you can also submit a request here for @Nicolas (site owner) to assist in the MQL4 conversion.

    Free Conversion of MT4 Indicators (MQL4)

    Just bear in mind ProOrder does not support arrays or messaging in the same way MT does.

    Alternatively, you can share the basic logic of the strategy here and we can help you to code and optimize it for use in PRT.

    #47470 quote
    pieroim
    Participant
    Average

    ok..

    modifying the code.. if I go  loss in the trade (is just an example), can I send an email?

    #47471 quote
    pieroim
    Participant
    Average

    The code is very complex, is based on ichimoku + some others indicators. It manages the profits/loss of the single trade, of all the active trades, and constantly controls the active account on the broker. will be 1000+ code lines..

    #47472 quote
    juanj
    Participant
    Master

    You are basically referring to 3 components;

    • Money/Trade Management (which we have already done plenty of on this site – so sure we can assist) – But again note that PRT can only manage the individual trades. It cannot access the available equity of the broker account.
    • We also have many Ichimoku based strategies, some simple some very advanced. So again we should be able to assist.
    #47475 quote
    pieroim
    Participant
    Average

    ok, I’m working on it from 7 days, the ea is under test, but I already have other ideas to implement. If it is not too much work for you I can insert code parts that I have difficulty in translating and maybe we will improve it further.

    #47476 quote
    juanj
    Participant
    Master

    I personally make use of advanced Ichimoku strategies on a daily basis for trading so you are in good company.

    #47477 quote
    pieroim
    Participant
    Average

    perfect!

    #47479 quote
    juanj
    Participant
    Master

    Remember it is not necessary to re-invent the wheel.

    If you provide the logic to what you want to achieve we can re-use code that we already developed.

    For example here is one of my own Ichimoku Strategies (No money management module):

    Ichimoku Strategies (General Discussion)

    We also have various pieces of money management code that can be used.

    pieroim thanked this post
    #47480 quote
    Despair
    Blocked
    Master

    You will see that there are some difference between MQL and PRT. Some of the things you listed will not work 1:1 and you must find another solution (you mention for example arrays and check of account equity, both is not possible in MQL).

    Good luck!

    pieroim thanked this post
    #47484 quote
    pieroim
    Participant
    Average

    Many thank’s

    I go to study your EA… this is my favorite way to understand a language.

    Then we can exchange ideas if you want.

    Despair thanked this post
    #47624 quote
    pieroim
    Participant
    Average

    Remember it is not necessary to re-invent the wheel. If you provide the logic to what you want to achieve we can re-use code that we already developed. For example here is one of my own Ichimoku Strategies (No money management module): https://www.prorealcode.com/topic/ichimoku-strategies-general-discussion/ We also have various pieces of money management code that can be used.

    Today I’m reading your code, I have some questions: is there no way to use sub-routines, global or static variables, an initial menu where to set constants values before the launch of the EA?

Viewing 15 posts - 1 through 15 (of 46 total)
  • You must be logged in to reply to this topic.

Resources and libraries for programmers from MQL4 EA to PRT


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
pieroim @pieroim Participant
Summary

This topic contains 45 replies,
has 5 voices, and was last updated by Nicolas
8 years, 5 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 09/27/2017
Status: Active
Attachments: 1 files
Logo Logo
Loading...