fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. kingfathom
    3. Topics
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 20
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by kingfathom

    • K

      'start' - function can be declared only in the global scope
      Bug Reports • • kingfathom

      4
      0
      Votes
      4
      Posts
      4703
      Views

      fxDreema

      Very strange, I see this for the first time. Somehow this appears in the code:

      void iCustom() { //---- Read value from trend and signal buffer int start() { // Read values double trend = iCustom(Symbol(), Period(), "PZ_LopezTrend_LICENSENUM", 5, 1); double signal = iCustom(Symbol(), Period(), "PZ_LopezTrend_LICENCESUM", 6, 1); // Do something if(trend == OP_BUY) { /* Your code if trend is currently bullish */ } if(trend == OP_SELL) { /* Your code if trend is currently bearish */ } if(signal == OP_BUY) { /* Your code for bullish trend change */ } if(signal == OP_SELL) { /* Your code for bearish trend change */ } // Exit return(0); } return; }

      .. but I don't recognize this code and I can't see how it's injected into the code. Do you have some idea?

    • K

      Custom Indicators/Working with Buffers
      Questions & Answers • • kingfathom

      23
      0
      Votes
      23
      Posts
      13094
      Views

      K

      I'm trying to post our ea attempt but it's saying

      "Sorry, the board attachment quota has been reached."

      So here's our file so far on another host:

      http://s000.tinyupload.com/index.php?fi ... 6562127316

    • K

      Daily profit limit
      Questions & Answers • • kingfathom

      4
      0
      Votes
      4
      Posts
      756
      Views

      fxDreema

      "Check profit (period of time)" works with server time, because Open and Close times of the trades are also based on these times

    • K

      Bars Array
      Questions & Answers • • kingfathom

      3
      0
      Votes
      3
      Posts
      581
      Views

      K

      That's awesome thank you!

    • 1 / 1