Jump to content

johnjet

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by johnjet

  1. I think this place is a mountain of treasure. But even in a treasure vault, not everything is treasure to different people. Goes the same for EA. How would you decide how much time you're going to spend on a particular EA and whether the EA even works...

     

    Personally, I'd rather build my own EA after finding a suitable trading strategy for myself and just take the information here for learning purposes. Reading "educated" EAs and other people's EAs helps me learn a lot about coding an EA by myself :)

  2. Hello guys. I'm new in programming in MQL4 but I have some idea about C++ language :D

     

    I am currently writing my first EA but I am stuck.

     

    I was wondering if someone could share with me on the flow of an EA? This is what I had in mind. Please correct me if the order is wrong or I'm missing something.

     

    start()

    {

    // First section to identify signal based on trading system and output a string with buy/sell indicator

     

    // Second section to identify if there are any open orders, and maybe close orders if signal is showing opposite direction

     

    // Third section to place an order if there are no open orders and fulfil the signal criteria

     

    }

     

     

    Thanks!!

×
×
  • Create New...