Teknik Analiz Dünyasına Hoşgeldiniz. Paylaşmak Güzeldir.

Yayından kaldırmak istediğiniz formüller için algoritmabul@gmail.com ile iletişime geçebilirsiniz... 

  • DİKKAT: Formüller, Sistemler sadece eğitim amaçlıdır. Alım satım, olası anapara kaybı ve diğer kayıplar dahil olmak üzere "YÜKSEK RİSK" içerir.
  • “Hiç zengin olan bir teknik analist görmedim” diyenlere hep gülmüşümdür. Bu kadar saçma ve küstahça bir şey daha duymadım. Dokuz yıl boyunca temel analiz kullandıktan sonra, teknik analizci olarak zengin oldum. “ (Marty Schwartz)

Al Sat Sistemi Exit a Long Position

Bir ticaret sistemi, finansal piyasalarda alım satımla ilgili belirli kurallara sahip belirli ayarlara dayanır. Bir dizi işlemin istatistiksel bir analizini alır ve ondan kar sağlayan geçmiş performansları içerir. Bu stratejiyi bir ticaret sistemi olarak adlandırmadan önce, başarısını ve bir süre başarılı kalma yeteneğini garanti altına almak için bir dizi teste tabi tutulur. Bir ticaret stratejisi asla sabit bir karı garanti etmez. Kısa sürede kar etmek için "al" ve "sat" sinyalleri sağlayacak belirli algoritmalardan veya ayarlamalardan oluşur. Pazar her zaman değiştiği ve algoritmalarda veya ticaret sisteminde yapılan yeni ayarlamaların da değişmesi gerektiğinden, asla sabit bir kar oranını garanti etmez. Alım satım sistemleri genellikle zaman içinde görülür, hisse senetleri ve forex piyasaları sürekli alım veya satım sinyalleri verir.

algoritma

eiπ + 1 = 0
Algorithmist
Algoritma
Katılım
23 Eki 2020
Mesajlar
1,797
----- Original Message -----
From: Ed Montero
To: metastock@xxxxxxxxxxxxx
Sent: Thursday, April 20, 2000 7:37 AM
Subject: Code for stops
Is there any way to set a moving trailing stop in a MS System based on my own criteria.
Specifically, on my S&P system, I move a trailing stop if a bar in my trade direction finishes in the upper 25% of the bar (if long) or lower 25% of the bar (if short), I move the trailing stop to a few ticks under/over the bar. I may also move it based on other criteria, such as weakening trend, etc. Can you write code to set a stop, or does it have to be set up using the available MS options only.
Thanks for your help,
Ed Montero
emontero@xxxxxxxxxxxxxx
Re: Code for stops
. To: "MetaStock listserver" <metastock@xxxxxxxxxxxxx>
. Subject: Re: Code for stops
. From: "Glen Wallace" <gcwallace@xxxxxxxx>
. Date: Thu, 20 Apr 2000 10:10:02 -0700
. References: <003601bfaad6$05e8cf50$336c83cc@xxxxxxxx>
. Reply-To: metastock@xxxxxxxxxxxxx
. Sender: owner-metastock@xxxxxxxxxxxxx
Ed:
Yes, you can write code to set a stop, but it's not pretty if you need to refer to the entry price or entry date. You also have the problem that the System Tester can only exit your trade on the open, close, high or low of the particular bar. The System Tester's built-in stops allow you to exit at the stop price, but I don't think these are flexible enough for what you have in mind.
If you explain your exit parameters in more detail, someone here can probably make some suggestions. For what you have described, you could exit a long position with:​

Exit a Long Position

ExitPrice:= If(Close >= High-0.25*(High-Low), Low-AFewTicks, PREV);
Low <= ExitPrice

Regards
[21707]​
Source / From:
 

Forumdan daha fazla yararlanmak için giriş yapın yada üye olun!

Forumdan daha fazla yararlanmak için giriş yapın veya kayıt olun!

Kayıt ol

Forumda bir hesap oluşturmak tamamen ücretsizdir.

Şimdi kayıt ol
Giriş yap

Eğer bir hesabınız var ise lütfen giriş yapın

Giriş yap