|
How to define a height of candles? |
kostakis
|
Post subject: How to define a height of candles? |
Post rating: 0
|
Posted: Wed 10 Jun, 2015, 12:01
|
|
User rating: 1
Joined: Wed 30 Jul, 2014, 14:33 Posts: 95 Location: Lithuania, Vilnius
|
Hi, Is there a tool to define a height of candles in the strategy? The idea is as follows. If we have the same 3 candles, e.g. the green ones, one by one and the height of these 3 candles is less than 60 pips the buy position has to be opened. But if they are higher than 60 pips no position has to be opened. Are there any blocks in VisualJForex I can include in to my strategy to define it this way? Could anybody help me with that, please? Thank you in advance.
|
|
|
|
 |
tcsabina
|
Post subject: Re: How to define a height of candles? |
Post rating: 0
|
Posted: Thu 11 Jun, 2015, 14:30
|
|
User rating: 164
Joined: Mon 08 Oct, 2012, 10:35 Posts: 676 Location: NetherlandsNetherlands
|
Every bar has 4 properties: Open, High, Close, Low
You can use the Open and Close values to get the height...
|
|
|
|
 |
kostakis
|
Post subject: Re: How to define a height of candles? |
Post rating: 0
|
Posted: Thu 11 Jun, 2015, 14:39
|
|
User rating: 1
Joined: Wed 30 Jul, 2014, 14:33 Posts: 95 Location: Lithuania, Vilnius
|
I did that you wrote about. I mean I used the "candle open" and the "candle close" in the "if" block. Unfortunately, I don't know how to get the pips value in case to define the height of the candles. Any suggestions, please.
|
|
|
|
 |
API Support
|
Post subject: Re: How to define a height of candles? |
Post rating: 0
|
Posted: Fri 12 Jun, 2015, 12:31
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Does it need to be implemented in Visual Forex or Java code?
|
|
|
|
 |
kostakis
|
Post subject: Re: How to define a height of candles? |
Post rating: 0
|
Posted: Fri 12 Jun, 2015, 13:16
|
|
User rating: 1
Joined: Wed 30 Jul, 2014, 14:33 Posts: 95 Location: Lithuania, Vilnius
|
I prefer to have it implemented in VisualJForex code. I just need to know what blocks should I use for that. Thanks.
|
|
|
|
 |
amine_chourou
|
Post subject: Re: How to define a height of candles? |
Post rating: 0
|
Posted: Tue 16 Jun, 2015, 16:32
|
|
Visual JForex expert at Dukascopy |  |
User rating: 288
Joined: Thu 18 Apr, 2013, 09:26 Posts: 1496 Location: Switzerland, Geneva
|
Hi there,
I've replied in your previous post.
|
|
|
|
 |
kostakis
|
Post subject: Re: How to define a height of candles? |
Post rating: 0
|
Posted: Wed 17 Jun, 2015, 17:05
|
|
User rating: 1
Joined: Wed 30 Jul, 2014, 14:33 Posts: 95 Location: Lithuania, Vilnius
|
Thank you for the reply in my previous post. I have sent one more question. Please, help me to resolve this issue. Thanks.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|