#### Topic: EMA50 strategy

Hi there
First: Sorry if this is obvious I am new to the FSB so just feeling my way around.
How do you build this simple strategy?
Take EMA 50, EURUSD 5Min
When price crosses under EMA50 AND moves atleast 1 pip then enter market Short (sell) with SL 10 and TP set as following SL 10
The reverse happens for the Buy strategy
Do not enter market to sell if a sell is already executed; however if a sell is executed, and a opportunity comes to Buy, enter market but make SL 15 for the second trade.

Is this possible to show and if so how.?

#### Re: EMA50 strategy

Hi,
it is not problem to test something like this
I'll explain a little

When we set a strategy, we think for the long position's entry point, conditions, exit point. FSB makes the logic for the short one automatically.

To test a strategy start from the desired market.
After that set the opening point - EMA50 in this case.
The opening point gives only the entry price, but not the direction. You want to open short when price crosses below the MA and long when crosses above it. An way to detect this is to check from where does the price come. If it comes below the MA and reaches it we have to open a long position and respectively - he price comes from above and reaches MA - open short. We do this using the bar opening price as a reference from where the price comes.

Market: EURUSD 5 Minutes    <===  Set the market

A same direction signal - Does nothing  <===== "Do not enter market to sell if a sell is already executed;"
An opposite direction signal - Reverses the position  <=== "however if a sell is executed, and a opportunity comes to Buy, enter market but make SL 15 for the second trade." - the exit conditions are the same as the initials - SL=10pips TP=10pips

[Opening point of the position]
Moving Average  <======  We open at the EMA
Enter the market at the MA value
Smoothing method  -  Exponential
Base price  -  Close
Period  -  50
Shift  -  0
Use previous bar value  -  Yes

[Opening logic condition]  <=== We open long when the price comes below the EMA
Moving Average
The bar opens below the MA value
Smoothing method  -  Exponential
Base price  -  Close
Period  -  50
Shift  -  0
Use previous bar value  -  Yes

[Closing point of the position] <=== Closing at TP or SL level
Stop Limit
Exit at Stop Loss or at Take Profit level
Stop Loss  -  -10
Take Profit  -  10

The difference from your logic is that we open at EMA (not at EMA + 1pip) and when there is reversal, the closing limits are +10/-10 (not +15/-15).