Scripts: Max trade volume checker for your trading account (Script version)

 

Max trade volume checker for your trading account (Script version):

A script which when run displays the maximum lot size permitted on the asset.

Author: Conor Mcnamara

 
Nice. Thank you.
 
How do I get the script.
 
 
T T #:
Is there a link

Hi, the final released version is for free on my seller page.

 

Hello,

Can you write the following software:

If I have a LOT max that corresponds to Free Margin.

I have three orders with:

LOT1;
LOT2 = LOT1 x 2;
LOT3 = LOT1 x 3;

How do I calculate LOT1 max so that all three orders are placed?

Thanks in advance.

 

@Marin Zlatev #: Can you write the following software: If I have a LOT max that corresponds to Free Margin. I have three orders with:

LOT1;
LOT2 = LOT1 x 2;
LOT3 = LOT1 x 3;

How do I calculate LOT1 max so that all three orders are placed?


LotsTotal = Lot1 + Lot2 + Lot3 = Lot1 + ( Lot1 * 2 ) + ( Lot * 3 ) = Lot1 * ( 1 + 2 + 3) = Lot1 * 6

Lot1 = LotsTotal / 6

As for the code, either learn to code it, or study this or other CodeBase examples, or hire someone in the Freelance section.

 
Marin Zlatev #:

Hello,

Can you write the following software:

If I have a LOT max that corresponds to Free Margin.

I have three orders with:

LOT1;
LOT2 = LOT1 x 2;
LOT3 = LOT1 x 3;

How do I calculate LOT1 max so that all three orders are placed?

Thanks in advance.


You don't have to write a new program for this. First place your position with the x3 lot size, next place your position with the x2 lot size, and now when you run the script again it will automatically calculate the remaining max lots that are available to use.
 
But if you want to execute those positions starting with LOT1, then just take the advice of Fernando above.