Problem Fixed Ratio of Ryan Jones.
-
FxDreema Hello! Alright?
I had problems today with risk management Ryan Jones. I put the FixedRatioUnitSize with 0.1, yet he doubled the batch, instead of increasing to 0.1.See the image problem occurred with the details.

Here also attached the log file of the EA. -
I almost forgot how Ryan Jones works, but is it possible that Delta parameter (500.0) is high?
-
Not because depending on the capital, you can change the delta. The higher the delta, more conservative and more long-term profitability is obtained. In a 5000 USD account with delta 500 already this good.
The only small problem is the FixedRatioUnitSize I think.
-
"Unit size" plays the role of initial lots and the lots that are added everytime in case of profit. But if the profit is x-times bigger than delta for any reason, then the new lot size depens on that and it can be bigger than expected.
You can find in logs print messages like this: "Fixed Ratio MM going up to.....bla bla bla". These messages describes how it works."inp6_VolumeSize" parameter is not used actually, it is used in case of fixed lots option.
You have error messages in the attached log that "Price Channel.ex4" is missing!
-
Well .. true! That is why it is not working the Dynamic SL. So the solution is to add this custom indicator for MT4 all that I am running the EA?
So my optimization tests are also being affected?
There would add this indicator in my EA to not have to manually add the Price Channel indicator within the MT4? -
Ok .. so how do I go to lots like this: Start with 0.5, then 0.6, 0.7; ... and so forth?
-
I don't have an idea what was happened. Such a thing can be caused by big profit in short time. On backtest (not with that project) everything looks fine.
But when Ryan Jones MM is working, there are additional messages in the log that describes each step of that MM. The reason why I decided to leave them is because this MM is relatively complex to follow. Can you find these messages?
-
__Can you find these messages?[/quote:3ifer8cs]
You say in the log files? If the case is the log file in the message he sent last. -
There are 2 logs - Journal and Experts. I can't see Post messages in the one you uploaded. But it will be strange if there are no messages from Ryan Jones MM

-
Ok Attached zipped log files Expert, and Journal.
......
Expert e Journal log.zip -
Nothing
Can you check with simple EA that can do everything fast? For Ryan James there must be special post messages in the log. -
Well .. I believe that besides being simple, it has to be profitable, because it is a losing strategy, I will not give to have a good test. Well, I think this is my simple here: http://fxdreema.com/shared/IXYbK3Knd
If you find it is not easy, please feel free to show me one that is simple, but to do that to a good test.
-
Let's say that most of the time I'm programming php, javascript, looking for bugs and new features, explaining things to people, browsing MQL functions, dealing with the server, doing the local version. After all of that I am not so focused on the people's strategies, especially when they come to me with parameters with checked inputs and with mixed rules like Ryan Jones MM + Trailing Stop + Break Even + Loop.
When there is a problem with some block, what do I do? I isolate it, better on a different temporary project. I connect 2-3 blocks if needed, but the idea is that there must be nothing to interfere with the one I am checking.
-
Ah yes! Ok fxDreema! I'm sorry. You're right! This the correct code! To save time, I believe it is working correctly yes. He is fulfilling the rules. If I start with 1 lot, the next is 2, 3, 4, ... Now, if I start with 5 lots, it goes with 10, 15, 20.
Thanks again and I am sorry!
-
Oh way, I think there's something wrong with the delta value.
A doubt:
Delta is working well:
Delta: 500
capital 1000
lots 1option 1
Lot 1, 500 profit = 1500
Lot 2, 500 profit = 2000
Lot 3, 500 profit = 2500
Etc.or so?
option 2
Lot 1, 500 profit = 1500
Lot 2, 1000* profit =2500
Lot 3, 1500 Profit = 4000
Lot 4 2000 profit = 6000
Etc.- Profit before + Delta.
For me it seems that it has increased the lots fast as option 1, but I need to be by option 2.
-
Please answer me the above post. I need to confirm this so I can make sure I'm doing well and not so aggressive with lots in my operations.
-
http://www.straightforex.com/advanced-c ... php?id=411
http://www.adaptrade.com/Articles/article-frps.htm
http://www.traderivar.com/2010/04/posit ... ading.htmlEverywhere I can see, Delta is fixed, it does not change. It is edited once in the beginning, but then it stays the same in the whole process. If Delta is 1000 dollars, it remains 1000 dollars even if your profits are millions. What is changing because of the Delta is the lot size (number of contracts).
One thing that I've made "wrong" is that the MM is adaptive to the profit. So, if you wait for 1000 dollars in profit in order to increase the lot size with 1x "Unit size", but somehow you make fast 5000 dollars in profit (fast profits from some other EA for example), now you have overprofit and the lot size to increase will be 5x Unit size.
In other words, it does not happen like here: http://www.traderivar.com/2010/04/posit ... ading.htmlI don't know if this is exactly wrong because I still can't find complete RJMM explanation and I have to improvise. But there are 2 variables right now - Unit size (contract size) and delta.
-
__I don't know if this is exactly wrong because I still can't find complete RJMM explanation and I have to improvise. But there are 2 variables right now - Unit size (contract size) and delta.[/quote:2qe3h08m]
It is ... Now for your explanation I understand what is happening. And that's exactly what happens. So this skyrocketing lots.In this example 1000 usd per lot, if you have climbed 5000 usd, as I understand it will go like this:
Delta 500
Capital100
Lot 1, 500 profit = 1500
Lot 2, 1000* profit =2500
Lot 3, 1500 Profit = 4000
Lot 4 2000 profit = 6000I'll be sending you again for teaching message-based Forex.
-
I will repeat myself, but in the Journal there are special messages coming from that exact MM. In other words, there is no place for wondering how it is working, because each step is written in the log.