|
Simple strategy needed |
kostakis
|
Post subject: Simple strategy needed |
Post rating: 0
|
Posted: Thu 04 Jun, 2015, 14:59
|
|
User rating: 1
Joined: Wed 30 Jul, 2014, 14:33 Posts: 95 Location: Lithuania, Vilnius
|
I need very simple strategy. Unfortunately, I don't know how to write it. I need to have the SELL position opened after two bid (red) candles and the BUY position opened after two ask (green) candles. It's simple to have the positions opened after one candle (red or green) but I need to have them opened after TWO candles. Please, help me to resolve the problem.
Kind regards, kostakis
|
|
|
|
 |
amine_chourou
|
 |
Post subject: Re: Simple strategy needed |
Post rating: 0
|
Posted: Thu 04 Jun, 2015, 16:35
|
|
Visual JForex expert at Dukascopy |  |
User rating: 288
Joined: Thu 18 Apr, 2013, 09:26 Posts: 1496 Location: Switzerland, Geneva
|
Hi,
You need to use 2 "Get historical candle" blocks with shift 1 and 2 and then apply the same method as you did for a single red/green candle.
Cheers
|
|
|
|
 |
kostakis
|
Post subject: Re: Simple strategy needed |
Post rating: 0
|
Posted: Thu 04 Jun, 2015, 17:39
|
|
User rating: 1
Joined: Wed 30 Jul, 2014, 14:33 Posts: 95 Location: Lithuania, Vilnius
|
Thanks a lot for the prompt answer. I did that. It works!
Kind regards, kostakis
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|