الموضوع: مؤشر ZIg Zag BUY &SELL
عرض مشاركة واحدة
قديم 17-01-2009, 09:07 PM   #15
saary
محلل فني
 
تاريخ التسجيل: Sep 2005
المشاركات: 4,203

 
افتراضي

--------------------------------------------------------------------------------

MetaStock™ Zone • Tworzenie Sytemów • Trader Shop • 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 #


--------------------------------------------------------------------------------

ZigZag Buy & Sell by Jose Silva

From: Edson L F <edsonlf /at\ bol.com.br>
To: equismetastock /at\ yahoogroups.com <equismetastock /at\ yahoogroups.com>
Date: Sunday, March 26, 2006, 11:31:53 PM
Subject: [EquisMetaStock Group] Signal for the indicator Zig Zag

Hi all,
How to make a signal (positive=buy and negative=sell) for the indicator Zig Zag?

Thanks in advance.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: Jose Silva <josesilva22 /at\ yahoo.com>
To: equismetastock /at\ yahoogroups.com <equismetastock /at\ yahoogroups.com>
Date: Monday, March 27, 2006, 3:52:57 AM
Subject: [EquisMetaStock Group] Re: Signal for the indicator Zig Zag

Edson, try this indicator:



ZigZag Buy & Sell

{ Note!
----
Last leg of ZigZag is *always dynamic*,
and last peak/trough signals are
always plotted in hindsight.

CCopyright 2004~2006 Jose Silva.
For personal use only.
http://www.metastocktools.com }

{ User inputs }
pr:=Input("ZigZag reversal %",.01,100,5);
x:=Input("use: [1]Open, [2]High, [3]Low, [4]Close, [5]WghtCl",1,5,4);
plot:=Input("plot: [1]Signals, [2]ZigZag",1,2,1);

{ Select data array }
x:=If(x=1,O,If(x=2,H,If(x=3,L,If(x=4,C,WC()))));

{ ZigZag }
zz:=Zig(x,pr,%);

{ Peak/Trough }
sell:=PeakBars(1,x,pr)=0;
buy:=TroughBars(1,x,pr)=0;

{ Plot signals in own window, ZigZag on chart }
If(plot=1,buy-sell,zz)
saary غير متواجد حالياً   رد مع اقتباس