Dukascopy
 
 
Wiki JStore Search Login

Make the Trailing Stop React to the ASK Price When I Close a Long Position and Vice Versa
 Post subject: Make the Trailing Stop React to the ASK Price When I Close a Long Position and Vice Versa Post rating: 0   Post Posted: Wed 14 Aug, 2013, 22:52 
User avatar

User rating: 0
Joined: Wed 14 Aug, 2013, 22:35
Posts: 2
Location: Bulgaria, Sofia
Guys,

Is it possible to customize the trailing stop so that it reacts to:

1) Every change of the price, i.e. to every pip the price goes;
2) The ASK price when I close a long position, and the BID price when I close a short position (no matter that the long position will be inevitably closed at BID, and the short one will be inevitably closed at ASK - it will be just the trailing stop reaction).

Thanks, guys!
V.


 
 Post subject: Re: Make the Trailing Stop React to the ASK Price When I Close a Long Position and Vice Versa Post rating: 0   Post Posted: Thu 15 Aug, 2013, 15:07 
Visual JForex expert at Dukascopy
User avatar

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

You can always visit our Dukascopy channel on youtube watching the videos about Visual JForex.

Anyway: the attached strategy might help you to find a solution.


Attachments:
Trailing_Profit2_withoutBarrier.vfs [29.71 KiB]
Downloaded 420 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: Make the Trailing Stop React to the ASK Price When I Close a Long Position and Vice Versa Post rating: 0   Post Posted: Thu 15 Aug, 2013, 16:08 
User avatar

User rating: 0
Joined: Wed 14 Aug, 2013, 22:35
Posts: 2
Location: Bulgaria, Sofia
Thanks, Dirk_R1!

I'm new here, and I guess that's the reason I haven't gotten every piece of software on my PC yet. This vfs file's not recognized by my operation system. I looked it up on Google, but I'm still not quite sure what my next step's supposed to be. .

Anyway, perhaps now is the moment to clarify what I'm after. I want something like a virtual trailing stop-loss level that doesn't get me out of the market when crossed by the price. Say I've opened a short position. The ASK price may walk over my stop-loss without triggering any reaction by the platform. However, the moment the BID price touches this trailing stop-loss level or gets beyond it, no matter where the ASK one is, I want my position to be instantly closed at market. The opposite for long positions.

And I want this trailing level to move with every pip the price makes.

To be honest, I don't know how to programme such an Expert Advisor. I believe I should watch some of the tutorials. Would that help?!..

Thanks for your attention, guys!
V.


 
 Post subject: Re: Make the Trailing Stop React to the ASK Price When I Close a Long Position and Vice Versa Post rating: 0   Post Posted: Thu 15 Aug, 2013, 16:42 
Visual JForex expert at Dukascopy
User avatar

User rating: 27
Joined: Fri 03 May, 2013, 18:25
Posts: 366
Location: GermanyGermany
Of course, that would help! https://www.google.lv/search?q=youtube+ ... &gws_rd=cr

Maybe you should start with an introduction. Also there will explained how to implement a .vfs-file. :shock:

But no worries: If you go through all of the videos you might know how to modify the strategy i just gave you - Otherwise feel free to ask, but first: Have a try ;)


 

Jump to:  

  © 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