Topic: How to Build This Strategy

Greetings,

I'm new and wondering if it is possible to build and backtest this strategy with EUR/USD:

1. Enter a buy stop at the high and sell stop at the low of any bar between 50-100 pips.

2. Set stop loss at the low for a long and at the high for a short.

3. Set take profit on half at same number of pips as risk. Let other half run.

4. Trail remaining half at low of each succeeding bar for long, and high of each succeeding bar for short.

Is it possible to set this up and backtest it? If so, can you tell me how?

Thank you.

Re: How to Build This Strategy

This is a complex setup that requires very specific conditions. We can set some of them in FSB Pro, but we cannot set partial close.

It is better to program this setup directly in MQL.

If you don't care of the exact entry logic, but want a strategy with a good performance, simply run the Generator on EURUSD and it will come with tens of strategies.

Re: How to Build This Strategy

Popov wrote:

This is a complex setup that requires very specific conditions. We can set some of them in FSB Pro, but we cannot set partial close.

It is better to program this setup directly in MQL.

If you don't care of the exact entry logic, but want a strategy with a good performance, simply run the Generator on EURUSD and it will come with tens of strategies.

OK thank you.

Popov wrote:

If you don't care of the exact entry logic, but want a strategy with a good performance, simply run the Generator on EURUSD and it will come with tens of strategies.

Can you provide the exact steps on how to do this?

Re: How to Build This Strategy

Here is something near to your request with fixed SL/TP and without a partial exit.


Strategy Properties
     Same direction signal  -  Nothing
     Opposite direction signal  -  Nothing
     Stop Loss  -  None
     Take Profit  -  None
     Break Even  -  None

[Opening Point of the Position]
     Previous High Low
     Enter long at the previous high
     Base price  -  High & Low
     Vertical shift  -  0

[Opening Logic Condition]
     Bar Range
     Bar Range is lower than the Level line
     Number of bars  -  1
     Level  -  1000

[Opening Logic Condition]
     Bar Range
     Bar Range is higher than the Level line
     Number of bars  -  1
     Level  -  500

[Closing Point of the Position]
     Stop Limit
     Exit at Stop Loss or at Take Profit
     Stop Loss  -  750
     Take Profit  -  750

Re: How to Build This Strategy

OK I did this, it seems to be a very unprofitable method, that's good to know. Are there profitable methods I could use for tweaking the inputs?

Popov wrote:

Here is something near to your request with fixed SL/TP and without a partial exit.


Strategy Properties
     Same direction signal  -  Nothing
     Opposite direction signal  -  Nothing
     Stop Loss  -  None
     Take Profit  -  None
     Break Even  -  None

[Opening Point of the Position]
     Previous High Low
     Enter long at the previous high
     Base price  -  High & Low
     Vertical shift  -  0

[Opening Logic Condition]
     Bar Range
     Bar Range is lower than the Level line
     Number of bars  -  1
     Level  -  1000

[Opening Logic Condition]
     Bar Range
     Bar Range is higher than the Level line
     Number of bars  -  1
     Level  -  500

[Closing Point of the Position]
     Stop Limit
     Exit at Stop Loss or at Take Profit
     Stop Loss  -  750
     Take Profit  -  750

Re: How to Build This Strategy

hi,
my aim for a new strategy is to have a really big number of executed orders...can any one help with this?
which indicator to use?
which time frame?
any specific pair that is known to give highest number of executed orders?

Re: How to Build This Strategy

alamehmazen123 wrote:

hi,
my aim for a new strategy is to have a really big number of executed orders...can any one help with this?
which indicator to use?
which time frame?
any specific pair that is known to give highest number of executed orders?

Keep closing point to Bar Closing only. Theoretically you can have as many trades as there are bars this way.

Re: How to Build This Strategy

thank you