Universal trailing stop

0
(0)
Tên:
Universal trailing stop [ ru ]
Tác giả: cmillion (2010.03.09 10:33)
Xếp hạng: 10
Đã tải xuống: 11060
Tải xuống:
Universal trailing stop 1
TrailingStopFrCn.mq4 (8.4 Kb) Xem

Sự miêu tả:

Can run as a single Expert Advisor or a script, together with any Expert Advisor.

Depending on the variable Dường cụt, trailing may be performed using the fractals, the extremal values of bar in the past or using the specified points.

  • Nếu như Dường cụt lớn hơn 0, then trailing will be carried out with the specified points, which are defined in the variable TrailingStop. If TrailingStop is less than the minimal limit stops, trailing stops will be minimal.
  • Nếu như Dường cụt = 0 Và Tip.Fr.or.Candl = 0, then trailing will performed using the fractals. The first corresponding fractal is used for the trailing.
  • Nếu như Dường cụt = 0 Và Tip.Fr.or.Candl = 1, then trailing will performed using the minimal/ maximal price values of the previous candle.
  • Nếu như Ảo thuật = 0, then the trailing will performde on all orders with of this character, without the magic number. If the variable specified Magic magic number, tương ứng, will only trailing orders with the number of Magic.
  • Nếu như OnlyProfit = đúng, then trailed profit orders only.
  • Nếu như OnlyWithoutLoss = đúng, then orders trailed to the price level without loss only.

Hình dung:

The screen displays information about the ongoing work of the script:

- Script settings;
- Number of orders, that processed;
- Current time
- Minimum levels of Stop (-)
- Current possible stop levels (price tags)

Tips:

The script terminates when all orders are closed. If the program is running as an ExpertAdvisor, it can be terminated manually.

9 bình luận Để gửi bình luận mới, Xin vui lòng đăng nhập hoặc đăng ký

Hoàn hảo! Spasibo!
15.08.2013 21:38 luchik

cmillion:
razoff wrote:
is there a way to trail several Magic (separated by comma or space) and dont trail the others if we have multiple EAs with their own magic ?

Thanks for sharing.

Simply start trail in miscellaneous window with one currency. In each window - its Magic

jiva34: very nice. works like a charm. many thanks. just what I needed.
cmillion:
razoff wrote:
is there a way to trail several Magic (separated by comma or space) and dont trail the others if we have multiple EAs with their own magic ?

Thanks for sharing.

Simply start trail in miscellaneous window with one currency. In each window - its Magic

15.02.2013 02:20 jiva34

cmillion:
razoff wrote:
is there a way to trail several Magic (separated by comma or space) and dont trail the others if we have multiple EAs with their own magic ?

Thanks for sharing.

Simply start trail in miscellaneous window with one currency. In each window - its Magic

15.02.2013 02:16 jiva34

roy7:
Could you update to detect and support 5-digit brokers? Cảm ơn!

Adviser and the script works on any broker, it is not important number of characters.
Newer versions.

25.09.2012 11:16 cmillion

Could you update to detect and support 5-digit brokers? Cảm ơn!

06.06.2011 09:54 roy7

How would one change the position of the trailing stop to the bar's extreme + lây lan +1? Great work by the way and I have been looking for this for a very long time.
04.02.2011 15:57 eclayf

How would you use this attached to another EA?

Can you import it or something as a script?...

03.11.2010 21:27 aku11a

razoff wrote:
is there a way to trail several Magic (separated by comma or space) and dont trail the others if we have multiple EAs with their own magic ?

Thanks for sharing.

Simply start trail in miscellaneous window with one currency. In each window - its Magic

09.03.2010 13:28 cmillion

is there a way to trail several Magic (separated by comma or space) and dont trail the others if we have multiple EAs with their own magic ?

Thanks for sharing.

Bài đăng này hữu ích như thế nào?

Bấm vào một ngôi sao để đánh giá nó!

Đánh giá trung bình 0 / 5. Số phiếu bầu: 0

Không có phiếu bầu cho đến nay! Hãy là người đầu tiên đánh giá bài viết này.

Chúng tôi xin lỗi vì bài đăng này không hữu ích cho bạn!

Hãy để chúng tôi cải thiện bài đăng này!

Hãy cho chúng tôi biết cách chúng tôi có thể cải thiện bài đăng này?



Tác giả: Nhóm ngoại hối Wiki
Chúng tôi là một nhóm gồm các Nhà giao dịch ngoại hối giàu kinh nghiệm [2000-2023] những người cống hiến để sống cuộc sống theo cách riêng của chúng ta. Mục tiêu chính của chúng tôi là đạt được sự độc lập và tự do về tài chính, và chúng tôi đã theo đuổi việc tự học và có được nhiều kinh nghiệm trong thị trường ngoại hối như là phương tiện của chúng tôi để đạt được lối sống bền vững.