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

Highest High and Lowest Low
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=49098
Page 1 of 1

Author:  parrondo [ Fri 19 Apr, 2013, 12:33 ]
Post subject:  Highest High and Lowest Low

Hi,

Please, could you explain how to calculate the Highest High and Lowest Low of Candle arrays with Visual JForex? :)

Thank you,

Ramon

Author:  Visual Support [ Fri 19 Apr, 2013, 16:16 ]
Post subject:  Re: Highest High and Lowest Low

parrondo wrote:
Please, could you explain how to calculate the Highest High and Lowest Low of Candle arrays with Visual JForex? :)

Actually we are plan to make the separate component to do it for your more comfort, but it is possible to do with existing blocks.
You need to work with "Loop Viewer" and "Get Historical Candles". "Loop Viewer" can be complex for the understanding.
It gets the array of candles from "Get Historical Candles" and iterates it on its' left flow output, than when candle iteration will be ended, the right flow out is happened.
Check the screenshoot, and example. Example shows, how to get the highest value from 5 last candles. In case of misunderstandigs of it, ask me again.

Attachments:
HighestfromCandles.vfs [25.34 KiB]
Downloaded 504 times
HowtogetHighestValue.PNG [93.96 KiB]
Downloaded 581 times

Author:  parrondo [ Sun 21 Apr, 2013, 09:11 ]
Post subject:  Re: Highest High and Lowest Low

OK I got it. :)

In the example, I think the output for the "if-block" after "loop-viewer-block" should flows through the middle connector (greater than) and not through right connector (equal than) in order to assign the right value to the highestValue variable. Please, correct me if I am not right.

I could not test yet because I have not been able to connect to the server this morning (GMT+1). Is there any problem in your side? I do not find any one on mine.

Thank you.

Author:  Visual Support [ Mon 22 Apr, 2013, 13:23 ]
Post subject:  Re: Highest High and Lowest Low

parrondo wrote:
In the example, I think the output for the "if-block" after "loop-viewer-block" should flows through the middle connector (greater than) and not through right connector (equal than) in order to assign the right value to the highestValue variable. Please, correct me if I am not right.

I could not test yet because I have not been able to connect to the server this morning (GMT+1). Is there any problem in your side? I do not find any one on mine.

Splendid, my typo. Yes, you are right. I corrected it.
We currently solving the problem with our servers.

  Page 1 of 1