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.

BIDIRECTIONAL GRID STRATEGY
 Post subject: BIDIRECTIONAL GRID STRATEGY Post rating: 0   New post Posted: Fri 12 Feb, 2016, 21:47 
User avatar

User rating: 0
Joined: Thu 05 Nov, 2015, 22:29
Posts: 16
Location: ItalyItaly
Hello
I'd like to automate this strategy with visual JForex, and wanted to know if someone could help me since I am the beginning and are still very inexperienced.
The strategy is this:

BIDIRECTIONAL GRID.
The system should instantly open two opposing positions, LONG-SHORT with tp 10 pips, and 60 pips stop loss. Should always instantly create a “veil” of pending orders (stop and limit type), for example say up to 5 levels above the current price, and 5 below the current price, one far from another 10 pips, (or simply create new opposite position long-short every 10 pip). And so, at each level, the same price (subject spreads, if it were possible to find a way to compensate for the spread to have the certainty that both orders of each level are opened) should always be open LONG-SHORT opposing orders tp 10 pips and 60 pips stop loss. Each time a level is activated, the system should create a new one at the top end of the grid and delete one of the lower end of the grid in the event of LONG movement. It should do the opposite in the case of SHORT movement. This is to make sure that between open positions and pending the price always remains trapped between 5 upper and 5 lower levels levels. Why this? In order to capture every price position even during sudden and large movements that can result from the news.
Clearly if the price goes into a trend, the trend in leadership positions will go to tp, the others will be in the negative. What to do? First of all what is written above should continue to be exactly that way. But, at this point, of each position that will reach -30 pips loss of the system will instantly open an extra position (in addition to the two LONG-SHORT of the primary grid), opposite to that in the loss of -30 pip and with a size increased compared to the first who is losing, we say x3 and tp 30 pips and this time also with a 60 pip sl. If after activating this order price ritracciasse and went in turn at a loss, on reaching the original price level, should open another pending opposite to the latter, this time with size x6, always with tp 30 pips and sl 60 etc ..., were to retrace several times, the system should follow this pattern: 0.1, 0.3, 0.6, 00.12, 00.24, etc., until finally not close the sequence, with a profit of 30 pips. But rather, as in the trading of Murphy's Law always exists, for example you may put a maximum of 4 retracements limit, beyond which the system will collect a loss. But in the meantime he will have gained something with the orders that have been reopened by the primary grid between level prices of the hedge range sequences.
Moreover, the system should not create another level of orders until both positions to a certain level price of the primary grid are not closed. With regard to the creation of new pending at those price levels, they should do only except those that are part of the hedge secondary grid in the hedge phase of the primary grid are not closed, but only positions for secondary grid.
As mentioned before If even then there was a way to offset the spread (which, although Dukascopy with some couples are really reduced however they exist) and avoid that perhaps only one of two opposing orders is triggered, unbalancing the grid, it would be wonderful.
Naturally sizes they should be very small, microlots.
Would be nice if an initial menu you could choose the distance in pips between the various levels, the value of the take profit and stop loss of the primary grid and the value of a possible gap between the long and short positions if you do not want that two orders are opened at the same price, also the distance of the stop loss and take profit of the secondary grid, the size of the start of the primary screen and the size of the value and the number of permitted hedging positions during the various price retracement.

I hope to be able to express myself well

Thank you all :)


 
 Post subject: Re: BIDIRECTIONAL GRID STRATEGY Post rating: 0   New post Posted: Tue 16 Feb, 2016, 16:03 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
In this forum we try to focus on JForex API questions and bugs. There are a number of external programmers who can program the strategy for you:
https://www.dukascopy.com/fxcomm/member ... am_service


 
 Post subject: Re: BIDIRECTIONAL GRID STRATEGY Post rating: 0   New post Posted: Tue 16 Feb, 2016, 22:21 
User avatar

User rating: 0
Joined: Thu 05 Nov, 2015, 22:29
Posts: 16
Location: ItalyItaly
API Support wrote:
In this forum we try to focus on JForex API questions and bugs. There are a number of external programmers who can program the strategy for you:
https://www.dukascopy.com/fxcomm/member ... am_service



Thank you!

But it's for free? :-)


 

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