Dukascopy
 
 
Wiki JStore Search Login

help!! how can i set an auto-close rule on my strategy?
 Post subject: help!! how can i set an auto-close rule on my strategy? Post rating: 0   New post Posted: Thu 01 Aug, 2013, 11:33 
User avatar

User rating: 0
Joined: Tue 09 Jul, 2013, 09:11
Posts: 10
Location: NigeriaNigeria
hi,

i want my strategy to open a trade when cci 21 goes below -10, and buy when cci (21 period) goes above 10. its on the one hour chart.
and exit buy when cci 21 goes below -3,
and exit sell when cci 21 goes above 3.

very simple rules, the strategy enters the trades, but is unable to auto-close when my exit rules are met, hence my large stop loss is hit all the time. could anyone check out my strategy and help? or direct me to an example with an auto-close option.

any help is greatly appreciated. :D


Attachments:
cci 21 strategy.vfs [42.44 KiB]
Downloaded 352 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: help!! how can i set an auto-close rule on my strategy? Post rating: 0   New post Posted: Thu 01 Aug, 2013, 17:38 

User rating: 2
Joined: Thu 25 Jul, 2013, 08:40
Posts: 58
Location: ItalyItaly
Hi!
Look in my strategy..maybe you can understand how to set exit position..
if you have any question tell me!! I use bb to exit.


Attachments:
bb.vfs [42.71 KiB]
Downloaded 343 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: help!! how can i set an auto-close rule on my strategy? Post rating: 0   New post Posted: Thu 01 Aug, 2013, 18:09 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Hello P3tr4!

Well regarding to your first post: it was almost correct :mrgreen:


Attachments:
cci 21 strategy.vfs [42.05 KiB]
Downloaded 373 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: help!! how can i set an auto-close rule on my strategy? Post rating: 0   New post Posted: Thu 01 Aug, 2013, 18:18 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
OK. Maybe some general Information about the logic of closing position(s):

The attached example does NOT work - it is just an example...

It is one way to close position(s) - there are lots more, but i think it is for a better understanding.

Maybe you can adjust your exit with the BB and if it is still not working please post it here once again.


Attachments:
Position_Close.vfs [22.77 KiB]
Downloaded 332 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: help!! how can i set an auto-close rule on my strategy? Post rating: 0   New post Posted: Thu 01 Aug, 2013, 19:46 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Hello Loukota29EU!

I do not understand what you want to setup here... Could you please explain?
Image


Attachments:
Question.png [51.43 KiB]
Downloaded 549 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: help!! how can i set an auto-close rule on my strategy? Post rating: 0   New post Posted: Thu 01 Aug, 2013, 20:09 

User rating: 2
Joined: Thu 25 Jul, 2013, 08:40
Posts: 58
Location: ItalyItaly
Hi Dirk, i mean that i enter in position if adxr is above adx!


 
 Post subject: Re: help!! how can i set an auto-close rule on my strategy? Post rating: 0   New post Posted: Fri 02 Aug, 2013, 07:57 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Hi Loukota29EU!

Unfortunately you are comparing nothing :o

You only can compare different indicators meaning settings within the indicators.
For example:

Image

With the other example above: did you managed to close your position under conditions? (in your case BB)

Regards


Attachments:
different_frames.png [42.46 KiB]
Downloaded 570 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: help!! how can i set an auto-close rule on my strategy? Post rating: 0   New post Posted: Fri 02 Aug, 2013, 13:35 

User rating: 2
Joined: Thu 25 Jul, 2013, 08:40
Posts: 58
Location: ItalyItaly
Sorry Dirk, maybe there is a misunderstanding..i'm comparing adx and adxr..in your snap is compared 2 adx..


 
 Post subject: Re: help!! how can i set an auto-close rule on my strategy? Post rating: 0   New post Posted: Fri 02 Aug, 2013, 16:44 

User rating: 2
Joined: Thu 25 Jul, 2013, 08:40
Posts: 58
Location: ItalyItaly
Hi!!
I post my new strategy, when i run in historical no position are closed..could you tell me why? I think it's build correctly..
Thanks very much!!


Attachments:
rsi.vfs [37.52 KiB]
Downloaded 313 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.
 

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