Dukascopy
 
 
Wiki JStore Search Login

My Higher High and lower low
 Post subject: My Higher High and lower low Post rating: 0   New post Posted: Fri 10 May, 2013, 11:10 
User avatar

User rating: 0
Joined: Wed 21 Sep, 2011, 04:12
Posts: 8
Location: Singapore, SG
just start doing but i dun know how to add fibonacci ratio to this


Attachments:
HHLL.vfs [29.21 KiB]
Downloaded 280 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: My Higher High and lower low Post rating: 0   New post Posted: Fri 10 May, 2013, 16:55 
User avatar

User rating: 7
Joined: Wed 04 Jul, 2012, 02:40
Posts: 109
Location: Australia, Melbourne
Hello 91Franc,

Firstly are you talking Fibonacci Retracements? (there is also Fan / Timezone / Expansion)

Currently in jforex - Fibonacci is drawing tool and is not available to be called upon by visual jforex at the moment. Usually you would draw from the low to the high, or high to the low - depending on last movement.

You could potentially do this mathematically- So my example would be a 61.8% retracement - you could build a Calculation Expression as follows:
Image

The output would be the value for the 61.8% retracement. You would also need an IF block to check if the HIGH or the LOW was closest to current time (to tell the direction of the retracement) - that would change the math of the Calculation Expression. Mine is for the current move being up - so its a downwards move retracement.

Good luck - and let me know if you need me to help more =)


Attachments:
fibo.jpg [54.05 KiB]
Downloaded 511 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: My Higher High and lower low Post rating: 0   New post Posted: Fri 10 May, 2013, 18:26 
User avatar

User rating: 0
Joined: Wed 21 Sep, 2011, 04:12
Posts: 8
Location: Singapore, SG
Thx doczero

i just did a HL retrance @ 618 buy or sell entry

how i cant get the position correctly because i cant write from Low to high or High to Low trend

trying out to do with it


Attachments:
HHLL.vfs [51.25 KiB]
Downloaded 284 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: My Higher High and lower low Post rating: 0   New post Posted: Sun 12 May, 2013, 11:27 
User avatar

User rating: 7
Joined: Wed 04 Jul, 2012, 02:40
Posts: 109
Location: Australia, Melbourne
Hi 91Franc,

Tonight I dont have time anymore to go through your code, but here is an idea - one way you could try:

IF current price is below the 61.8% value then place Pending sell order @ value
IF current price is above the 61.8% value then place Pending buy order @ value.

then you have to manage the pending orders - so bascially create a flow that says if 61.8 value not the same as the pending buy/sell price (depending on where current price is) then modify pending order to the new value.

I hope that gives you an idea (sorry this isnt tested, just dont have time to work on your file) - Acutally I see in your file you are trying to return the time of the highest candle and time of lowest candle - then you see if one is sooner than the other and that would tell you if the move was down or up.

a couple of ideas for you!

Good luck, i'll try have a look tomorrow night (23 hours from now!)

DoCZero


 

Jump to:  

cron
  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com