Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,660 --> 00:00:10,150
I everyone and welcome in this new video in this video, we are going to see how to run a strategy,
2
00:00:10,990 --> 00:00:14,530
so to run a strategy.
3
00:00:14,830 --> 00:00:16,000
We need the symbol.
4
00:00:19,430 --> 00:00:28,640
If we want take a longer buying contract or Schultz, any contract and the volume, first, we need
5
00:00:28,640 --> 00:00:32,360
to initialize the connection between Python and MetaTrader.
6
00:00:32,990 --> 00:00:45,740
Then we print some necessary information, then we take the current open position and we display also
7
00:00:46,220 --> 00:00:55,340
the long and short probable to see if you most take a buying contract or short contract.
8
00:00:57,650 --> 00:01:08,300
Now we take eventually the position and the imminent fear of the current open position, why to close
9
00:01:08,300 --> 00:01:10,670
it before open a new position.
10
00:01:15,000 --> 00:01:16,740
Then if.
11
00:01:18,640 --> 00:01:19,510
We have.
12
00:01:20,870 --> 00:01:31,460
For example, today by contract single and yesterday we were also in a buying contract in Iran.
13
00:01:32,030 --> 00:01:43,000
So we put the longest variable as follows because we are not close this position to pave this trade
14
00:01:43,670 --> 00:01:44,360
two times.
15
00:01:45,200 --> 00:01:49,370
So they are through possibilities.
16
00:01:50,120 --> 00:02:02,240
If we have an open by contract and we want the same, if we have a short contract and we want the same.
17
00:02:02,930 --> 00:02:12,770
And if they are an inverse contract for today, we need to close the current open contract.
18
00:02:13,570 --> 00:02:18,110
Then we just buy or shots the assets if.
19
00:02:20,440 --> 00:02:21,640
It is necessary.
20
00:02:22,270 --> 00:02:25,000
So let me show you an example.
21
00:02:26,800 --> 00:02:35,590
For example, if I use the brain function on your USD, we.
22
00:02:39,380 --> 00:02:41,680
True, false.
23
00:02:42,850 --> 00:02:43,860
Zero one.
24
00:02:44,390 --> 00:02:49,280
Which means that now we are going to open a bank contract.
25
00:02:52,150 --> 00:03:02,770
But we have also close the current open trade because it is the same symbol and the same volume, that's
26
00:03:04,510 --> 00:03:10,120
the current open position was in the inverse way.
27
00:03:10,150 --> 00:03:17,370
So it was a short position and now we want an buying position, for example.
28
00:03:17,410 --> 00:03:22,210
Now, if we try to run this function, nothing's happened.
29
00:03:22,540 --> 00:03:23,050
Why?
30
00:03:23,440 --> 00:03:28,960
Because we have already been position open.
31
00:03:30,280 --> 00:03:35,590
So it is very interesting to have a function like this in our case.
2873
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.