Dukascopy
 
 
Wiki JStore Search Login

Candles and Ticks
 Post subject: Candles and Ticks Post rating: 0   New post Posted: Mon 24 Jun, 2013, 12:08 

User rating: 0
Joined: Tue 21 Aug, 2012, 10:55
Posts: 11
Location: Latvia, Marupe
Hello,
How to use in the same strategy candles and ticks ?
For example, such a strategy:
1) During the term of each candle to count the number of ticks up (UpTicks) and the number of ticks down (DownTicks)
2) Analyze the last closed candle
if UpTicks > DownTicks
&
candle is "Red" (Open > Close)
&
candle Low = MIN (21) low price)
Place Buy limit order 1.0 pips below candle close price

if UpTicks < DownTicks
&
candle is "Green" (Open < Close)
&
candle High = MAX (21) high price
Place Sell limit order 1.0 pips above candle close price

3) Employ Martingale system in making the orders
4) Only one position at any times, open new position only after last position closed

Thanks


 
 Post subject: Re: Candles and Ticks Post rating: 0   New post Posted: Tue 25 Jun, 2013, 10:45 
Site Administrator
User avatar

User rating:
Joined: Fri 21 Jun, 2013, 16:50
Posts: 197
Location: FranceFrance
So, let's start by the tick up and down counter.

Image


Attachments:
Capture.JPG [116.61 KiB]
Downloaded 627 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: Candles and Ticks Post rating: 0   New post Posted: Tue 25 Jun, 2013, 12:25 
Visual JForex expert at Dukascopy
User avatar

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

1) Lets solve Tick strategy on example:
Count Up and Down ticks. On candle close -> if Up>Dn and there is short pos Then close it and open Long. And up side down. Tick_Trader.vfs
download/file.php?mode=view&id=3904

2) Then i have example of martingale strategy MartinGaleUser2.vfs
download/file.php?mode=view&id=3905.
May be it can be useful for you. But it works with pending orders and multiple positions.


Attachments:
MartinGaleUser2.vfs [57.34 KiB]
Downloaded 382 times
Tick_Trader.vfs [36.63 KiB]
Downloaded 338 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: Candles and Ticks Post rating: 0   New post Posted: Wed 26 Jun, 2013, 11:37 

User rating: 0
Joined: Tue 21 Aug, 2012, 10:55
Posts: 11
Location: Latvia, Marupe
Bruno_Grunberg wrote:
So, let's start by the tick up and down counter.

Image


Very interesting ... how below will be combined blocks "onTick" and "onCandle"


 
 Post subject: Re: Candles and Ticks Post rating: 0   New post Posted: Wed 26 Jun, 2013, 12:49 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Alexan wrote:
Very interesting ... how below will be combined blocks "onTick" and "onCandle"


My solution combines both of them.


 

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