Page 1 of 3 123 LastLast
Results 1 to 10 of 22
 2 Attachment(s)    

Thread: Simpel Idea, surely it exsists already.

  1. #1
    Junior Member
    Join Date
    Jun 2009
    Posts
    12

    Default Simpel Idea, surely it exsists already.

    Hi,
    I have a very simpel Idea. Its a grid system that buys long and short with interfals of 20 pips and a tp of 20 pips. But i want some fail save meganisum and think this will do the trick. I tried it manual;y and it wordks great, but only if I have plenry of time on my hands.

    Do any of you know if this exsist or how I could write it?

    Signed Marloc.

    ps see diagram for better explenation of my idea.
    Attached Images Attached Images Simpel Idea, surely it exsists already.-save-grid-system-jpg 

  2. #2
    Member
    Join Date
    Jan 2011
    Location
    Austria
    Posts
    36

    Default

    I don't understand the "Margin is above 200%" part. Do you mean start ove again when doubled account balance? Or really margin? Used Margin, Free Margin, Margin Level?
    And ... when to exit trades? Is there any SL?
    It should be possible to code such an EA, maybe I'll find some time this weekend.

  3. #3

    Default

    Chris...
    1. He shows a tp of 20 pips as a close tp.
    2. If the account has more than 200 percent Margin Level (other margins are not shown in percent) he goes back to the top...and if it moves again 20 pips then another .1 order is placed....if he has less than 200 percent margin he places a .5 order (this is likely going to be DOA suicide point LOL)
    Just my interpretation, could be reading it wrong... It is easy to code this but likely a Blowout after the .5 my .02...Bill

  4. #4
    Junior Member
    Join Date
    Jun 2009
    Posts
    12

    Default

    Hello codingchris and BillR

    Its indeed a very tricky system, that if unattended indead will go bankrupt. I've been testing it for nearly 2 years now and in the course of it learned a lot about trading, but still consider my self a rookie. I have a better understanding of paterns etc. But no indicator will ever be 100% acurate and what im trieng to create is a system that needs monitoring, but will be able to withstand certain spikes in the marget that always acure.

    When I started 2 years ago (a little less) I started with $60 in a micro account (there $1 is treated as $100, I call it a cent acount). So the system was tested with real money (even cents feel difrent then a demo account so i can recocment it to any one), and it went to about $150 before the market turned against me. Ofcourse thats the big danger of a grid system unchecked in combination with greed. If I cashed at say $120 or even $140 I would have been fine. But at the time I did not see the danger. I started again without contemplating my failior to much. I figured I started with to little cash so the new grid started with double. The $120 became around $240 and I was about ready to close it to start a new one when the first troubles started with the Greek. The eurusd went to 1,27 and I had orders (long) in the 1,40 so that was to much.

    The 3th attempt at improving the system was again a bigger starting pool, but now i wanted to make some sort of redundancy to not get wiped out. This time I used a demo account, as I was out of pocket money for my endevors. The wife did not see it as I did. For me it was learnning money. I observed that when the market switches momentum it usualy is 2 or 3 times the range it normaly swings in. When the eur/usd is calm like it is now, there is betwean the day high and the day low roughly around 150 pips difrents. In a grid made up of 20 pips per trade thats 7 long's and 7 short positions. But when the market changes direction like it did with the euro when the greek where in trouble it goes very fast and easly covers more then double a normal dayly spread. A sudden shift of 400 pips or more in any direction will kill a grid with not enough cash to cover the losses and keep filling orders.
    With that in mind I manualy locked the grid when I almost reached 100% free margin. meaning if i had 5.1 lots short I would mirror that with also 5.1 lots long. The Market could continue going down, it would not cause more losses and in the end blow up the grid. But it also ment no more trades where being made (under 100% margin I can not place new orders) and no profit would be made. It can take a long time for the markey switches momentum again and even longer for the point is reached where I locked it down. All that time i would not make any profit, but intrest keeps cumulating. So even tough it is not much all that time i would make a loss. The system worked, but eventualy failed because I also have a daytime job. (luckly) At one time I had not seen a sudden shift and was already under 100% so I could not lock the sytem down and that was the end of trail 3.

    Started test 4 2/1/2011 with an demo account of $30.000,- when I reached 200% margin I hedged 1/2 my trades. When the market keeps moving in that direction more 0.5 lots are placed and I manualy set SL at the first few above its initial price (thus making a profit when the market swings back) Savety orders that are in the negative I just leave open, they serve as a saveguard next time that level is reached. So in a sence the 200% is an automated saveguard to prevent rapid decline of funds and time for me to act if the grid needs to be locked fully.

    The funny thing is thats excacly what is happening now. At the moment the eur/usd is going to the roof, but deu to the fact halve was hedged already i had the time to lock the system almost fuly lock the system down. at the moment im at 105% margin, so its a reak stress test of the system

    This made me think of a seccond saveguard simular to the 200% rule. When margin reaches 120% I want the system to fully hedge my posistions. tp at 40 and a sl also at 40 (have to think about that a bit)

    anyways the system is now almost 3 months running and the balance wetn from $30.000 to $79300 but equity is at 1905 and margin at 106% so it is cutting it close. But the system is working better then it did on my first attemt without the failsaves.

    If you could help me with this simple ea I would be very happy. My plans are to start a real account test again soon. (depending if the demo will survive this last stress test

    signed,
    Marloc

  5. #5
    Member
    Join Date
    Jan 2011
    Location
    Austria
    Posts
    36

    Default

    OK, one last thing I don't understand from your picture. When margin is below 200%, you want to open a 0.5 lot position. Then again check for margin which can't be above 200% then, again open a new 0.5 lot position etc. or just one and then exit? Opening one after the other will likely result in a margin call.

  6. #6
    Junior Member
    Join Date
    Jun 2009
    Posts
    12

    Default

    Quote Originally Posted by CodingChris View Post
    OK, one last thing I don't understand from your picture. When margin is below 200%, you want to open a 0.5 lot position. Then again check for margin which can't be above 200% then, again open a new 0.5 lot position etc. or just one and then exit? Opening one after the other will likely result in a margin call.
    Well actualy no, atleast not right away.

    If I have 25 trades of 0,1 lot short and just 2 trades of 0,1 long because the eur/usd would be going down (in this excample) to halve hedge this example i should get more then 1,25 lots long.

    First check will get me to 0,70. Seccond check will get me to 1,20. again im not above the target so it buts again 0,5 lot long bringing me on a total of 1,70 lots long. Thats above 50% hedged so the system starts to check again if it needs to buy 0,1 lots. If it goes even futher down it will buy a 0,1 lot until it either switches direction or until it gets below 200% and not meeting the 1/2 hedge requirement.

    Also hedging or 1/2 hedging results in a higher margin %. So that would make its harder to go bust. Ofcourse if i could define if the 0,5 sytem could be turned on and of seprate from the grid that would be even beter.

    It's quite late, but if you want a better explenation, maybe we vould chat or skype about it.

    goodnight,
    Marloc

  7. #7
    Junior Member
    Join Date
    Jun 2009
    Posts
    12

    Default

    If its to hard to program the system to monitor when the 200% treshold is reached I might have a difrent solution.

    A script that halvehedges my positions when activated. (2.0 long 1.0 short for instance) or even better where i can set how much i want it to be hedged (50%, 75%, 90% etc)

    Might that be simpler?

  8. #8
    Member
    Join Date
    Jan 2011
    Location
    Austria
    Posts
    36

    Default

    Didn't find time yet, but will try to get it running this weekend.

  9. #9
    Junior Member
    Join Date
    Jun 2009
    Posts
    12

    Default

    Quote Originally Posted by CodingChris View Post
    Didn't find time yet, but will try to get it running this weekend.
    thats great, don't want to rush thee But I am super excited at the prospect of automationg my system.

  10. #10
    Member
    Join Date
    Jan 2011
    Location
    Austria
    Posts
    36

    Default

    Sorry for the delay, have been hard working on some other EAs.
    Now I've finished your system, but can't get it working profitable. The problem with this are strong trends to one direction. I've suffered several margin calls with backtests, so be careful and use it on your own risk ... as far as I see, it can't work profitable at all.
    Attached Files Attached Files

Similar Threads

  1. i have an EA idea
    By yuan83 in forum Ideas for expert advisors
    Replies: 0
    Last Post: 02-19-2014, 02:59
  2. New EA Idea
    By Dutchess in forum Ideas for expert advisors
    Replies: 5
    Last Post: 08-16-2010, 00:12
  3. An idea? or not?
    By shaya in forum Ideas for expert advisors
    Replies: 5
    Last Post: 10-25-2009, 19:40
  4. New idea.. at least for me
    By venci in forum Ideas for expert advisors
    Replies: 0
    Last Post: 06-10-2009, 14:08

Tags for this Thread

100, 2011, breakout, demo, eas, eur, eur/usd, eurusd, forex, forex trading, free, grid, hedge, hedging, high, home, how to, indicator, learn, live, low, main, manual, meta trader, mirror, pips, profit, profitable, real, simple, spread, system, test, time, trader, trading, 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
  •