[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Help with Buy/Sell-problem



PureBytes Links

Trading Reference Links

I'm guessing it's a BUY if you get 3, 4 or 5 signals, including the
first one:

Buy = Sum( BuyAdd, 4 ) >= 3; // first signal, then 3 OR MORE signals
within 4 days. (Day 1 plus 3 more) 

--
Terry


| -----Original Message-----
| From: amibroker@xxxxxxxxxxxxxxx 
| [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Graham
| Sent: Sunday, May 29, 2005 2:20 AM
| To: amibroker@xxxxxxxxxxxxxxx
| Subject: Re: [amibroker] Help with Buy/Sell-problem
| 
| 
| Somehting like this may help
| 
| BuyAdd = Buy1 + Buy2 + Buy3 + Buy4 + Buy5;
| Buy = Sum( BuyAdd, 4 ) =4; // first signal, then 3 subsequent 
| signals for next 3 bars
| 
| SellAdd = Sell1 + Sell2 + Sell3 + Sell4 + Sell5;
| Sell = Sum( SellAdd, 4 ) =4; // first signal, then 3 
| subsequent signals for next 3 bars
| 
| buy = exrem(buy,sell);
| Sell=exrem(sell,buy);
| 
| 
| On 5/29/05, sjaak1943 <haasn102@xxxxxxxxx> wrote:
| > I use 5 different indicators, they all produce buy and 
| sell-signals. 
| > Buy1=Buy (indicator1); Buy2=Buy (indicator2);
| > Buy3=Buy (indicator3);
| > Buy4=Buy (indicator4);
| > Buy5=Buy (indicator5);
| > I want to buy when there are 3 Buys (from the 
| Buy1..Buy5)within 3 days
| > after the first Buy(1..5) appears.
| > Same for Sell.
| > Any help appreciated.
| > 
| > Sjaak
| > 
| > 
| > 
| > 
| > 
| > 
| > Please note that this group is for discussion between users only.
| > 
| > To get support from AmiBroker please send an e-mail directly to 
| > SUPPORT {at} amibroker.com
| > 
| > For other support material please check also: 
| > http://www.amibroker.com/support.html
| > 
| > 
| > Yahoo! Groups Links
| > 
| > 
| > 
| > 
| > 
| > 
| > 
| 
| 
| -- 
| Cheers
| Graham
| http://e-wire.net.au/~eb_kavan/
| 
| 
| ------------------------ Yahoo! Groups Sponsor 
| --------------------~--> 
| What would our lives be like without music, dance, and 
| theater? Donate or volunteer in the arts today at Network for 
| Good! http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
| --------------------------------------------------------------
| ------~-> 
| 
| Please note that this group is for discussion between users only.
| 
| To get support from AmiBroker please send an e-mail directly to 
| SUPPORT {at} amibroker.com
| 
| For other support material please check also: 
| http://www.amibroker.com/support.html
| 
|  
| Yahoo! Groups Links
| 
| 
| 
|  
| 
| 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/