# An indicator ea with Kelly Criterion

2020.06.28 Experts

## Specification

the CHT_Value ea.

Sell when the cht_value bar touches "the sell_level"

MONEY MANAGEMENT

(K% /5 ) , Kelly ratio divided by 5 .******

Kelly's formula:
K% = W – [(1 – W) / R]
where
K = Kelly ratio percent value which represents the exact percent of the account we should risk on each trade.
W = Winning probability
R = Win/loss ratio
Example:
We analyzed the last 50 trades for a system and found the following:

26 trades were positive ( profitable ) with a total gain of 780 pips
24 trades were negative with a total loss of 600 pips
To get the Kelly ratio:

W = 26/50=0.52
R = (780/26)/ (600/24) =1.2
K% = W – [(1 – W) / R]
K% = 0.52- [(1 – 0.52) / 1.2]
K% = 12%
This means that to maximize the total returns trading this system, we should risk ideally (12% /5) of our account on each trade.
[[[ i,myself,  divided kelly by 5.]]]

The inputs:"the buy_level"  , "the sell_level"  , Divide by :5 , TP  , SL, Max spread, Magic . All inputs are double, not integer.

1
Developer 1
2020.06.28
Rating
4.94
(390)
Projects
875
58%
Arbitration
24
25% / 25%
Overdue
191
22%
Busy
2
Developer 2
2020.06.28
Rating
5
(4)
Projects
5
20%
Arbitration
0
Overdue
0
Working
3
Developer 3
2020.06.28
Rating
4.87
(117)
Projects
138
41%
Arbitration
30
7% / 77%
Overdue
20
14%
Free
4
Developer 4
2020.06.28
Rating
4.86
(200)
Projects
332
28%
Arbitration
49
55% / 18%
Overdue
14
4%
5
Developer 5
2020.06.28
Rating
4.88
(16)
Projects
20
30%
Arbitration
3
33% / 67%
Overdue
6
30%
Working
6
Developer 6
2020.06.29
Rating
4.89
(72)
Projects
79
56%
Arbitration
21
0% / 81%
Overdue
24
30%