Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Break out does not work. Please help.
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=56970
Page 1 of 1

Author:  Gormanous [ Mon 18 Mar, 2019, 08:01 ]
Post subject:  Break out does not work. Please help.

Hey guys
I need your help. I'm new to Visual JForex.
I have a very simple strategy. However, it is not working properly.

Idea: Go long if today's high is higher than yesterday's high.
Go short if today's low is lower than yesterday's low.

Can anyone help me finding the mistake(s) here.
Thank you very much.
Best

Attachments:
Day_Break_Strategy.vfs [33.66 KiB]
Downloaded 184 times

Author:  powerof618 [ Wed 20 Mar, 2019, 11:05 ]
Post subject:  Re: Break out does not work. Please help.

Hello Gormanous,

do you want to open a position during the day, when prices breaks through yesterdays low...or do you want to open a position at the end of the day when price closes below yesterdays low?

Your strategy code compares the bid price when a new day starts with the lowest bid price of yesterday. (StartPoint onCandle and then you set the filter daily candle).
If theres is no gap the open bid price is always higher than the lowest yesterday bid price. Thats why no position is opened.

If you speak german, perhaps we can move to the german community section. That would be a lot easier for me.
If you have further questions let me know. Perhaps I can help you with your journey to learn Visual JForex.

Best regards
Michael

Author:  Gormanous [ Thu 21 Mar, 2019, 13:13 ]
Post subject:  Re: Break out does not work. Please help.

Hi Michael

Thanks a lot.
Yes, let's move to the German section.
See you there.

powerof618 wrote:
Hello Gormanous,

do you want to open a position during the day, when prices breaks through yesterdays low...or do you want to open a position at the end of the day when price closes below yesterdays low?

Your strategy code compares the bid price when a new day starts with the lowest bid price of yesterday. (StartPoint onCandle and then you set the filter daily candle).
If theres is no gap the open bid price is always higher than the lowest yesterday bid price. Thats why no position is opened.

If you speak german, perhaps we can move to the german community section. That would be a lot easier for me.
If you have further questions let me know. Perhaps I can help you with your journey to learn Visual JForex.

Best regards
Michael

  Page 1 of 1