-
Posts
105 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Articles
Posts posted by MickyMouse
-
-
probably your second ecn broker does not accept sending orders with tp/sl included (which is normal) . after you figure out how to define buy only, sell only , ill add in ecn execution .
-
so if you can set me some basic rules like
buy only if last hour candle was an up candle, or sell only if last hour candle was a down candle, well that i can understand and code , but what you are saying ..well i just dont get it how to code it :D . hope im making sense now, lol.
so if you give me a set of rules like buy if , sell if , ok ill do it.
but price goes up means nothing for me in coding terms :D
-
Hi MickyMouse, sorry about that. At the moment the ea is opening orders as follows. Starts with a buy and sell order at the same time. If price then goes up say 12 pips it will open another sell order and if it goes up another 12 pips it will open another sell etc...Insteadof opening a sell order i want it toopen a buy order if the price went up 12 pips and vice versa. Hope i am making sense now...
Best rgds
Fair enough , still makes no sense.. because if price goes up the buy order takes profit and a new buy order will be opened . if price is going up and you don't keep selling how are you going to exit the first sell you took ? also this is a martingale system. the logic of the martingale is to open a bigger lot size if price goes against you but the same direction as initial trade. basically if we keep buying there is no need for the martingale, but , what we do with the short trade?
-
Hi MickyMouse, Been using the ea u modified for me and been working well. On certain days(maybe once twice) a month though the currency can break into a strong trend and then drawdown becomes big. Was wondering if you could do the following. Make the ea open buy orders if the price is going up and open sell order if the price is going down. Everything must stay the same as is except for the orders. Currently if price goes up by x pips it is opening sell and vice versa...hope you can help. Many thanks
Hi , if you can explain your request in a little different way ?
I apologize but as it is i have no idea what are you actually asking for .
-
it was a quick fix but needs some testing . should work nevertheless
-
well , here you have a quick fix.
gonna run it a lil to see if i get the errors , but should work just fine now .
http://www.2shared.com/file/IXWN_aTp/MagicGirlSAR_EAv2_hrf.html
- acaciam39 and max1713006038
- 2
-
requires also "TudorGirl_Vorticity_2 (2)" "HG_0001a"
and uses "Trend Magic" which is proned to repaint
code is incomplete , the order send functions are not there.
so nobody can really help you unless you post the actual ea, and the indyes involved
-
-
hi jay , gonna make just a remark .
the ea has nothing in the code that could be affected by time frame. is just randomly buying and selling, and than hedging itself with the obvious martingale . apparently was made for the gpbusd pair , but i assume you could use it on any pair , as long as you are in a range. obviously, as soon as you start trending , it will become very dangerous .
As default, the martingale in this one is much more dangerous than in the first one , the only apparent benefit would be you are able to set different gap sizes between trades.
-
Ok, added the same scenario as before. Tested it , seems to work just fine . if anything just let me know. cheers
http://www.2shared.com/file/w8hFLcoP/APS-Hedging_v10_cutoutscenario.html
Demo Test it at first!!!
-
gonna have a look tomorrow over it . please upload it on 2shared ore somewhere else. i cannot download from 4shared.
also specify , what mod you want ? max daily profit as before?
-
can you guys reupload it somewhere. gonna have a look at it .
-
Hi ,
added reset hour value at the end of inputs. made it a whole number, i supose it will suffice. if you need minutes as well, well let me know :D . at the time beeing it recognizez numbers from 0 , 1 , 2 , 3 - 23 .
Cheers
http://www.2shared.com/file/cKoJDkpN/MartinProfitcutout_v4.html
-
ok so in this last mod , profits are calculated according to history and open trades, not according to balance ore equity . thus the ea can be used along any other system without any interference. just make sure the magic numbers don't match . also there are situations when we don't reach the profit in one day and we move on to the next day with floating trades. in this cases, the ea doesn't reset at the beginning of a new day , but waits until all open trades and closed trades until the last reset reach the minimum profit target, and than resets itself.
In the back tests works just fine. Still not sure if its fully bullet proof so test and if anything goes wrong, reply back . Test as in demo test not real money tests :D .
i will do some testing myself to make sure its all ok .
http://www.2shared.com/file/Xdp_cmwa/MartinProfitcutout_v3.html
have fun
As far as slippage goes, slippage works both ways . if you`re brokers only knows how to slip in a negative way , i suggest you change the broker rather than trying to start trading again to make up for 20 cents out of 20 dollars. my opinion anyways.
-
Thanks Mickeymouse and all the others. Really great of all of you to assist. I do not do any manual trades on this acc and so far have been doing quite well...even $19 is close enough to $20 so thats fine...just dont want it to get to a situation where the tradesrun away with me..this should work fine...I only trade from midnight (GMT+2) so will run tonight and see how it goes...most days would have taken profit by morning
Best rgds and thanks to all of you for your contributions
forgot to mention , in the inputs of the ea , last input is called maxdailyprofit
there is where you set your profit target in dollars ore whatever other currency your account is in. as default was set at 20 .
Cheers
-
if he's going to trade demo only, I would agree with the first mod being sufficient
but real money...I don't know
Maybe it's because I'm doing programming as a profession and therefore looking at things a little bit different
I would even go so far that I wouldn't rely on the EA to close the trades but calculate the TP after each new added trade and set it for all open positions
Mate , no hard feelings ore something , you can do it better , why dont you just do it and that`s it ?
as long as there are ticks coming, and as long as the broker aint a ***** and aint disconnecting every minute ore so , than this fix should work just fine .
As i said before, as you can see, the guy is only using this ea. so as far as im concerned, this fixes will do what he requested. So unless another member asks for another mod to it, i don`t see why we should brag about it ?
Cheers and happy Trading!
-
One problem I'm seeing is with the inclusion of the realized profit into the history check:
The EA can open up to MaxPos trades. Even if you get the profit-reached-trigger on the open trades does not necessarily mean that you can lock in the whole profit. So you could end up with 19.88 realized (slippage) and the EA would continue to trade
the history check is not done on every tick. it is only done after we are actually closing all trades for the day cause we reached our profit target ! .
than again , the guy did mention he wants it stoped after reaching profit target for the day . thus 19.88 aint 20 . well not sure what to say . testing it seems to do just fine . i will modify something tough , cause in the way its working now , if while durring the reach of that 20 profit for the day , another ea would make some losses , the equity check wont close anymore the martin trades . so it still needs one mod.
As always , on II , we start from a small mod and we end up with a huge project. just wait for 3 more pages and you will see. :D
funny part is , i bet ja , the guy who asked for the mod, is only using this ea , and does`nt need any other mods. first mod would have been more than enough :d
-
Ok, added a bool that will stop the ea after the profit is reached for the day , without taking in account balance changes by other ea`s ore manual trades.
enjoy
http://www.2shared.com/file/Vo2pbAkG/MartinProfitcutout_v2.html
-
There you go . tested it , works just fine . just be aware in this setup, if you take manual trades on the account and loose, the ea will start again to work . is locking down based on account balance. so if for any reason youre account balance gets lower, ea will start again. !! Cheers.
http://www.2shared.com/file/Vw7TE7r3/MartinProfitcutout.html
-
dont have time right now but gonna look a little later and code it into you`re ea , and upload it . in 2 hours ore so
-
There is a very easy way to do it actually .
tell the ea to trade only if AccountBalance() < userdefined balance .
and every day set in the inputs of the ea current balance+20 usd .
as soon as the balance goes to that level ea will be incapable of putting any new orders/trades
Anotherway to do it is , tell it on every new bar to check account balance . set as a new bar the daily tf . so you tell it , on every new bar , check account balance .
define a double , lets say double startingballance = AccountBalance()
than in the order taking logics add && AccountBalance() < startingballance +20
that way , on a daily basis initial account balance gets reset when a new day beggins , and the ea, after 20 usd were made for the day , can`t put any fresh trades .
-
Basically, would really love to know how he get to the 0 stop loss from time to time . Looking at the posted image , he has sometimes +10 on first entry and -25 on second. so he does not move sl to be after exiting first trade . Second point , i actually looked over the trades he posted, for the 5 days , many of them are highly inaccurate as in , they would have ended up in a loss not tp . Coding an ea is very simple, still this system needs to have some money management rules and filters to be able to get the results that he posted. So , would like to know them :D
Also on the AUDUSD chart , is very nice written , filter in this case = 1 pip .... are there any other cases? how we define those cases?
-
good question mate... i was actually wondering the same thing.
there have been quite a few threads that just vanished the past days ....
-
hm... from 9000 lines of code to 900 ...
The Search for the Holy Grail..........
in Fun and Games
Posted
it is imposible for a holy grail in forex to exist .
in order for one to make money, one must loose money . thus if a holy grail would exist and be shared , well, everibody would make money . from where? there has to be allways a balance, thus by definition , it can`t exist .
thats my opinion any way .
!!!! it cant exist and be shared at the same time :D !!!