1. ## Random Flow EA

Hi Funyoo,

I'm convinced... Simplier is the best!

Could you help me on this one?

Example:

1-Calculate current standard deviation (n days).

2-Random entry: buy 1 lot @ 1.5000
3-Establish n grids above and below (2) based on (1) at same distance - please enable also manual based grid
4-If price goes for us, close position at (2) + (1)
5-If price goes against us, open a new reverse position @ 1.5000 - (1)
6-If price continues to goes for us related to (5), close all open positions when "x" pips profit is reached.
7-If price goes once more against us, add another position, when price reaches (2) + (1)
8-Close all positions when "x" pips profit is reached.
9-When the cycle is closed, enter another immediate random position, with grids based on new Std deviation.
10-Loop...

Kind Regards,

LV

Hi Funyoo,

I'm convinced... Simplier is the best!

Could you help me on this one?

Example:

1-Calculate current standard deviation (n days).

2-Random entry: buy 1 lot @ 1.5000
3-Establish n grids above and below (2) based on (1) at same distance - please enable also manual based grid
4-If price goes for us, close position at (2) + (1)
5-If price goes against us, open a new reverse position @ 1.5000 - (1)
6-If price continues to goes for us related to (5), close all open positions when "x" pips profit is reached.
7-If price goes once more against us, add another position, when price reaches (2) + (1)
8-Close all positions when "x" pips profit is reached.
9-When the cycle is closed, enter another immediate random position, with grids based on new Std deviation.
10-Loop...

Kind Regards,

LV

Ok here is the Random Flow EA.

3. Originally Posted by funyoo

Ok here is the Random Flow EA.
Hi Funyoo,

Thank you very much once more!

It just needs a little change:

i.e. When we are long and price is running against us, we just add short positions - this is the flow..., as long as the grid above/below our initial entry is not touched.(the same if we are short), when the grids above or below our first entry are touched, we start doing the inverse.

Friendly regards,

LV

Hi Funyoo,

Thank you very much once more!

It just needs a little change:

i.e. When we are long and price is running against us, we just add short positions - this is the flow..., as long as the grid above/below our initial entry is not touched.(the same if we are short), when the grids above or below our first entry are touched, we start doing the inverse.

Friendly regards,

LV

Here is another version.

5. Originally Posted by funyoo

Here is another version.
Hi Funyoo,

We still have the same issue:

When we are long and price goes against us, we must add only short positions.(and that it's not happening)

When we are short and price goes against us, we must add only long positions.(also not happening)

The Idea is to flow with any major move or trend.

And apparently, the EA only opens short positions at 1st entry...(it should open also long ones...)

Thank you,

LV

Hi Funyoo,

We still have the same issue:

When we are long and price goes against us, we must add only short positions.

When we are short and price goes against us, we must add only long positions.

And apparently, the EA only opens short positions at 1st entry...(it should open also long ones...)

Thank you,

LV

It is what it does, when the first order is a buy order, we have a grids of buy stops over the order (with a distance of deviation pips). Then if the price goes "deviation" pips under the last buy order, we will enter a sell order.

In the first version, I have put sell stops instead of instant sell orders when the price goes against us. Now it is instant with a variable deviation value.

The only sell is due to the backtesting, the random function returns sell signals most of the time, it should work differently in forward mode.

7. Originally Posted by funyoo

It is what it does, when the first order is a buy order, we have a grids of buy stops over the order (with a distance of deviation pips). Then if the price goes "deviation" pips under the last buy order, we will enter a sell order.

In the first version, I have put sell stops instead of instant sell orders when the price goes against us. Now it is instant with a variable deviation value.

The only sell is due to the backtesting, the random function returns sell signals most of the time, it should work differently in forward mode.
Hi Funyoo,

That's ok about the random function.

About the orders, I think we are not understanding each other, please watch the picture to see what I mean.

Thank you very much.

Regards,

LV

Hi Funyoo,

That's ok about the random function.

About the orders, I think we are not understanding each other, please watch the picture to see what I mean.

Thank you very much.

Regards,

LV
Hi LV,

What is the pair, timeframe and settings ?

9. Originally Posted by funyoo
Hi LV,

What is the pair, timeframe and settings ?
Hi Funyoo,

Pair: EURUSD
TF: M15
Settings: file attached

Thank you,

LV

10. Hi LV,

Here is another version.