READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

US Cent Contract? How to?

5 replies

Gin

Subscriber, bbp_participant, 107 replies.

Visit profile

1 year ago #288664

contract is in USC, not USD,

how to tell sqx to calc in usc?

    <li id=”chat-messages-426766614734831618-1326621241062195221″ class=”messageListItem_d5deea” aria-setsize=”-1″>

    extern string smm = “———– Money Management – Risk Fixed % Of Balance ———–“; extern bool UseMoneyManagement = true; extern double mmRiskPercent = 5; extern int mmDecimals = 2; extern double mmLotsIfNoMM = 0.01; extern double mmMaxLots = 98765; extern double mmMultiplier = 1.0; extern double mmStep = 0.01;
    <time id=”message-timestamp-1326621290525626379″ datetime=”2025-01-08T18:39:23.093Z” aria-label=”Today at 2:39 AM”><i class=”separator_f9f2ca” aria-hidden=”true”></i></time>

    mmMultiplier = 0.01
Attachments:
You must be logged in to view attached files.

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

1 year ago #288682

You can set the SQ point value in USC. All profit loss value and stats will be based on USC

0

Gin

Subscriber, bbp_participant, 107 replies.

Visit profile

1 year ago #288684

thanks

0

Gin

Subscriber, bbp_participant, 107 replies.

Visit profile

1 year ago #288685

but what would happen in real live account MT4 then?

 

 

0

Gin

Subscriber, bbp_participant, 107 replies.

Visit profile

1 year ago #288688

Correct me if I am wrong

balance 1000 USD
MM risk 5%
risk per trade in USD 1000*0.05 = 50 USD

price 319.99 USC
contract size 5000
stop loss per trade 3%

1 lot risk in USC
319.99 * 5000 * 0.03 = 47998.5 USC (but SQX MQL4 thinks it is 47998.5 USD)

how many lots SQX MQL4 will try to trade?
50/47998.5 = 0.001041699 lots

this will trigger error

it should be 0.001041699 * 100 = 0.1 lots

 

0

Gin

Subscriber, bbp_participant, 107 replies.

Visit profile

1 year ago #288689

so mmMultiplier = 100?

0

Viewing 5 replies - 1 through 5 (of 5 total)