거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
25090
평가:
(57)
게시됨:
2015.12.10 15:50
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The virtual trailing stop can place stop loss, take profit and trail the order in a way that the stops are not visible to the broker, i.e. they are placed not in the dealing center, but on your computer, and no one is able to see your plans except for you and your computer.

Apart from the invisibility, there is another useful thing: many brokers have very large spreads and levels for setting stops, so now these levels have no way of harming you, the expert simply ignores them.

I suppose everything is clear with Stop Loss and Take Profit. Only the Trailing Stop will be described.

The trailing stop is controlled by three variables:

  1. length of the trailing stop;
  2. minimum profit for the start;
  3. step of the trailing stop.

The virtual stop loss follows the price at a distance of the trailing stop length. Minimum profit — when the virtual stop loss is to be placed. Step of the trailing stop — when the virtual stop loss is to be moved.

Let the values of 5, 2 and 3 are set, respectively.

Once the profit of the order reaches 7 points, the virtual stop loss moves to the order opening price plus 2 points of the minimum profit. Next, if the price goes 3 points in the direction of profit, the stop loss will be moved to 5 points of profit, and so on, following the price at the distance of 5 points. If the price pulls back to the stop level, the order will be closed.

The trailing stops are shown as dotted lines.

There are further development plans to add the ability to move the line by hand, so that the stops may be corrected during operation. There are also plans for adding support for the number of orders. Currently the Trailing Stop works properly only with 1 order per side. But despite that the Trailing Stop will not close losing positions, even if there are several orders placed on each direction.

To have a better understanding of the Expert Advisor, it can be placed in the strategy tester and seen in action using the Visualization mode.

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/13853

RSI_Expert RSI_Expert

Simple Expert Advisor based on the RSI indicator.

The Expert Advisor on Traffic Light trend strategy The Expert Advisor on Traffic Light trend strategy

A trend strategy based on moving averages with colors as in a traffic light. The purpose of writing the EA — to test the strategy on history and pick working parameters.

Simple Williams Simple Williams

The Expert Advisor based on the "New Trading Dimensions" book by Bill Williams.

Volatile action Volatile action

The idea behind the Expert Advisor is based on the volatility explosion in the pulse waves.