Jump to content

maven1713006117

Members
  • Posts

    33
  • Joined

  • Last visited

Posts posted by maven1713006117

  1. Could someone please decompile this for me. Its a free ea from lifesdream.org called CCI Cross Grid. Its a small file and a few years old so even an older decompiler would work. It's free but they dont provide you the mq4 file. I would like to make some changes to the code, I will repost my moded version on here to give back too. Thank you

     

    http://www.2shared.com/file/EVbNvKZe...ross_Grid.html

     

    The link given is coming back as "The file link that you requested is not valid." - Please re-post.

  2. ThinkForexExclusive - Please can you answer the following questions.

     

    1) Can I open an account as a UK resident?

    2) Can I deposit, withdraw and run a live account in GBP?

    3) If the account balance goes below £2,500 through trading losses, would you still charge for the VPS?

     

    Thank you,

    Maven

  3. Maven,

     

    I assume the exmaple hours "22" and "2" are broker server time, not GMT time?

    So in order to run GMT21-7 for server GMT+3, the server time should be 24 to 10 or 0 to 10?

    Thank you so much.

     

    Yes your assumptions are right. I would use 0 to 10 in your example. When backtesting with the code using 0 for midnight (instead of 24) definitely works.

     

    Maven

  4. The code below with your gmt offset incorporated into the start & stop hour will work. And you don't have a problem with start time being greater than the end time.

     

     

    //e.g. the ea will for run 4 hours between 10pm at night to 2am the next morning

    //use 0 for midnight

    extern int Hour_Start_Trade = 22;

    extern int Hour_Stop_Trade = 2;

    int gi_96 = 50;

     

    if (IsTradeTime()) {your code to be run}

     

    bool IsTradeTime() {

    if (Hour_Start_Trade < Hour_Stop_Trade && TimeHour(TimeCurrent()) < Hour_Start_Trade || TimeHour(TimeCurrent()) >= Hour_Stop_Trade) return (FALSE);

    if (Hour_Start_Trade > Hour_Stop_Trade && (TimeHour(TimeCurrent()) < Hour_Start_Trade && TimeHour(TimeCurrent()) >= Hour_Stop_Trade)) return (FALSE);

    if (Hour_Stop_Trade == 0) Hour_Stop_Trade = 24;

    if (Hour() == Hour_Stop_Trade - 1 && Minute() >= gi_96) return (FALSE);

    return (TRUE);

    }

  5. I had the e-mail too. The link is:-

    hxxp://www.forex-megadroid.com/blog/index.php/general-information/the-piplaser-bot-usdcad-perfection/

     

    However, I have bought a few things on Megadroid's recommendation together with their special bonus and none of them (item or bonus) has turned out to be any good. So I would take it with a large pinch of salt and not even bother with it.

×
×
  • Create New...