Amount based on balance

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Amount based on balance

Postby Reymondpolanco » Mon Sep 25, 2017 4:58 pm

Can you make a strategy to select automatically the amount for all new trades or orders based in the balance or the free margin using the follow formula:

balance/200 (or another number i put).

Balance or free margin = 1000
Risk = 200

1000/200 = 5

5 = amount of the trade

These is only to open trades not to close.
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

Re: Amount based on balance

Postby Apprentice » Sun Mar 10, 2019 5:49 am

Sure.
You will have to provide some entry logic.
Or
Provide link to existing strategy to modify.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Amount based on balance

Postby Reymondpolanco » Sun Mar 10, 2019 2:10 pm

Apprentice wrote:Sure.
You will have to provide some entry logic.
Or
Provide link to existing strategy to modify.


= Balance or free margin (one option i can chose) / 200 (or another number i want)

Supose that my Balance or free margin is US$1000 and the number i chose is 200

1000/200 = 5

5k = Amount of the trade.
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

Re: Amount based on balance

Postby Apprentice » Mon Mar 11, 2019 3:42 am

Will this be added to the existing position.
Or
Based on some entry signal
(e.g. Price / MA cros)
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Amount based on balance

Postby Reymondpolanco » Sun Mar 24, 2019 9:43 am

Apprentice wrote:Will this be added to the existing position.
Or
Based on some entry signal
(e.g. Price / MA cros)


No is just like an indicator
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

Re: Amount based on balance

Postby Apprentice » Mon Mar 25, 2019 10:07 am

You mentioned the "strategy" earlier.
So, you just need an indicator that will simplify your risk management,
by calculating a number of the position you can open?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Amount based on balance

Postby Apprentice » Mon Mar 25, 2019 10:07 am

You mentioned the "strategy" earlier.
So, you just need an indicator that will simplify your risk management,
by calculating a number of the position you can open?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Amount based on balance

Postby Reymondpolanco » Mon Mar 25, 2019 10:36 am

Apprentice wrote:You mentioned the "strategy" earlier.
So, you just need an indicator that will simplify your risk management,
by calculating a number of the position you can open?


Yes for now only an indicator
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot] and 22 guests