Topic: Entry time open logic question

Hello mr Popov,

I started to test your great software this week and I am very impressed with it so far.
I created a strategy and I am now demo testing it with the Trader.

I have a question about the "Entry time" open logic.
I added a Entry Time open logic and set trade time from 17:00 till 14:00.
This works great there are no trades taken between 14:00 and 17:00.
But the trades that are open are not managed anymore.
So if the exit logic is valid the trade does not get closed. (unless its the fixed stoploss).

My question is is it possible to have to closing logic active while the open logic can not have new trades.

In the Trader software by each logic there is a option "group" which is not in the Builder software.
Can you explain what this does ?

Thanks

Bardo

Re: Entry time open logic question

My question is is it possible to have to closing logic active while the open logic can not have new trades.

"Entry time" indicator must control entries only. Position closing must not be affected. I'll check if this is a bug or something other.

In the Trader software by each logic there is a option "group" which is not in the Builder software.
Can you explain what this does ?

The "Logical Groups" option can be turned on and off from the "Strategy" menu item.

If you want attach  the strategy here and we can check it.

Re: Entry time open logic question

Thanks for the reply.

I use CCi as entry signal and if there is an opposite signal the trade will be closed.
This works great expect between 14:00 and 18:00 then nothing happens.
No need trades (good)  and no closing of open trades. (bad).

If you can look into this and see if I did something wrong I would really appreciate it.
Also in backtest you can see it happen.

thanks
Bardo

The stategy that I am running on the Traders platform is:

Forex Strategy Builder v2.57.21.0 Beta
Strategy name: system10_15min
Exported on: 6-7-2011 18:17:11

Description
Automatically generated on 4-7-2011 22:21.

Market: EURUSD 15 Minutes
Spread in pips: 2
Swap Long in pips: 2
Swap Short in pips: -2
Commission per lot at opening and closing in pips: 0
Slippage in pips: 0

Maximum open lots: 0,48
Entry lots: 0,06
Adding lots: 0,06
Reducing lots: 0,06

Intrabar scanning: Not accomplished
Interpolation method: Pessimistic scenario
Ambiguous bars: 0
Tested bars: 37231
Balance: 9003 pips (12002,70 USD)
Minimum account: -62 pips (2938,38 USD)
Maximum drawdown: 1963 pips (1963,14 USD)
Time in position: 93 %

A same direction signal - Adds to the position
An opposite direction signal - Closes the position
Permanent Stop Loss - (Abs) 900
Permanent Take Profit - 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
     [ A ]   The CCI falls
     Smoothing method  -  Exponential
     Base price  -  Typical
     Smoothing period  -  49
     Level  -  100
     Multiplier  -  0,041
     Use previous bar value  -  Yes

[Opening Logic Condition]
Entry Time
     [All]   Enter the market between the specified hours
     From hour (incl.)  -  18
     From min (incl.)  -  0
     Until hour (excl.)  -  14
     Until min( excl.)  -  0

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

[Closing Logic Condition]
Fisher Transform
     [ a ]   The Fisher Transform crosses the zero line downward
     Base price  -  Close
     Period  -  93
     Use previous bar value  -  No

Re: Entry time open logic question

Small update.

Live testing shows that the FST does close the trades after trading is resumed.
Today I had 2 trades open between 14:00 and 18:00 and these trades where closed after 18:00 by the FST.

Re: Entry time open logic question

You want to close trades at a specific time? Like fixed exit hour + indicator condition for closing (Fisher in your case)? If so, it can't be done at the moment, you can only choose either one of them - Exit Hour or indicators. It might be possible with a custom indi, but I'm not quite sure.

Re: Entry time open logic question

@ Footon

Thanks for the reply, but it is not that I want to exit at time x.  The problem here is that I have an Entry time period. This is from 18:00 till 14:00.  So there should be no new trade opened between 14:00 and 18:00.

FST does this perfectly. The problem is that open trades between 14:00 and 18:00 are not closed if there is a exit signal from the exit logic. After 18:00 then the trades are closed if there is a exit signal.
From mr Popov I understand that the "entry time" logic should only effect the entry signals and not the exit signals. Which does in my case.

Bardo

Re: Entry time open logic question

I could replicate your error only once, other than that it works fine. Is it occasional and very seldom for you too? And if it's not too much trouble, post screenshots.

Re: Entry time open logic question

@ Footon

Very interesting that it only occurs by you very seldom.
When I look thru my backtests and also live tests it happens every time.

Maybe because I am use beta 2.57.21.0 beta.

I added a screenshot of yesterday. Also in live testing I had the same trade. During live it even closed later.

Post's attachments

exitlogic_resize.jpg 311.95 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.