Index and cryptocurrency trading errors

 
When trading indices and cryptocurrencies, the EA robot reports an error that the margin is invalid. The contract volume in the specification is 1. Does anyone know why?
 
Chuang Liu:
When trading indices and cryptocurrencies, the EA robot reports an error that the margin is invalid. The contract volume in the specification is 1. Does anyone know why?

Contact your EA author/coder.

 
Chuang Liu:
When trading indices and cryptocurrencies, the EA robot reports an error that the margin is invalid. The contract volume in the specification is 1. Does anyone know why?

Why do you report contract size whereas the error is supposedly related to margin (or clarify which "margin" exactly do you mean)? Investigate how the indices and crypto differ to other symbols regarding margin specifically. Then probably, you'll could deduce the origin of the error.

 
Stanislav Korotky #:

Why do you report contract size whereas the error is supposedly related to margin (or clarify which "margin" exactly do you mean)? Investigate how the indices and crypto differ to other symbols regarding margin specifically. Then probably, you'll could deduce the origin of the error.

double margin = SymbolInfoDouble(_Symbol, SYMBOL_MARGIN_INITIAL); I mean, I can't get margin at all using SYMBOL_MARGIN_INITIAL, and errors only appear in indices and cryptocurrencies. Is it the broker's problem?

 
Chuang Liu #:

double margin = SymbolInfoDouble(_Symbol, SYMBOL_MARGIN_INITIAL); I mean, I can't get margin at all using SYMBOL_MARGIN_INITIAL, and errors only appear in indices and cryptocurrencies. Is it the broker's problem?

Please provide a screenshot with specification of the problematic symbol.

 
斯坦尼斯拉夫·科罗茨基 #:

请提供有问题的符号的详细说明的屏幕截图。

When the trading product is US30, BTCUSD, etc., Print(Margin); all the printed results are empty. I can only use the variable Margin defined by myself as the margin. I suspect it is a problem with the broker.

This website uses cookies. Learn more about our Cookies Policy.