Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

First block of complex system
 Post subject: First block of complex system Post rating: 0   New post Posted: Sat 09 Dec, 2017, 19:55 
User avatar

User rating: 0
Joined: Wed 06 Dec, 2017, 19:10
Posts: 6
Location: Italy, Venafro
Hello to all on this forum!

I would like to build the first block of what could become a complex strategy, but for now the block would work like this. BTW, I don't mean block in the visual Jforex sense. I mean first layer of a strategy. So this is it:

At the close of each candle the strategy would buy, if set to buy or sell if set to sell. That means there would be a switch user variable to select only buy or only sell. The trade would then be closed at TP a certain number of pips limit or SL a certain number of pips (plus spread) Limit. What I mean is, by using the same number of pips for TP and SL, to have the same probability of closing at a profit or at a loss, regardless of the spread, otherwise the SL would be favored.
In this example the probability of being filled at a loss or at a profit should be the same but of course the money loss or gain would not be the same because of the spread fluctuations and slippage.

I would use this simple program to research under what conditions the probability of an ordered sequence would increase from randomness and then seek to exploit these temporary inefficiencies for base personal gain. :D


 
 Post subject: Re: First block of complex system Post rating: 0   New post Posted: Mon 11 Dec, 2017, 13:49 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Here is a simple strategy example:
https://www.dukascopy.com/wiki/en/devel ... e-strategy

In this forum we try to focus on JForex API issues.
There are a number of strategies and indicators available from https://www.dukascopy.com/jstore/
Alternatively it is possible to to request external programmer to implement a strategy or indicator for you:
https://www.dukascopy.com/fxcomm/member ... am_service


 
 Post subject: Re: First block of complex system Post rating: 0   New post Posted: Thu 14 Dec, 2017, 17:23 
User avatar

User rating: 0
Joined: Wed 06 Dec, 2017, 19:10
Posts: 6
Location: Italy, Venafro
Thank you for the reply. I'll take it from here.


 

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