Hi, maybe I can suggest a small update to your basic idea.
(This is still an extremely optimistic approach).
Use Kelly sizing to find the best bet size for your account so you don't risk ruin:
K = (B*W-L)/B
B=Average Win/Average loss=3%/10% =0.3
W=Win rate = Approaching 100% = 0.99
L=Loss rate = Approaching 0 = 0.01
Optimal bet size K = (0.3*0.99-0.01)/0.3 = 95.67%
This trade size would be viewed as the utter cliff-edge of aggressize lotsizing.
A more normal approach assuming what you have said would be the half-kelly, or 95.67%/2 = 47.83%
Hi, maybe I can suggest a small update to your basic idea.
(This is still an extremely optimistic approach).
Use Kelly sizing to find the best bet size for your account so you don't risk ruin:
K = (B*W-L)/B
B=Average Win/Average loss=3%/10% =0.3
W=Win rate = Approaching 100% = 0.99
L=Loss rate = Approaching 0 = 0.01
Optimal bet size K = (0.3*0.99-0.01)/0.3 = 95.67%
This trade size would be viewed as the utter cliff-edge of aggressize lotsizing.
A more normal approach assuming what you have said would be the half-kelly, or 95.67%/2 = 47.83%
Hi,
Thanks for replying. I have never heard of the kelly sizing approach. I makes a lot of sense and I will definitely incorporate it into my model once I get it up and running!
Could you possibly give me any guidelines or an template of how to write my code for the EA? I'm completely new to MT4 programming and not sure where to start?
I just need a template that would execute a trade after 5 consecutive green ticks/ red ticks and get out after reaching a TP or SL. If I could just find that somewhere then I could optimize it to fulfill all my parameters.
Thanks again,
Anton

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi Guys,
I have been trading on OANDA for years but am new to Autotrading platforms. I want to write an EA that will do the following but I have no idea where to start:
Thanks in advance and happy trading!
Kind regards,
Anton.