Page 5 of 19 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 181
  49 49 Attachment(s)    

Thread: Belkhayate Expert Advisor

  1. #41
    Junior Member
    Join Date
    Dec 2008
    Posts
    15

    Default

    Quote Originally Posted by yast77 View Post
    I also think that this system have the potential, so i code it with my own version and setting. The ea is follow the rules as you say. You may adjust the variable to suit the template you are using.
    Regards,
    Yast77
    Please is this Ea a martingale EA?

  2. #42
    Junior Member
    Join Date
    Dec 2008
    Posts
    28

    Default Thanks funyoo

    Quote Originally Posted by funyoo View Post
    Hi way2Freedom and welcome,

    You have maybe false signals as the center of gravity is always repainting.

    I have verified it, and it works.



    I have made a small modification, maybe it will be ok for you.
    Cool, it is working fine now. Thanks funtoo. I will post results once I have solid data.

  3. #43
    Junior Member
    Join Date
    Dec 2008
    Posts
    28

    Default Funyoo

    Quote Originally Posted by funyoo View Post
    Hi way2Freedom and welcome,

    You have maybe false signals as the center of gravity is always repainting.

    I have verified it, and it works.



    I have made a small modification, maybe it will be ok for you.
    Dear Funyoo,

    How can I open on the same pair and the same TF three positions with different TP/SL. I mean on the same signal based on your EA, I need to open 3 positions based on the same signal but will have different TP/SL.

    I tried to open three similar charts with the only difference is the TP/SL on the EA properties and allow for "add positions" by having True on it. But, only one position is being opened at a time and it seems on random basis.

    Can you please help?

    Cheers,

    Way2Freedom

  4. #44
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by way2Freedom View Post
    Dear Funyoo,

    How can I open on the same pair and the same TF three positions with different TP/SL. I mean on the same signal based on your EA, I need to open 3 positions based on the same signal but will have different TP/SL.

    I tried to open three similar charts with the only difference is the TP/SL on the EA properties and allow for "add positions" by having True on it. But, only one position is being opened at a time and it seems on random basis.

    Can you please help?

    Cheers,

    Way2Freedom
    You have to use different magic numbers.

  5. #45
    Junior Member
    Join Date
    Dec 2008
    Posts
    28

    Default Magic number

    Quote Originally Posted by funyoo View Post
    You have to use different magic numbers.
    Thanks for quick reply.

    Can you please explain the magic number concept? first time I hear about it, how to use it to achieve my goal of opening multiple positions on the same EA signal with different TP/SL?

    Cheers

    Way2Freedom

  6. #46
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by way2Freedom View Post
    Thanks for quick reply.

    Can you please explain the magic number concept? first time I hear about it, how to use it to achieve my goal of opening multiple positions on the same EA signal with different TP/SL?

    Cheers

    Way2Freedom
    You will find the answers here. For each chart, you have to use a different magic number.

  7. #47
    Junior Member
    Join Date
    Dec 2008
    Posts
    28

    Default Funyoo: Time filter

    Quote Originally Posted by funyoo View Post
    You will find the answers here. For each chart, you have to use a different magic number.
    Dear Funyoo,

    I am analysing the forward test and I found out, maybe not a surprise for you, that trading this EA must be avoided during News time. Also I am trying to find the best time range where to trade it (for instance, to avoid the Asian session)

    Is there a way to add a time filter to this EA in such a way to have as an input some time ranges (4 or 5 time ranges), input the start (hh:mm) and the end of each of those time ranges where trades must NOT be initiated by the EA. In addition, a rule to close all open positions at specific times that can be specified in the input (because all positions must be closed before the news time).

    Maybe is too much to ask but I am sharing my findings to improve this EA. All the above can be done manually but it is heavy once you you are using the EA on many TF.

    Please let me know what you think.


    Cheers,


    Way2Freedom

  8. #48
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by way2Freedom View Post
    Is there a way to add a time filter to this EA in such a way to have as an input some time ranges (4 or 5 time ranges), input the start (hh:mm) and the end of each of those time ranges where trades must NOT be initiated by the EA. In addition, a rule to close all open positions at specific times that can be specified in the input (because all positions must be closed before the news time).
    No problem, that should work.
    Attached Files Attached Files

  9. #49
    Junior Member
    Join Date
    Dec 2008
    Posts
    28

    Default Funyoo

    Quote Originally Posted by funyoo View Post
    No problem, that should work.

    Dear Funyoo,

    You are a STAR. is exactly what I want.

    I am trying TP 10 with SL 20 on many TF. The result so far are promissing but too early to make any conclusion.

    a stragne situation happens when there is a big moves (like more than 50 pip in a single min). I get like 10 enteries on the some TFs when there is an entry following the EA. Let me explain, on the 1H TF, on the same minute the EA open and closes 13 positions. The EA works fine as it opens only after closing the previous position but as there is huge pip moves in a single minute than I end up with 10 position on the same minute.

    How can I make signals following the EA get executed only at close of the TF, for instance if on the 1H TF, i will enter only at the end of the hour, only when the hour bar has accomplished and not in between? the same goes on all the different TFs, only enter at the close of the bar.

    I hope i made myself clear.

    Thanks lot for your huge help.

    Way2Freedom

  10. #50
    Junior Member
    Join Date
    Dec 2008
    Posts
    28

    Default Funyoo

    Quote Originally Posted by way2Freedom View Post
    Dear Funyoo,

    You are a STAR. is exactly what I want.

    I am trying TP 10 with SL 20 on many TF. The result so far are promissing but too early to make any conclusion.

    a stragne situation happens when there is a big moves (like more than 50 pip in a single min). I get like 10 enteries on the some TFs when there is an entry following the EA. Let me explain, on the 1H TF, on the same minute the EA open and closes 13 positions. The EA works fine as it opens only after closing the previous position but as there is huge pip moves in a single minute than I end up with 10 position on the same minute.

    How can I make signals following the EA get executed only at close of the TF, for instance if on the 1H TF, i will enter only at the end of the hour, only when the hour bar has accomplished and not in between? the same goes on all the different TFs, only enter at the close of the bar.

    I hope i made myself clear.

    Thanks lot for your huge help.

    Way2Freedom


    Also

    I see that I can specify the hours when to trade during the week based on this part of the code in your EA:

    extern string separator4b="------- Week";
    extern bool MondayToThursdayTimeFilter=false; //time filter the week
    extern int MondayToThursdayStartHour=8; //start hour time filter the week
    extern int MondayToThursdayEndHour=17; //end hour time filter the week


    I need also to trade only on range of minutes in every hour. I mean, I need to trade only on the third quarter of every hour for instance. If my trading hours of the week will be from 9h to 17h as I can set in the actual version of the EA, I need to specify also the range of minutes (from minute 45 to minute 59) and the trades will be opened only ,based on this example, on: 9h45 to 9h59; 10h45 to 10h59; 11h45 to 11h59 ...17h45 to 17h59). This time filter must work only on opening the EA trades and must not close any open position. meaning if a position is open then only TP/SL will close it and not the time filter.

    voila

    Thanks in advance dear Funyou

Similar Threads

  1. The BEST Expert Advisor on the market, WallStreet Expert Advisor
    By Jacob Godly in forum Commercial expert advisors
    Replies: 0
    Last Post: 03-21-2013, 13:05
  2. Enable/Disable Expert advisor Button By Expert advsior
    By Trint in forum Ideas for expert advisors
    Replies: 1
    Last Post: 10-18-2010, 10:41
  3. Expert Advisor
    By cesarz18 in forum Ideas for expert advisors
    Replies: 0
    Last Post: 09-17-2009, 16:51
  4. Belkhayate Expert Advisor
    By fxtester in forum Expert advisors live statements
    Replies: 1
    Last Post: 06-18-2009, 21:32
  5. i-CAi Expert Advisor
    By funyoo in forum Expert advisors live statements
    Replies: 1
    Last Post: 12-02-2008, 10:58

Tags for this Thread

100, add, advisor, alpari, analysis, average, backtest, backtesting, bands, broker, brokers, candle, change, channel, check it out, closing, coding, color, currency pairs, custom indicator, demo, ea programming, ea works, eas, elite, eur, eur/usd, eurusd, ex4, expert, expert advisor, expert advisors, experts, fibonacci, forex, forex blog, forex brokers, forex trading, free, free ea, gbpjpy, gbpusd, gold, hedge, high, historical, how to, index, indicator, indicators, live, low, macd, magic, magic number, managed, martingale, metatrader, metatrader4, mq4, mql, mt4, news, offer, price action, profit, profitable, programmer, programming, real, repaint, request, review, robot, rsi, scalping, sells, short term, signal, signals, simple, sma, stop, stoploss, strategy, study, support, system, test, thank you, time, trader, trading, trading system, trend, usd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •