|
First try with visual forex, simple strategi not working |
Simon_Harritz
|
Post subject: First try with visual forex, simple strategi not working |
Post rating: 0
|
Posted: Wed 16 Sep, 2015, 08:48
|
|
User rating: 0
Joined: Mon 06 Jul, 2015, 16:52 Posts: 14 Location: DenmarkDenmark
|
Im trying to make a strategy that does the following: Trading in Eur/Usd 1: Checks the market at 9.40, last 10min has the market gone up or down. 2: If up, make buy order, if down make sell order 3: Set up a trailing stop on the order at 10 pip. 4: Only have one order open a day.
Hope you have some hints on what is wrong, because when i test it, it doesnt open any trades.
Attachments: |
First_Try.vfs [33.38 KiB]
Downloaded 129 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.
|
|
|
|
|
 |
Visual Support
|
Post subject: Re: First try with visual forex, simple strategi not working |
Post rating: 0
|
Posted: Fri 02 Oct, 2015, 10:12
|
|
Visual JForex expert at Dukascopy |  |
User rating: 4
Joined: Fri 06 Feb, 2009, 16:34 Posts: 130
|
Hello
You good, but 2 small mistakes. 1) When you use GetTimeUnit -- with hour -- it cant return 9.40 - only 9 as integer number 2) Get Historical Candle on Candle Event - better to use not 0 shift, but 1 shift. See attached example
Attachments: |
First_TryChanged.vfs [33.38 KiB]
Downloaded 115 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.
|
|
|
|
|
 |
Simon_Harritz
|
Post subject: Re: First try with visual forex, simple strategi not working |
Post rating: 0
|
Posted: Fri 09 Oct, 2015, 16:26
|
|
User rating: 0
Joined: Mon 06 Jul, 2015, 16:52 Posts: 14 Location: DenmarkDenmark
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|