Dukascopy
 
 
Wiki JStore Search Login

How to limit the total position amount
 Post subject: How to limit the total position amount Post rating: 0   New post Posted: Fri 22 Feb, 2019, 19:08 
User avatar

User rating: 0
Joined: Mon 06 Mar, 2017, 11:46
Posts: 10
Location: Morocco, Taroudant
How to limit the total position amount opened per day (Time frame : Day) to one order.
if the current order hit SL or TP wait for Current candle close, than check Again if conditions meet to open new order.

Thank for support.


 
 Post subject: Re: How to limit the total position amount Post rating: 0   New post Posted: Sat 23 Feb, 2019, 03:49 
User avatar

User rating: 0
Joined: Tue 15 May, 2018, 01:17
Posts: 8
Location: ChinaChina
normally I used three ways:
1. Used "if" block to check if "open order amounts" equal to 0, then open new order.
2. Used "if" block to check if "used leverage" less than a risk target. The position amount is depends on your entry trigger and entry amount.
3. Used "assign" block to limit, for instance, set a boolean or inter variable "goto long" with true value, put a block "check if goto long equal to ture" before the path of open order , after open order you connect an assign block to set the variable "goto long" to false value. Used "on trade" feed to check if there's a message about position close, if yes then reset the "goto long" to true value.

If the description is not clear , you could search key words in forum to get the detailed pictures and strategies.


 
 Post subject: Re: How to limit the total position amount Post rating: 0   New post Posted: Sat 23 Feb, 2019, 11:23 
User avatar

User rating: 0
Joined: Mon 06 Mar, 2017, 11:46
Posts: 10
Location: Morocco, Taroudant
Thank you for your reply, but you forget to to set the condition : wait for Current candle close.

More explain : when order open, if hit SL or TP wait for candle to close than Strat Strat stragtey again.


 
 Post subject: Re: How to limit the total position amount Post rating: 0   New post Posted: Wed 27 Feb, 2019, 10:23 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 925
Location: Ukraine, Kiev
Hello

Please use Visual JForex Guide
https://www.dukascopy.com/vfhelper/docu ... _locale=EN

7.1. How to do a strategy subscription


 

Jump to:  

cron
  © 1998-2011 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