Dukascopy
 
 
Wiki JStore Search Login

closing logic with VWMA error
 Post subject: closing logic with VWMA error Post rating: 0   New post Posted: Wed 11 Oct, 2017, 05:56 
User avatar

User rating: 0
Joined: Sun 26 May, 2013, 12:18
Posts: 40
Location: India,
I used VWMA for closing an open trade. But there is error as the open trade won't close when the logic conditions are met.

Instance of Buy Open Order:
To close an open Buy order, the close trade logic is for VWMA3<VWMA2 & VWMA2>VWMA1. What would rectify the error?

Note: 1,2,3 & 0 are Shift Value.



Image


Attachments:
Close logic.jpg [39.31 KiB]
Downloaded 1099 times
TrendOpportunity.vfs [58.58 KiB]
Downloaded 1121 times
Close logic.jpg [41.82 KiB]
Downloaded 1644 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: closing logic with VWMA error Post rating: 0   New post Posted: Thu 19 Oct, 2017, 12:33 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Hello

Here are some corrections, please check.


Attachments:
TrendOpportunity_v2.vfs [59.75 KiB]
Downloaded 1098 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: closing logic with VWMA error Post rating: 0   New post Posted: Thu 19 Oct, 2017, 13:17 
User avatar

User rating: 0
Joined: Sun 26 May, 2013, 12:18
Posts: 40
Location: India,
Thanks for the help.

But it is not closing as per logic. Looking deeper, I found that the logic of close opened positions should be preceded by the VWMA indicators blocks. So, I put all the VWMA indicators blocks just after the Candle Start at the beginning and its executing now.


Thanks...


 

Jump to:  

  © 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