All language subtitles for 5. Send orders on the market using Python

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French Download
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

Aaron and welcome in this new video in this video, we're going to send orders from Python to MetaTrader

five.

So first, we will explain a little bit our function and how it's work.

And then we are going to see in the Ministry of I devised the order passed by Python.

So this function have two necessary parameters.

The symbol, the volume and two no necessary parameters.

So by which is equal to buy or sell depending of the state of the position that you want to open or

close.

And if the position is no offer position, if you want to close a position and if it's equal to none,

it means that you want to open the position.

So with this function, we can open bay position close by position, open a short position and close

this shot position.

So first, we need to initialize the bond between Python and MetaTrader.

We need to get the feeling of the assets, so it is just a moment.

But depending of each asset.

So we will need to import it and not to put static finning, but then we take the ask price, the big

price, the point and the deviation.

Now we need to split our function in different case.

So the first open a trend that if your position is equal to none, which means that we want to open

a trade.

So if you want to open by order, we need to take the title trade as border type volume.

And we need to set up stop loss and take profit.

Then we need to take the ask price to open a buy contract.

If you want to open a sell contract, it's exactly the same, but with opposite value.

Then you have to put that in a request for MetaTrader five.

And we keep in mind the results to see if there is an error, for example, or to see if the market

is close or anything else.

Then if you want to close a trade, you need to put the opposite order.

For example, if I went to close by order, I need to put the order type sell and a bit presque.

So if I want to close a senator, I need to put the order type by and the exports.

We put it in a request, MetaTrader.

And we keep in mind the results.

Then we return just the result because all the computation and the order are passed by MetaTrader five

directly.

So now let's see how its work in MetaTrader five.

So, for example, if I want to use this function.

I can pass a napkin by contracts using Python.

So we need a symbol.

I choose the Euro USD

and I want a volume of zero point zero one.

And as we can see directly, the contract out in the Middle East for the five platform.

So if I want to close,

I need to specify

the name, the volume and the position, which is this number.

So.

And it is exactly the same thing.

If you want to work with sell contract, but you need to specify by equal force.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.