- Search Forex Factory
- 39 Results (1 Threads, 38 Replies)
- lohikeitto replied Feb 27, 2009
Zen_Leow, You are great. Your code is quite efficient and precise. I respect you. I found several misunderstandings about thread starter's intention, so I deleted mine. It's just confusing. Regards.
the impossible EA?
- lohikeitto replied Feb 27, 2009
Arnold49, As I see, your EA will never manage trades on other symbol charts. If it really happend without any other EAs, the only possibility left is you used built-in trailing stop by MT4 terminal. If negative, I have no idea about that, sorry.
EA interfering with other charts
- lohikeitto replied Feb 27, 2009
I can't say anything certain with only a piece of code above and without knowing what settings the management EA have, but, Yes, It's not at least "chart specific" but only "symbol specific". I don't think it will manage GBP/USD trades when you are ...
EA interfering with other charts
- lohikeitto replied Feb 27, 2009
Arnold49, Ok, if so, OrderSymbol() == Symbol() does not manage trades only on the chart the EA is attached. If you attach it on EURUSD chart and you are opening 5 other EURUSD charts, it will manage trades that is opened on all other 5 charts also.
EA interfering with other charts
- lohikeitto replied Feb 27, 2009
You need to use one more condition to specify a trade by magicnumber. if(OrderMagicNumber() == MAGIC) Some EAs don't add magicnumber to the ticket when they send open order. (If they don't, magicnumber become 0 that is the same as manual trades.) In ...
EA interfering with other charts
- lohikeitto replied Feb 20, 2009
Nuozek, As I understand, the meaning of Oftimal f (Kelly) is the followings. 1) Optimal f is a theoretical value to maximize your equity. If f>0, the most efficient way to bet is always bet Equity * f. (It's only theoretical and considering it's ...
Instant Trade Analyzer (EA)
- lohikeitto replied Feb 19, 2009
As a matter of fact, I know there is a bit more to consider although I didn't code it for my recent utility EA. It's about how to deal with breakeven trades and what I call "scratch trades" that is nearly breakeven trades that only gained or lost ...
Kelly EA
- lohikeitto replied Feb 18, 2009
bug fix — I have fixed some possible zero divide errors and have posted it to #1.
Instant Trade Analyzer (EA)
- lohikeitto replied Feb 18, 2009
Nuozek, I'm glad if you solved the problem. By the way, It seems that your Kelly criterion is different from Kelly formula I know.... Kelly formula I know is f = ((R+1)*P - 1) / R *R = Profit / Loss Ratio = Average Win / Average Loss *P = Winning ...
Kelly EA
- lohikeitto replied Feb 17, 2009
Ronald, If you mean I didn't define the rules what step value should be used, correct. (Main intention then was to reduce price steps for higher timeframe as I wrote.) This is basically the same problem as what multiplier value should be used. They ...
Dynamic colors?
- lohikeitto replied Feb 16, 2009
Hi pinchapip, Here is a solution I always use. int DQ_ADJUST [] = { 0 , 0 , 1 , 10 , 1 , 10 , 100 }; int DQADJ; //+------------------------------------------------------------------+ //| init ...
is it possible?
- lohikeitto replied Feb 16, 2009
Hi, I'm coding on Alpari(UK) Demo MT4 Build 220 (5 digits) and have no problem. Can you see any errors in your journal or expert tab (e.g. zero divide) ? *I forgot to tell you that the picture I attached above is FXDD Live (4 digits) and both works ...
Instant Trade Analyzer (EA)
- Instant Trade Analyzer (EA)Started Feb 16, 2009|Platform Tech|9 replies
Hi all, This is a tools to make a quick analyze of trade history. Instant Trade Analyze Just ...
- lohikeitto replied Feb 14, 2009
If this function is meant to return average winning/losing size in pips per a (winning/losing) trade, it should be like below.(not tested, it may contain some bugs) Regarding to zero divide, it can happen only in the case when EA_Executed_Trades == ...
Kelly EA
- lohikeitto replied Feb 14, 2009
Although I didn't inspect all your codes, but there is one thing you have to know. This is an explanation you can see at Metaeditor's search function. In brief, "MODE_HISTORY" is ignored if you use "SELECT_BY_TICKET". So when you use ...
Kelly EA
- lohikeitto replied Feb 12, 2009
Here is an indicator that shows Weekly & Daily HL. You can hide Weekly (or Daily) HL lines if you don't need it. If you want the lines to be thinner, change indicator_width to 1.
Daily High and Low Lines
- lohikeitto replied Feb 11, 2009
Here is a link for MQL4 course written by famous veteran coder "codersguru". http://www.forex-tsd.com/3746-post20.html
Stupid question
- lohikeitto replied Feb 11, 2009
Just imagine someone steal a monograph(a paper ,a novel or anything) you have written and claim that he wrote it. How do you feel ? In short, decompiling just means stealing coders property. No excuse can be acceptable. Sometimes it's simply called ...
Stupid question
- lohikeitto replied Feb 8, 2009
Thank you for the reply. I'm looking forward to it.
Copying trades from one account to another