Results 1 to 1 of 1
 2 Attachment(s)    

Thread: Hatami's EA Idea! A Promissing EA, need a programmer

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    1

    Thumbs up Hatami's EA Idea! A Promissing EA, need a programmer

    Hello
    This is my manual job that made ALL THE TIME profit (so far)! But as manual working is time consuming and hard, I need it to be automated. Please try your best to make it and please let me have this EA.
    RULES:
    1- This expert MUST be activated only when the market has trend. So never use it in sideway situations.
    2- you should manage your risk carefully, as it may take huge margin sometimes!
    3- It is strongly recommended to use it with fixed spread brokers.

    Order:
    Step 1: You have to use an indicator to start first order only. When indicator signals for buy or sell, it will happen. no matter which indicator you use.
    Check below picture, for an example I sent a SELL order. I name it “Order 1”.My experience says that these numbers are the best ones, but please make them changeable on EA, not fixed.
    Take profit: 20 Volume: 1 lot for example
    Stop loss is automatic= 2 x TP + spread. = here it is 42
    Therefore Spread is another variable here. You may can make it auto detect by EA! I don’t know!
    So we have 2 variables so far: TP, Volume and Spread
    Attention: I found that sl should be always (tp x 2 + spread) you will find out why soon.

    [IMG]Hatami's EA Idea! A Promissing EA, need a programmer-1-jpg[/IMG]

    Step 2: at the same time of Order 1 opening, Order 2 will be opened as buy stop 20 pips higher than Order 1 opening price with Take profit: 20 , Stop loss 40 + spread. Same as last order.
    But with volume = 3.1 (if you use 0.01 lot for Order 1, Order 2 will be 0.031 or ~ 0.03)
    So it happens like this picture:
    I name difference between 2 open prices as “GAP”. You can see it in picture.
    Note that differences between two red lines is spread .

    Hatami's EA Idea! A Promissing EA, need a programmer-2-jpg

    Step 3: If the price goes toward the tp and hit it, the order 1 is over and next order (Order 2)will be opened to direction of last successful order or by suggestion of indicator.
    If the price goes up (here), while it is inside gap, nothing happens.
    If it goes upper and hits BUY STOP, order 2 will be activated and at the same time Order 3 will be opened as SELL STOP exactly same as order 1 but with volume 6.51 lot (if you used 0.01 lot for Order 1, Order 3 will be 0.0651 or ~ 0.07)
    If the price goes upper, and hits the tp of order2, it will hit sl of order1 too at the same time. So EA will cancel Order3 (Sell STOP) and will open another order to direction of last successful order or by suggestion of indicator.
    In this case you have :
    For example: value of each pips = 10 for 1 lot
    (20 pips profit of order 2) - (42 pips loss of Order1) = (20 x {3.1x10}) – (42 x {1x10}) = 620 – 420 = 200
    So your profit will be 200 here. This was your goal of your first order.
    Step 3: If the price activated Order2 and didn’t hit its TP, and goes back down, then you have already have Order3 for it. Whenever it is inside GAP, nothing happens, but if it hits and activates order 3 (SELL STOP) then EA opens order4 (Buy STOP) exactly same as order2 but with volume: 16.8
    (If you used 0.01 lot for Order 1, Order 4 will be 0.168 or ~ 0.17)
    As you can see lots are going up fast so (User) trader should consider his/her money carefully !!! and never use this EA when the market is side. The best time is when two markets are open, SO WE HAVE STRONG TREND.
    If the price goes down more, and hits the tp of order3, it will hit sl of order 2 and TP of order 1 at the same time. So EA will cancel Order4 (BUY STOP) and will open another order to direction of last successful order.

    In this case you have:
    For example: value of each pips = 10 for 1 lot
    (20 pips profit of order 1+20 pips profit of order 3) - (42 pips loss of Order2) =
    (20 x {1x10} + 20 x {6.51x10}) – (42 x {3.1x10}) = {200+1302} – 1302 = 200
    So your profit will be 200 again and this was your goal of your first order.

    But if the price goes up before reaching to TP of order 3 and activates order 4, Order 5 (Sell STOP) will be opened same as Order1 but with volume: 35.28 lot or (If you used 0.01 lot for Order 1, Order 5 will be 0.353 or ~ 0.36)
    If it reaches to TP we will have 205.8 $ profit

    This situation will be continued to reach a TP , that means you may have reached a few SL too but with profit. If you use a good indicator to start first order, so you won’t usually have more than 3 orders (when market has trend)
    But you should make first volume changeable by user and other volumes unchangeable
    When you use 20 pips for profit , sl will be 42 automatically and unchangeable . so volumes will be multiple of following volumes:
    (I have not tested other profits yet, but you can try. It is a little complicated to count volumes.)
    Order1= 1
    Order2= 3.1
    Order3= 6.51
    Order4= 16.8
    Order5= 35.28
    Order6= 70.96
    Order7= 149.02
    But don't worry , if you use mini lot or micro, You will have:
    Order1= 0.1
    Order2= 0.3
    Order3= 0.65
    Order4= 1.68
    Order5= 3.528
    Order6= 7.096
    Order7= 14.902

    And so on, I suggest you to ask user if he/she wants to continue this game and with how much lot!!!!! Because volumes are very heavy after that and they will reach to call margin!
    +++++++++++++++++++++++++++++++++++++++++++
    This is similar when your first order is a buy.
    I prefer RSI 5 for 5 min time frame unless you know a better indicator.

    I have tested it on EUR/USD only.
    wishes
    Mahdi
    Last edited by Mahdi; 04-28-2013 at 21:32.

Similar Threads

  1. looking for a programmer
    By jimbouk in forum MQL programming
    Replies: 2
    Last Post: 04-28-2015, 18:18
  2. Need some help from an advanced MQL programmer...
    By brian023 in forum MQL programming
    Replies: 0
    Last Post: 07-29-2014, 19:27
  3. I need experience programmer only for EA
    By moshe in forum MQL programming
    Replies: 0
    Last Post: 08-24-2011, 20:29
  4. Need programmer for simple EA
    By forexpop in forum MQL programming
    Replies: 2
    Last Post: 09-21-2009, 23:42
  5. Need programmer for EA
    By forexpop in forum MQL programming
    Replies: 0
    Last Post: 05-03-2009, 01:51

Tags for this Thread

automatic, brokers, eur, eur/usd, expert, expert advisor, hatami, indicator, manual, markets, money, pips, profit, programmer, promissing ea idea, rsi, signals, spread, time, trader, 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
  •