読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

Cannot figure out 131 invalid trade volume on DAX and US30

8件の返信

jmtc1230

カスタマー、bpb_participant、コミュニティ、19件の回答。.

プロフィールを表示

9年前 #116714

Hey all,
 
Can anybody advise me in this?  I am having an issue with using the proper lot sizes for DAX and US30.  Broker is IC Market.  
 
Settings in the EA are:
Lots = .1
Lots Decimals = 2
 

 

Specifications from broker are: 

Digits = 2

Contract size = 1

Minimal volume = 1.00

Max volume = 250

Volume step = 1.00

 

 

Code in the EA is:

extern string __s6 = “—–  Money Management Parameters  ———–“;
extern bool UseMoneyManagement = false;
extern double Lots = 0.1;
extern int LotsDecimals = 2;
extern double RiskInPercent = 2.0;
extern double MaximumLots = 0.5;
extern bool UseFixedMoney = false;
extern double RiskInMoney = 100.0;
 

 

AND HERE IS THE RESULT FROM TRADING:
2017.04.24 14:59:59.948 4008 Strategy 13.31 US30,H1: 2017.04.24 22:00:00 Error opening order: 131 : invalid trade volume

 

 

My goal is to have the EA request lots of 1.0.  I am not sure how to accomplish this.

 

Thank you for your input. I appreciate it.

0

Tomas Matejka

管理者、sq-ultimate、2件の返信.

プロフィールを表示

9年前 #142738

こんにちは,

 

try to change extern int LotsDecimals = 2; へ extern int LotsDecimals = 1;

It could solve the issue with the invalid volume error 131

 

教えてください

0

jmtc1230

カスタマー、bpb_participant、コミュニティ、19件の回答。.

プロフィールを表示

9年前 #142744

トーマス、,

 

Thanks for the tip but there is no improvement.  Can you take another look into this please?  Thanks for the input.

 

 

Josh

0

jmtc1230

カスタマー、bpb_participant、コミュニティ、19件の回答。.

プロフィールを表示

9年前 #142759

トーマス、,

 

Here are the strategies.

 

4001 is for the DOW30.

5001 is for the DAX.

 

 

 

Josh

 

 

 

 

 

0

素晴らしい

カスタマー、bbp_participant、コミュニティ、sq-ultimate、7件の返信。.

プロフィールを表示

9年前 #142761

I have ths same issue with Lmfx broker, haven’t figured out yet how to solve this issue.

0

Tomas Matejka

管理者、sq-ultimate、2件の返信.

プロフィールを表示

9年前 #142770

こんにちは,

 

the Dax strategy works for me. See screenshot. With the error message there should be also message about lot size applied. What lot size it tried to trade causing error? Can you check that? I suspect it has something to do with settings at your brokerage

ファイル dax.jpgdax.jpg

0

jmtc1230

カスタマー、bpb_participant、コミュニティ、19件の回答。.

プロフィールを表示

9年前 #142774

トーマス、,

 

I cannot get any lot sizes/lotsdecimals to work.  What did work for you?

 

 

Josh

0

Tomas Matejka

管理者、sq-ultimate、2件の返信.

プロフィールを表示

9年前 #142776

こんにちは,

 

your broker’s Minimal volume = 1.00 but you use 0.5 lots in the EA. That’s the problem. Set extern double MaximumLots = 1.0; or higher and it will work with MM = false

0

jmtc1230

カスタマー、bpb_participant、コミュニティ、19件の回答。.

プロフィールを表示

9年前 #142781

トーマス、,

 

Your last comment nailed it.  Thank you so much for you help.  The lots must be 1.0 and the max lots must be higher than that.

 

 

Josh

0

8件の返信を表示中 - 1 - 8件目 (全8件中)