forex software

Create and Test Forex Strategies

forex software

Skip to forum content

Forex Forum

Forex Software, Forex Strategies, Expert Advisors Generator

You are not logged in. Please login or register.


Forex Forum → Forex Strategies → Need help with strategy

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 6

Topic: Need help with strategy

I am new to strategy tester and need some help to put this strategy together:

Long condition: ANY TWO of the following conditions to be met:
MACD line is higher than the signal line
PSAR indicates LONG
FAst MA is higher than slow MA

Short Condition: Any TWO of the following conditions to be met:
MACD line is lower than the signal line
PSAR indicates SHORT
FAst MA is lower than slow MA


Is this possible with strategy tester?

Thanks -GOA

Re: Need help with strategy

This is easy:

[Opening point of the position]
Bar Opening
     Enter the market at the beginning of the bar
     Base price  -  Open

[Opening logic condition]
MACD
     The MACD line is higher than the Signal line
     Smoothing method  -  Exponential
     Base price  -  Close
     Signal line method  -  Simple
     Slow MA period  -  26
     Fast MA period  -  12
     Signal line period  -  9
     Use previous bar value  -  Yes

[Opening logic condition]
Parabolic SAR
     PSAR determines the position's direction
     Starting AF  -  0.02
     Increment  -  0.02
     Maximum AF  -  2

[Opening logic condition]
Moving Averages Crossover
     The Fats MA is higher than the Slow MA
     Base price  -  Close
     Fast MA method  -  Simple
     Slow MA method  -  Simple
     Fast MA period  -  13
     Slow MA period  -  21
     Fast MA shift  -  0
     Slow MA shift  -  0
     Use previous bar value  -  Yes

That is all.
The short logic is mirrored. FSB makes it automatically and you do not need to set it.

Re: Need help with strategy

Can we achieve the same logic by placing the PSAR at the "Closing point of the position" slot?
I want to make a trading system which closes the position at the PSAR level.

P.S.
It's cool that FSB calculates the short logic automatically.

Re: Need help with strategy

The PSAR can determine the trade direction from an opening logic slot  or from the closing slot.
In the second case it sets the exit point also.

See this well optimized system!


Forex Strategy Builder v2.5.3.1
Strategy name: New
Exported on: 10/30/2007 4:56:46 PM

Market: USDJPY 1 Day
Spread: 4 pips
Swap Number: 1 pip

Intrabar scanning: Not accomplished
Interpolation method: Pessimistic scenario
Ambiguous bars: 0
Tested bars: 4706
Balance: 7077 pips
Minimum account: -164 pips
Maximum drawdown: 1486 pips
Time in position: 50 %

A same direction signal - Does nothing
An opposite direction signal - Does nothing

[Opening point of the position]
Bar Opening
     Enter the market at the beginning of the bar
     Base price  -  Open

[Opening logic condition]
MACD
     The MACD line is higher than the Signal line
     Smoothing method  -  Exponential
     Base price  -  Close
     Signal line method  -  Simple
     Slow MA period  -  25
     Fast MA period  -  10
     Signal line period  -  16
     Use previous bar value  -  Yes

[Opening logic condition]
Moving Averages Crossover
     The Fats MA is higher than the Slow MA
     Base price  -  Close
     Fast MA method  -  Simple
     Slow MA method  -  Simple
     Fast MA period  -  15
     Slow MA period  -  21
     Fast MA shift  -  0
     Slow MA shift  -  0
     Use previous bar value  -  Yes

[Closing point of the position]
Parabolic SAR
     PSAR determines the position's direction
     Starting AF  -  0.07
     Increment  -  0.02
     Maximum AF  -  2

Re: Need help with strategy

Thanks  ccjuice and forexer: I still have some comments:

What I was seeking to acheive is opening the position ONLY if any 2 of the 3 conditions are satisfied and closing the position ONLY if any two of the three indicator conditions are satisfied. Do you think this addition is possible?

indications for the long is cc'ed below again:
MACD line is higher than the signal line
PSAR indicates LONG
FAst MA is higher than slow MA
At least TWO of the following conditions to be met:

Re: Need help with strategy

You can test this system by dividing it in into tree spearate systems. Each of them can contain two of the upper conditions.

The reason is that FSB opens a position exactly when all the entry conditions are met and the market reaches the entry slot price. 

Making this you are able to evaluate those three system separately and to chose the most profitable one for real trade.

Posts: 6

Pages 1

You must login or register to post a reply

Forex Forum → Forex Strategies → Need help with strategy

Similar topics in this forum