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

[amibroker] Re: easy question



PureBytes Links

Trading Reference Links

thanks a lot graham i finaly made it...thanks for your help!!



--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> There are a few ideas on how to get this to possibly work
> 
> Buy = cum(indicator1)>0 and cum(indicator2)>0; 
> 
> //If you get a buy/sell signal, need to reset the counters
> Indicator1 = iif(buy or sell, 0, yourindicatorformula1);
> Indicator2 = iif(buy or sell, 0, yourindicatorformula2);
> 
> You will need to move things around to get them to work, but does 
this help
> for starters?
> 
> Cheers,
> Graham
> http://groups.msn.com/ASXShareTrading
> http://groups.msn.com/FMSAustralia
> -----Original Message-----
> From: emarco [mailto:emarco@x...] 
> Sent: Tuesday, 23 September 2003 5:33 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] easy question
> 
> 
> Hi,
> 
>         I would like to add to my system a condition.here is my 
idea:
> 
> I need indicator1 and indicator2 to be above 1 at least once 
during a trade
> to trigger a sell/buy signal.
> 
> If the cumulative of both  indicator1 (=1) and indicator2 (=1) 
equals 2
> trigger a sell/buy signal.
> 
> other examples:
> If the cumulative of both  indicator1 (=1) and indicator2 (=0) 
equals 1 NO
> trigger a sell/buy signal.
> If the cumulative of both  indicator1 (=2) and indicator2 (=0) 
equals 2 NO
> trigger a sell/buy signal.
> If the cumulative of both  indicator1 (=2) and indicator2 (=1) 
equals 3
> trigger a sell/buy signal.
> 
> Thanks in advance 
> 
> 
> Juan
> 
> Yahoo! Groups Sponsor
> ADVERTISEMENT
> 
> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
ReplayTV: Control live television
Special Sale: 50% off ReplayTV
CNet Ranked #1 over Tivo!
http://us.click.yahoo.com/aUMW7B/A6qGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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