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 → Premium Club → Basket trading EA Grid conditions

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 6

1 (edited by muplayer2000 2015-09-24 23:20:39)

Topic: Basket trading EA Grid conditions

I want to add a newentry condition for an EA in ForexSB , entry are based on indicator such as CCI  that looks at prices on the M5, M15, M30 and H1, H4 timeframes of that pair for the period set in CCI Period, and if the CCI is “trending” the same on all 5 timeframes, that trend is used then further trades in the basket will only be allowed to open if the same entry conditions are met as required for the first trade. I want to add a minimum distance between each open basket and have a 10 Pip grid with 5 levels could be used on EURUSD with Buy and Sell orders.

How do i add these conditions in forexSB or is it not possible?

Re: Basket trading EA Grid conditions

It is not a problem. Simply add 25 CCI indicators - one for each combination period/symbol.

I want to add a minimum distance between each open basket and have a 10 Pip grid with 5 levels

You can use "winner" adding for that condition. Adjust your entry size and max lots int order to allow 5 entries. The only thing you cannot guarantee is that the minimum distance will between the entries will be 10 pips. It will be 1 spread from the average position price.

Re: Basket trading EA Grid conditions

Thank you for the reply can you provide the template condition entry in Forexsb so so i can test it

Also would it not be 5 CCi indicator? Hence 5 time frames?

Popov wrote:

It is not a problem. Simply add 25 CCI indicators - one for each combination period/symbol.

I want to add a minimum distance between each open basket and have a 10 Pip grid with 5 levels

You can use "winner" adding for that condition. Adjust your entry size and max lots int order to allow 5 entries. The only thing you cannot guarantee is that the minimum distance will between the entries will be 10 pips. It will be 1 spread from the average position price.

Re: Basket trading EA Grid conditions

Also would it not be 5 CCi indicator? Hence 5 time frames?

I think in the original post you requested 5 time frames for 5 symbols. So 5*5=25. It is for only one symbol, you need 5 indicators of course.

Re: Basket trading EA Grid conditions

Hi Popov could you post the logic so i can test it please, thank you.

Popov wrote:

Also would it not be 5 CCi indicator? Hence 5 time frames?

I think in the original post you requested 5 time frames for 5 symbols. So 5*5=25. It is for only one symbol, you need 5 indicators of course.

Re: Basket trading EA Grid conditions

It is nothing extraordinary. The only difference between indicators is the Indicator's "Longer time frame"

http://s28.postimg.org/69lk1bxe1/screenshot_1212.jpg

Here is the strategy outline:


Market
     Symbol  -  EURUSD
     Period  -  M5

Trading Size
     Maximum lots  -  0.04
     Trading units  -  lots
     Entry units  -  0.01

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

[Opening Point of the Position]
     Bar Opening
     Enter the market at the beginning of the bar
     Base price  -  Open


[Opening Logic Condition]
     Commodity Channel Index
     CCI rises
     Smoothing method  -  Simple
     Base price  -  Typical
     Smoothing period  -  14
     Level  -  100
     Multiplier  -  0.015
     Use previous bar value  -  Yes

     Logical group  -  A
     Signal shift  -  0
     Signal repeat  -  0
     Indicator symbol  -  Default
     Indicator period  -  Default

[Opening Logic Condition]
     Commodity Channel Index
     CCI rises
     Smoothing method  -  Simple
     Base price  -  Typical
     Smoothing period  -  14
     Level  -  100
     Multiplier  -  0.015
     Use previous bar value  -  Yes

     Logical group  -  A
     Signal shift  -  0
     Signal repeat  -  0
     Indicator symbol  -  Default
     Indicator period  -  M15

[Opening Logic Condition]
     Commodity Channel Index
     CCI rises
     Smoothing method  -  Simple
     Base price  -  Typical
     Smoothing period  -  14
     Level  -  100
     Multiplier  -  0.015
     Use previous bar value  -  Yes

     Logical group  -  A
     Signal shift  -  0
     Signal repeat  -  0
     Indicator symbol  -  Default
     Indicator period  -  M30

[Opening Logic Condition]
     Commodity Channel Index
     CCI rises
     Smoothing method  -  Simple
     Base price  -  Typical
     Smoothing period  -  14
     Level  -  100
     Multiplier  -  0.015
     Use previous bar value  -  Yes

     Logical group  -  A
     Signal shift  -  0
     Signal repeat  -  0
     Indicator symbol  -  Default
     Indicator period  -  H1

[Opening Logic Condition]
     Commodity Channel Index
     CCI rises
     Smoothing method  -  Simple
     Base price  -  Typical
     Smoothing period  -  14
     Level  -  100
     Multiplier  -  0.015
     Use previous bar value  -  Yes

     Logical group  -  A
     Signal shift  -  0
     Signal repeat  -  0
     Indicator symbol  -  Default
     Indicator period  -  H4

[Closing Point of the Position]
     Bar Closing
     Exit the market at the end of the bar
     Base price  -  Close

You can find more info at this article Indicator Advanced Properties in the User Guide.

Posts: 6

Pages 1

You must login or register to post a reply

Forex Forum → Premium Club → Basket trading EA Grid conditions

Similar topics in this forum