|
HOW TO LIMIT THE ONE POSITION PER CANDLE. |
tdurai84
|
Post subject: HOW TO LIMIT THE ONE POSITION PER CANDLE. |
Post rating: 0
|
Posted: Thu 17 Dec, 2015, 09:15
|
|
User rating: 0
Joined: Tue 27 Dec, 2011, 13:36 Posts: 16 Location: India, Coimbatore
|
How to limit the orders one per candle... need clear explanation about this friends....
|
|
|
|
 |
amine_chourou
|
Post subject: Re: HOW TO LIMIT THE ONE POSITION PER CANDLE. |
Post rating: 0
|
Posted: Thu 17 Dec, 2015, 11:56
|
|
Visual JForex expert at Dukascopy |  |
User rating: 288
Joined: Thu 18 Apr, 2013, 09:26 Posts: 1496 Location: Switzerland, Geneva
|
Hi,
Generally speaking, when you use an IF condition the system will read it and execute it every "sequence" of time. This sequence is determined by the period subscription which is implemented. A trading period subscription is basically implemented with an IF block having 2 variables "Candle period" and "the selected period", you can also use "Default period". By using such condition, you filter out the unused trading periods which are listed in Jforex API: from 10sec till Monthly. So when you use 15mn period you actually rejecting all the other possible values such as 10sec, 1mn, 5mn 10mn hourly, Daily, etc ... Thus by doing this the conditions that comes afterwards will be executed every 15mn candle and exactly at the start of every candle. Example: If you want to Sell if the market price is above 1.10 , the system will basically verify every 15mn candle start if the price is above 1.10 and Sell. In other words as long as the market price is above this level you'll be having short positions every 15mn candle till the price drop below 1.10
So to answer your question, you have to add a period filter to trade once per candle.
|
|
|
|
 |
tdurai84
|
Post subject: Re: HOW TO LIMIT THE ONE POSITION PER CANDLE. |
Post rating: 0
|
Posted: Thu 17 Dec, 2015, 12:19
|
|
User rating: 0
Joined: Tue 27 Dec, 2011, 13:36 Posts: 16 Location: India, Coimbatore
|
thank you 
|
|
|
|
 |
amine_chourou
|
Post subject: Re: HOW TO LIMIT THE ONE POSITION PER CANDLE. |
Post rating: 0
|
Posted: Thu 17 Dec, 2015, 13:36
|
|
Visual JForex expert at Dukascopy |  |
User rating: 288
Joined: Thu 18 Apr, 2013, 09:26 Posts: 1496 Location: Switzerland, Geneva
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|