Lot Size Fibonacci
-
Hello everybody, I want my EA to increase lot size every 3 trades based on the Fibonacci sequence.
Here is the parameters
Initial Lot Size : 0.01
Trades Per Block : 3Here is the example
Trade 1: 0.01
Trade 2 : 0.01
Trade 3 : 0.01Trade 4 : 0.02
Trade 5 : 0.02
Trade 6 : 0.02Trade 7 : 0.03
Trade 8 : 0.03
Trade 9 : 0.03Trade 10 : 0.05
Trade 11 : 0.05
Trade 12 : 0.05Trade 13 : 0.08
Trade 14 : 0.08
Trade 15 : 0.08Please help me.
-
@cheaponreay01 Make these variables:

Now you can generate fibo numbers with this piece:

https://fxdreema.com/shared/pS0K9GwD -
@roar I don’t understand about your loop, please create the EA based on my sample. I really appreciate your help.
-
@roar Just a quick question. If I understand it correctly, the first iteration would be:
nefb = 1 + 1 = 2
However, the first trade should be 0.001. I don't catch it either. Could you please explain a bit more?
-
@cheaponreay01 Here's with the buy block and filter for 3's:
https://fxdreema.com/shared/nxE9VYbyc
@l-andorrà It depends whether you iterate before or after trade

-
Ok. Now I catch it. But why calculating it every 3 ticks?
-
@l-andorrà said in Lot Size Fibonacci:
Ok. Now I catch it. But why calculating it every 3 ticks?
He wanted increase every 3 trades. Note that the tick filter doesn't count each "market tick", because it is not on top.
It only counts when the block is able to run its code -
Interesting. Thanks.
