MetaStock™ Zone Forum & FAQ Artyku³y Linki Elliott Waves EasyLanguage™ Zone

A B C D E F G H I J K L M N O P R S T U V W Y Z #

Stop Loss Formula


Stop Loss Formula

{?? ???????¾? ????? ??? ¾???? ??? ??????????????? ??? ?????????? ¾?? ?????? ??? 1 ??? 50 ??? ???????? ?? default ??? 3 ?¾????}
Days:=Input("???????? ??? ?????¾??? ????¾? ?¾???? : ",1,50,3);
{???? ?? ??????¾? ??? ¾???ß????? ¾??}
{????? ????ß????} Var1:=If(CLOSE>Ref(Mov(H,Days,S),-1),
{????} 1,
{??????} If(CLOSE<Ref(Mov(L,Days,S),-1),
{????} -1,
{??????} 0));
{??????? ????ß????} Var2:=ValueWhen(1,Var1<>0,Var1);
{????? ????ß????} Var3:=If(Var2=-1,
{????} Mov(H,Days,S),
{??????} Mov(L,Days,S));
Var3;

 

Source / From: TOP
http://users.otenet.gr/~kontesis/metastock.htm

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.

TradeStation® Pro, TradeStation® 2000i, OptionStation®, SuperCharts®, PowerEditor® and EasyLanguage®
are registered trademarks of TradeStation Technologies, Inc. Other names and marks referred to are the property of their respective owners.

All information provided on this website is for educational purposes only. Trading involves risk, including possible loss of principal and other losses.

Ten i inne materia³y na tej stronie zosta³y zamieszczone zosta³y jedynie w celach edukacyjnych, nie ponoszê ¿adnej odpowiedzialno¶ci za ich stosowanie.

Gra na gie³dzie i rynkach walutowych (FOREX) niesie ze sob± ryzyko powa¿nych strat finansowych!