27.08.2020

Script selling horizontal lines. Trade From Lines (trade from lines). Installing the MONTHLY WEEKLY LEVELS script


From the article you will find out:

My flame hello, to all readers and guests of the site. Today I tell about a very relevant topic - these are scripts. Order opening script, and the installation script for deferred orders will be a good example for us as systems approach And the desire to convey in the trade part of the functions to the computer makes the trader make the first step from manual trading to automatic. I say that it begins to use scripts. On the other hand, the algotreder will use scripts with the first on par when its automatic system is under development.

Best broker

So, what exactly I want to tell today. The fact is that trading at the very beginning of his appearance was manual. And the transition to automatic systems came along with the evolution of computers. Accordingly, this evolutionary step, sooner or later make many traders. They begin to use robots instead of manual strategies. It is important to use the system approach, without this this transitional step - the use of scripts will not be relevant, because the scripts are not panacea. They cannot replace a holistic trading system. This is just a tool in your arsenal.

In addition, traders already using robots, according to the specifics of trade, also resort to the help of scripts. This is due to the fact that there are features of the terminal work, which in the in-depth use are available only through robots and scripts. This does not mean that anyone who wants to fell on Forex will not be able to do this, on the contrary, trading is available to everyone. Just the process of trade under the influence of evolution becomes complicated, which means that traders become more advanced. In general, scripts do not interfere, but help. So, about everything more.

Advantages and disadvantages for which it all needs

Why do you need a script?

  1. There are constantly repetitive operations that can be entrusted to the computer. The conditions for which should be opened, closed, change something, count, and so on. All this can be done semi-automatic using the script,
  2. Another good example is a script for the opening of orders. The fact is that most parts of trading orders can most often change with the help of ordinary opening of orders. However, there is such part of the order as a magic number, below I will tell you more about it. While I say that it is a great important part of the order, it can be changed only with the help of a robot or script. And already if we began to use the script opening orders, then the comments can be converted, and so on.
  3. The script for the installation of postponed orders will demonstrate to us the other side of the use of these program. An increase in the reaction rate to certain situations in the market is a very urgent task. Everyone would like to snatch on the volatile market as much as possible. It is for these purposes that the script is used to install deferred orders, which, I will tell you today.

However, what is the magic number, and why is it so important? Imagine that you have, as well as I have on, more than seventy terminals. You might think that on one terminal, only one robot can work within a single account. That is, seventy robots trades themselves calmly. What else do you need? But everything may be wrong. In fact, the use of Magic Number offers on one account to use the infinite number of robots, even on the same pair. Of course, the accounting of efficiency is slightly changing, but in general, nothing changes. And now imagine that on each terminal another 2-3 or more robots. What results can be achieved? It remains only to guess. You. And with a smirk, I enjoy what is happening on my VPS, and I advise you: Completely, and I will share with you what I know.

Returning to our auxiliary programs, I want to emphasize: you will not be able to create a trading system, except the script will not be in it. This program is not a panacea or a grailer. It just helps you perform some operations. You will not think for you. Therefore, it is necessary to use it only in the framework of a holistic trading system. Thus, the main disadvantage of the opening of orders, the installation of the deferred and all others is that manual labor is still needed. You make a decision to perform skiplated actions, and only you are responsible for the consequences of your actions. Of course, the result may be stunning, but the merit will be more yours than this auxiliary program.

I especially want to pay attention to the speed of the script. The actions that you can occupy and are performed for several tens of minutes in a few seconds. This allows you to free you from part of responsibility. At least so talk and not quite right, but I still venture. The fact is that your responsibility you still take over, but only at the moment when we look for the script and check its suitability to your trading system. When you perform it, no one is about any responsibility. At least at the conscious level. Somewhere on the feeder, it remains. But I suppose, psychologically will be much easier for you.

About the need for system and examples

Watch video about the script

I think that you have already understood that there is nothing to do without a system with this subsidiary program. Yes, it opens orders, it makes it completely automatically, but it does - it is absolutely puny. No, of course, it contains the logic that you invest at the time of its selection or study. But at the time of execution, nothing can stop him from doing what he should do. But the conditions on the market can be both suitable for the work of this auxiliary program, and completely harmful, not working at this moment. At the moment when you decide to run it.

Download

That is why you need some more advanced idea than just a solution to start the script. Simply put, you must use it within a simple, but working manual strategy. The same, who is ready to apply it, to correct the work of his adviser, also need to understand that it is necessary only when the conditions for which your adviser should respond, but did not respond or in another suitable situation.

The system does not make a gravity from your actions, but it brings them to it as much as the mind allows.

Let's consider a simple system under the installation script for deferred orders, which you can download from this page, as well as the opening script.

So, here we see a pair of EURUSD, the interval M1, as well as the indicator that showed the candle height for the entrance. At the opening of the next, we perform a script for the installation of deferred orders on a previously proven on the history of the effective distance and get two pending orders on two horizontal lines. On the opposite sides, we place staplos. IN this case Takeprofit can not be installed. Since we are installed using observations that on the stories, the transactions are well triggered by a duration of 70 candles. On the right vertical line, we leave both transactions. As a result, we get an impressive ratio of profits to a loss of about 8 to 1, the second order did not even enter the market.

At the same time, it should be understood that if we were not in history and did not set the length of the candle, after which it is advisable to enter, if they did not calculate that exactly the distance between orders gives, on average, good mathematical expectation. If they did not calculate, at what distance from the entrance of the order will give good profits, we would not be able to work according to the forecast. And so we have excellent deals. What is it all? Only a systematic approach to the work of such auxiliary programs can give a good result. No other approach, except the system, cannot give a positive expected result. Do not forget that there are many such tools. For example, .

On the chart, place the horizontal lines and call them "buy" (for the first BUY order) and / or "SELL" (for the first sell order).

As soon as the closing price of the bar (past) becomes above the BUY line, the BUY order is exhibited (for the Sell order, the closing price of the bar must be lower than the "SELL" line)

Next, the averaging lines come into operation. They can have any name and locate anywhere on the chart. They do not need to be renamed, the adviser will understand which lines for what are needed. If the horizontal line is higher than the BUY order, it will remove it, and if below, it will consider it its averaging. At the same time repainting it into blue and make dotted. The averaging line is a line of the order on which the lot opens with an increase in the coefficient K. Further, the adviser recalculates the teykprofit of all orders and will expose it at a distance of general ability.

Example of work:

We put the line and call her SELL.

The price crossed the line and as soon as the candle closed below the line was put out the order order. We put the averaging line above the Open order of the SELL (this can be done in advance with the installation of the first line). Average lines can be as much as you like.

As soon as the candle closed below the averaging line, the Sell warrant was put up with an enlarged lot. At the same time, the break-consuming point (marked by a red price tag) was shifted above and the teycrophytes of both orders were also recalculated.

You can use the advisor as a strategy tester, To do this, it must be put into the tester with visualization at low speed. Next hang there the necessary indicators and exhibit the desired lines along the move. In this way, you can check almost any strategy on history without ordering the development of specialized advisers.

»

And it's all in one bottle. Well, for those who are not enough of this, the adviser knows how to work not only with the pests, but also with ordinary market orders. You can quickly use the horizontal lines of the advisor to set the Stop Loss levels and the Take Profit levels, press one button and the order set with all the specified parameters! Well, not a miracle? Just incredibly facilitates life. That's what it looks like on the chart.
Multicolored horizontal lines match the desired levels of the Loss stop, the Take profit and the level of installation of the most deferred orders. By the way, the adviser determines which order must be installed - limit (Buy Limit, Sell Limit) or stop order (Buy Stop, Sell Stop), so if you are confused in the types of orders, then you have less than one headache. And in order to better understand the differences between the types of deferred orders, read and watch the video (new tab). The Plines button includes a deferred order mode, the Lines button - a market order. Hide button removes the advisor line. Well, as already mentioned, the Fastorder adviser simplifies the opening and ordinary, market orders. Simply set the Lossie Loss line and Take Profit on the desired levels, press the Buy or Sell button in the lower left corner and everything, the order is open with the specified parameters.

Unfortunately, it did not cost without minuses. The minus is that only one order can be opened by one currency pair using an adviser. This, apparently, is associated with the MagicNumber parameter in the settings. Each order, the Fastorder adviser assigns this number and the flaws of the authors is that the adviser does not know how to automatically change this number for the next order. Thus, when you try to open another order on the same currency pair, this order simply fails to assign a number, as it is already busy and the opening of the order is not possible. But this minus can be circumvented if you add an adviser to the schedule again and change one digit in the MagicNumber parameter, then you can set another order. This technique can be repeated as much as possible, but for the previous order it will be not available Button Close Advisor. But not a lot of loss, the order can always be closed in the Terminal itself by clicking on the cross.

File is available for download only to registered users - After updating this page to download links to download.

In general, the interface and settings are quite intuitive and I will not write a sheet of text, describing each, since it is only you tired. Instead, look better than the video, where I still stop at the settings and insolently show how to open orders using an adviser to install deferred FastOrder orders. https://www.youtube.com/watch?v\u003dns7_v4c9dy8.

Profit everyone! Subscribe and read our.

Semi-automatic trading system

"Trading on the lines".

Principle of operation.

The utility "Trade on the lines" is designed to facilitate the work of the trader. Everything is very simple: with the help of a special utility we put on the chart a channel from 4-lines. Two lines will be necessary for the entrance, the other two will be necessary for exit. Next, you can change the angle of inclination of each line, change the distances between them, etc. When the price is reached by one of the input lines, the purchase or sale is included. After that, when the price reaches one of the output lines, there will be a fixation of the transaction with profit (Take-Profit) or a loss (stop loss). Thus, you can easily organize trade in price channels and other strategies.

  • Installing a stop or limit orders based on custom lines (horizontal or trend);
  • Correction by the user's position of the lines after the start of the adviser (robot);
  • Tracking opening and closing prices according to trend lines;
  • Calculation of the risk of all open positions on the current instrument;
  • Calculation of risk based on a user-established interest from the deposit;
  • Calculation of the Risk / Profit ratio;
  • Calculation of channel width.

Installation and preparation for work.

1. Install the system in MetaTrader4, specifying the right path.


2. Run MetaTrader 4 (exit and go again if MetaTrader 4 has been loaded before installing additions).

3. Drag / pass using the mouse pointer on the schedule script application of LineStochart lines. The settings window will appear.

  • Settings are very simple. After applying lines on the chart, you can move them as you like. Clarifications require variables Uplowcorrection. and UpperlowerPercent. UpperlowerPercentdetermines the distance as a percentage between the main and additional lines and is calculated in the specified percentage from the channel width (see Figure). Uplowcorrection. In the disconnected state (FALSE) does not change the position of the channel lines Up / Low. In this way, we can apply the line script for the first time, to determine the channel lines, then apply the script re-with Uplowcorrection \u003d False, the additive lines will be determined by themselves in accordance with the selected UpperlowerPercent. There is one an important rule: The lines must be in a strict order, if you count from top to bottom, then the order is: Upper, Up, Low, Lower. Everything is described in the screenshot below.

  • After applying the lines, you must download the advisor. Drag on schedule adviser trading on LineStoorders lines. The settings window will appear.
  • Here are also all descriptions on the chart. Clarifications requires a variable TradeType. (see pictures).

  • Now the utility is ready to work. Foot and opening prices will move in accordance with the line. After receiving a new tick, the adviser will expose two pending order for the purchase and sale. You can change the position of lines, change the risks, disable control of the purchase and sale positions.
  • System requirements.

      operating system Microsoft® Windows®.98/2000/ XP / Vista / Windows 7

      pentium® 4 2GHz processor and above

      terminal MetaTrader 4 Build 600 and above

    Trade from support and resistance levels, as well as based on their breakdown is a fairly effective approach.

    However, even to today, there is no clear definition of levels, because two three-touch prices are actually far enough to assert that the battle line is true, and not some kind of trader.

    Nevertheless, in running from the subjectivity of market perception, traders and programmers have created hundreds of various technical indicators Levels that, one way or another, differ from each other.

    There is quite a logical question, and which of the indicators presented is truly draws real levels? In fact, the levels are only those tools that indicate the place of concentration of stop orders of strong players.

    Trading on large only with the lead broker

    One of the obvious places where large players are concentrated are minima and maxima of the price of the month and week, since it is focusing that traders with difficulty overcome these values.

    Actually, with one of the scripts, which makes it possible to see these levels on the chart, you will get acquainted in the article.

    MONTHLY WEEKLY LEVELS Script is an educational tool technical analysisWhich allows you to deduce the levels of a minimum and a maximum of a day or a week to a schedule of any grade of the selected frame.

    The script itself can be safely used as an indicator of support and resistance levels. Therefore, MONTHLY WEEKLY LEVELS will be equally effective on all currency pairs or time frames, which makes it a truly multicurrency tool.

    Installing the MONTHLY WEEKLY LEVELS script

    A remarkable feature of the MONTHLY WEEKLY LEVELS script is the fact that it applies completely free of charge. Moreover, the script itself, and the indicator functionality, was published in the official developer library trade Terminal Metatreer 4.

    Thus, you have two options for installing this tool. The first, and he is the easiest - it is through the built-in library directly in your trading terminal.

    To implement this method, run the trading platform and open the panel called "Terminal".

    The next step you will need to perform a simple sorting, in order to turn on the display of only scripts. In the list that appears, find the script called MONTHLY WEEKLY LEVELS, after which you download using the optional menu as shown in the image below:

    If the installation of the script via the library was not crowned with success, you can install in the second way, namely through the data directory of the trading terminal. To do this, go through the end of the article and download the script file.

    Then simply place the downloaded file into the appropriate terminal data directory folder, and in the Scripts folder. In order for the trading platform to see the installed file, it must be updated in the "Navigator" panel or simply restart.

    After updating the MONTHLY WEEKLY LEVELS terminal appears in the scripts list, and in order for it to display information about the nearest levels, drag the name of the tool to the chart.

    Principle of application of the script

    After you drag the script on the schedule, it will immediately display the lows and maximums of the week, as well as the month with the help of horizontal lines on the chart.

    It is worth noting that the script performs a one-time action, so after you add it to the chart, it will no longer update its data as the price changes.

    So the lines of green showing the lows and maxima of the weekly candle, and the yellow lines display the lows and maxima of the monthly candle.

    If we talk about the practice of use, the indicator is used, as any other tool for trade from levels, or on their breakdown. Script type view:

    In the script settings, you can change the type of level display, lines thickness, and so on. So in the line of the Number of Days you can set on the basis of which number days to display information on the schedule.

    W1 Line Width variable You can set the line thickness, and in the W1 Collor Line string indicate the line color.

    Also in the script is present the ability to display lines skidding or slices as it can be seen on the graph. In order to change the display style, you need to select the option you need in the Trend or Horizontal Line string.

    In conclusion, it is worth noting that the MONTHLY WEEKLY LEVELS script is an excellent tool for building level construction on the chart, moreover, the line built by the script may be useful to all traders without exception.


    2021.
    Mamipizza.ru - Banks. Deposits and deposits. Money transfers. Loans and taxes. Money and state