Dukascopy
 
 
Wiki JStore Search Login

Strategy is opening trades without fulfilling conditions.
 Post subject: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Mon 05 May, 2014, 14:50 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
Dear support ,

This is a short describtion of my strategy ontick_maybb (ver 2) ;


Buy Order Conditions : Buy order can be triggered in two ways

1)

Some Default Settings:
-> Default Period---------- 15 mins
-> Default Tp ------------- 50 pips
-> Default Sl -------------- 30 pips
-> Default Trade amount - It is variable depending upon the account equity
-> Default instrument - EUR/CAD

Conditions :
a) If difference of low of historical ask candle ( shift 2 ) and lowerband (BB shift2) is more than 0.001 pips , go ahead
b) If difference of low of historical ask candle ( shift 1) and lowerband ( BB shift1) is more than 0.0005 pips , go ahead
c) If difference of low of ask candle and lowerband ( BB current) is more than 0.0007 pips , place market buy order.

2)
Some Default Settings:
-> Default Period---------- 15 mins
-> Default Tp ------------- 6 pips
-> Default Sl -------------- 6 pips
-> Default Trade amount - 3 Million
-> Default instrument - EUR/CAD

Conditions:
a) If difference of low of historical ask candle ( shift 2 ) and lowerband (BB shift2) is less than 0.001 pips, check next condition.
b) If difference of low of ask candle and lowerband ( BB current) is more than 0.0012 pips , place market buy order.

Sell Orders are vice versa.


Thank you for your support )

Sankit


 
 Post subject: Re: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Tue 06 May, 2014, 09:09 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
Please find attached file.


Attachments:
Ontick_Maybbnew2.vfs [58.95 KiB]
Downloaded 334 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: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Tue 06 May, 2014, 09:43 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Please show on chart, what position was opened incorrectly and where it should be opened.


 
 Post subject: Re: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Tue 06 May, 2014, 10:38 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
Image


Attachments:
File comment: This is a print screen image of strategy 2 as I mentioned before . Here difference of Price and upper band is greater than 0.001 pips. BB uses SMA
str2.jpg [199.04 KiB]
Downloaded 624 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: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Tue 06 May, 2014, 10:55 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
Example of buy order of strategy 2
Image


Attachments:
strt2a.jpg [197.74 KiB]
Downloaded 668 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: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Tue 06 May, 2014, 10:57 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
Image


Attachments:
File comment: strategy 1 example
Chart_EUR_CAD_15 Mins_snapshothlhl.png [25.46 KiB]
Downloaded 615 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: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Tue 06 May, 2014, 13:46 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
My account equity is ruined , I just hope fake signals wouldn't be considered.


 
 Post subject: Re: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Wed 07 May, 2014, 08:16 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
Dear Support ,

Any Updates?


 
 Post subject: Re: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Wed 07 May, 2014, 09:21 
Visual JForex expert at Dukascopy
User avatar

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

This happening because strategy uses onCandle start point. So it works on every candle close.
Even if you are using LastTick variable in onCandle thread there will be data on candle close.
It is recommended to use Historical Tester and Demo Tests before starting strategy on contest.

Best regards, Support team.


 
 Post subject: Re: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Wed 07 May, 2014, 11:23 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
Greetings , I did historical testing and I found no error in that . You may also try that .The first two charts attached with the topic are from historical testing .
Image
Image


Attachments:
report2.png [85.07 KiB]
Downloaded 650 times
File comment: Latest historical test from 01 May , 2014 to 07 May 2014
report1.png [137.97 KiB]
Downloaded 593 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: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Wed 07 May, 2014, 12:18 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
Please find attached Image of REPORT of Historical test for strategy ( Ontick_maybb ) version 2
Image


Attachments:
report3.png [99.05 KiB]
Downloaded 658 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: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Wed 07 May, 2014, 12:29 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
According to historical test , major positions were opened on 6 th may . So , I have attached the chart as per the historical test which might help you find actual error. Please find the attached chart .

Thank you.
Image


Attachments:
6thmay chart.png [63.69 KiB]
Downloaded 640 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: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Wed 07 May, 2014, 14:57 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
I would clarify:
It is recommended to use Historical Tester and Demo Tests BEFORE starting strategy on contest.
I can see on chart several positions at the same time, while it is prohibited be Contest Rules.


 
 Post subject: Re: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Wed 07 May, 2014, 15:48 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
Dear Vadim ,

I am aware of contest rules so I wont make a mistake by opening two positions simultaneously . More than one positions are opened on the same candle that proves strategy is working well , by opening positions taking last tick as reference and not candle close . Whenever position is opened , its default settings play center role that is TP:6 & Sl : 6 . Once open position triggers stop loss or target price it creates room for strategy to repeat this cycle and thus you may see more than one position at the same level.

About historical test , I have tested this strategy several times before I submitted in SC . I showed you latest test conducted for your better understanding . If you insist I can give previous details too. A fast reply would be greatly appreciated .
Thanks.


 
 Post subject: Re: Strategy is opening trades without fulfilling conditions. Post rating: 0   New post Posted: Mon 12 May, 2014, 04:58 
User avatar

User rating: 0
Joined: Thu 17 Oct, 2013, 05:15
Posts: 13
Location: IndiaIndia
You are right there is some error when strategy is running in real time , I wonder the use of historical tester.


 

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