Dukascopy
 
 
Wiki JStore Search Login

Reverse Strategy Signal
 Post subject: Reverse Strategy Signal Post rating: 0   New post Posted: Mon 23 Sep, 2013, 07:40 

User rating: 1
Joined: Mon 05 Aug, 2013, 22:37
Posts: 33
Location: SwitzerlandSwitzerland
Morning Dirk and all,
Is there a way to use the signals of one strategy to create an opposite strategy? In an effort to writing strategy to make constant profits, I ended up writing a strategy making constant loses :(

Reversing buy/sell signals inside that original strategy won't make any profit either. But I want to test by creating another (reverse) strategy to receive buy/sell signals from the first strategy and do the opposite trades.

Many thanks,
km


 
 Post subject: Re: Reverse Strategy Signal Post rating: 0   New post Posted: Mon 23 Sep, 2013, 21:32 
Site Administrator
User avatar

User rating:
Joined: Fri 21 Jun, 2013, 16:50
Posts: 197
Location: FranceFrance
I am unsure of what you want, but you can open a position on the opposite direction:

Image

or use the IF statement to check if the position (pending or open) or positions (with the position an loop viewers) are long or short and create a reversed buy/sell signals:

Image


Attachments:
Capture.JPG [30.79 KiB]
Downloaded 433 times
Capture.JPG [75.64 KiB]
Downloaded 447 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: Reverse Strategy Signal Post rating: 0   New post Posted: Tue 01 Oct, 2013, 21:53 

User rating: 1
Joined: Mon 05 Aug, 2013, 22:37
Posts: 33
Location: SwitzerlandSwitzerland
Thanks, Bruno... I was rather wondering on how to create a component and get signal from that component.. I framed my issue wrongly..


 
 Post subject: Re: Reverse Strategy Signal Post rating: 0   New post Posted: Wed 02 Oct, 2013, 18:08 
Visual JForex expert at Dukascopy
User avatar

User rating: 4
Joined: Fri 06 Feb, 2009, 16:34
Posts: 130
myo wrote:
Morning Dirk and all,
Is there a way to use the signals of one strategy to create an opposite strategy? In an effort to writing strategy to make constant profits, I ended up writing a strategy making constant loses :(

Yes, it is possible to do, like this one:

Image


Attachments:
OppositeStrategySignal.PNG [97.02 KiB]
Downloaded 470 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: Reverse Strategy Signal Post rating: 0   New post Posted: Fri 04 Oct, 2013, 06:16 

User rating: 1
Joined: Mon 05 Aug, 2013, 22:37
Posts: 33
Location: SwitzerlandSwitzerland
Many thanks... That's what I'm looking for.


 

Jump to:  

cron
  © 1998-2025 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