Bedroom design Materials House, garden, plot

MONTHLY WEEKLY LEVELS script. Support and resistance levels. Forex scripts to simplify trade script trading from horizontal lines

Advisor to trade in trend lines opens the signals to make a transaction (order) in the event of price contact and trend line. Trade is carried out on the principle on the post. This means that when the pricing of the support line will open the BUY order, and when the cost of the resistance line is SEL.

Interested in trading on the back? Choose a suitable robot and start

.

The program parallels the two lines that the trader sets up manually. Recalculating the trend lines, the user needs to specify their names filed in the expert settings. After opening the order, the adviser adds his comment to the trend line. Note that if you do not delete this description, the program will not open the order at the right time.

Advisor is suitable for online trading. On one currency pair, not one user can work if each designate its Magic_Number settings. To start working with an adviser, you need to set trend lines and name them in accordance with the support_line_name and resistance_line_name parameters. Please note that there is no need to simultaneously use two lines. If one is absent, it is normally perceived by the program and will not bring failures.

Want to download a robot for efficient trading? Take advantage of our site

Trend lines are considered the most convenient and effective method of determining the trend in the Forex market. The tool is suitable for identifying profitable input points to trade, and at the expense of the simplicity of the trend line is realistic to use the reversal of the market. So that your activities in trading are not accompanied by excessive difficulties, apply trading advisors. This is a universal assistant that you can use when drawing up any currency pairs. For its free download, our Forex portal is at your service. Here you will find a lot of useful thematic information and trading robots to simplify the automation of many processes. Waiting for you.

If you are interested in the effective application of Fractals, then it is worth considering the use of an adviser.

Settings:

Support_line_name \u003d "SP" - Support Line Name
Resistance_line_name \u003d "RS" - the name of the resistance line
It is on these names that the expert will determine with what lines it will work.
Invers_Orders \u003d false - Inverting transactions. If you enable this parameter, then the BUY warrant will open on the resistance line instead of the order war, on the support line instead of the BUY warrant will open the SELD order.
SL \u003d 50 - size of Stoploss in points.
TP \u003d 50 - size TakeProfit in points.
Lot \u003d 0.1 - the volume of positions opened by the expert.
Show_alert \u003d True When the parameter is enabled, signals the opening position.
Magic_Number \u003d 818798 - the unique identifier of the expert.

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.

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. The opening script, and the deferred order installation script will become a good example of how the system approach and the desire to transfer to the trading 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 transactions. 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, .

»

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.


This is the second, more functional version. semi-Automatic Advisor Trade From Linestrading from the lines established by the user. The adviser for normal operation is needed two lines: one must be higher than the current price, and the other is lower. Advisor maintains two types of lines: horizontal and trend. You can set two lines as one type and different. Lines can draw the channel and configure the trade advisor in the channel: buy from the bottom, sell from the top. And you can organize trade on a breakdown of a certain price range up or down: buy from the top line, selling from the bottom. In the second version, the input level displacement is implemented relative to the line. It sets the parameter Offsettl. In points and can be both positive and negative. And also in the second version, it was possible at the request of the user at the level of the open position to automatically set stop coup orders. Installing these orders is controlled by the parameter SetRevstopord.. Since this is a semi-automatic adviser, we recommend using the transaction accompanying in the second window advisor Integra Nr.

In the counselor you can configure the following parameters:
Nameupline \u003d "Upline"- Name of the upper line.
Namednline \u003d "dnline"- Name of the bottom line.
BUYFROMUP \u003d FALSE. - buy from the upper line if true. Sell \u200b\u200bif false.
BUYFROMDN \u003d True. - buy from the bottom line if true. Sell \u200b\u200bif false.
Offsetttl \u003d 3. - Trade offset in points.
SetRevstopord \u003d false - put the stop-warheads on the level of the foot. Opened position.
ShowComment \u003d True. - Show comments.
MarketWatch \u003d True. - To form trading requests under the execution of "Market Watch".
MagicNumber \u003d 20080320. - Identifier of positions and advisor orders.
UseSound \u003d True. - Use a beep when performing trading operations.
Namefilesound \u003d "expert.wav" - Name of the sound file.
Lots \u003d 0.1. - The size of the traded lot.
Stoploss \u003d 30. - Stop size in points.
TakeProfit \u003d 70. - Take size in points.
Slippage \u003d 3. - Price slipping in points.
Numberoftry \u003d 5. - Number of trade attempts.