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

AW: [amibroker] Re: Forex



PureBytes Links

Trading Reference Links

Yes, it is clear. Thank you much. I'm trying to figure out how to use this
code as an adjunct to my system testing. I'd like to use it as a condition
(like Buy = <my normal buy cond> AND ...) for entering longs and shorts in a
reversal type of system. Have you tried that? Do you use, for example, 30
and 70 as thresholds?

Al V.

----- Original Message ----- 
From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, February 07, 2004 8:11 AM
Subject: [amibroker] Re: The last [dangerous but profitable] days of a trend


> Al,
> I hope it is clear now.
> The recent message is that we are not under selling pressure anymore.
> If a new bullish trend will be applied, it is another story.
> The code will show the last bars of this trend...
> Dimitris Tsokakis
> --- In amibroker@xxxxxxxxxxxxxxx, "Al Venosa" <advenosa@xxxx> wrote:
> > Never mind. I found it. It was missing "1" just before "~count".
> >
> > AV
> >   ----- Original Message ----- 
> >   From: Al Venosa
> >   To: amibroker@xxxxxxxxxxxxxxx
> >   Sent: Saturday, February 07, 2004 8:00 AM
> >   Subject: [amibroker] Re: The last [dangerous but profitable] days
> of a trend
> >
> >
> >   DT:
> >
> >   I tried your code but got a "bad arguments" error message after
> the last AddToComposite statement involving ~count. I think there is
> an array missing, isn't there? Please advise. Thanks for the idea.
> >
> >   Al Venosa
> >
> >   ----- Original Message ----- 
> >   From: Dimitris Tsokakis
> >   To: amibroker@xxxxxxxxxxxxxxx
> >   Sent: Thursday, February 05, 2004 5:58 AM
> >   Subject: [amibroker] The last [dangerous but profitable] days of
> a trend
> >
> >
> >   We often see in the N100 group trendy periods. The market is
> easily going higher and higher.
> >   More and more buyers "understand" that something is going on and
> gradually decide what they were afraid yesterday :
> >   To step in, not to loose the party.
> >   The last days are the most profitable, if your entry is old and
> the most dangerous if your entry is young.
> >   The green candles indicate the mature phase of the uptrend, we
> should be ready to pull the Sell trigger immediately.
> >   The red candles work for the Short side.
> >   I think it is another way to avoid the usual but crucial mistake
> of the delayed entry.
> >   For the whole N100 market scan all stocks, all quotations with
> >
> >   n1=19;n2=39;
> >   p1=OscP(n1,n2);p2=OscP(n1+1,n2+1);
> >   OscDiff=100*(p1-p2);
> >   AddToComposite(Oscdiff>0,"~Positive","v");
> >   AddToComposite(Oscdiff<=0,"~Negative","v");
> >   AddToComposite("~count","v");
> >   Buy=0;
> >
> >   to see how many stocks have positive OscDiff [a characteristic
> bullish property].
> >   The rest are negative and express the bearish mood.
> >
> >   After the composites creation plot in IB the
> >
> >    pos=100*Foreign("~positive","v")/Foreign("~count","v");
> >   neg=100*Foreign("~negative","v")/Foreign("~count","v");
> >   Plot(pos,"pos",5,1);Plot(neg,"neg",4,1);
> >   Color=(pos>=neg AND pos>Ref(pos,-1))*42+(neg>=pos AND neg>Ref
> (neg,-1))*31+1;
> >   // Plot(C,"",Color,64);
> >
> >   to see the indicators and the
> >
> >   SetForeign("^NDX");
> >    pos=100*Foreign("~positive","v")/Foreign("~count","v");
> >   neg=100*Foreign("~negative","v")/Foreign("~count","v");
> >   // Plot(pos,"pos",5,1);Plot(neg,"neg",4,1);
> >   Color=(pos>=neg AND pos>Ref(pos,-1))*42+(neg>=pos AND neg>Ref
> (neg,-1))*31+1;
> >   Plot(C,"",Color,64);
> >
> >   to have an easy reference for the last bullish/bearish days.
> >   The advice of the att. gif is simple : do not buy  after day2,
> the last 8 green candles are over.
> >   If you are on the short side, avoid increasing your position
> after day1, the series of red candles is interrupted.
> >   Dimitris Tsokakis
> >
> >
> >
> >   Al Venosa
> >   advenosa@xxxx
> >
> >
> >   ---
> >   Outgoing mail is certified Virus Free.
> >   Checked by AVG anti-virus system (http://www.grisoft.com).
> >   Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
> >
> >
> >   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
> >
> >
> >         Yahoo! Groups Sponsor
> >               ADVERTISEMENT
> >
> >
> >
> >
> >
> > --------------------------------------------------------------------
> ----------
> >   Yahoo! Groups Links
> >
> >     a.. To visit your group on the web, go to:
> >     http://groups.yahoo.com/group/amibroker/
> >
> >     b.. To unsubscribe from this group, send an email to:
> >     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> >
> >     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.
>
>
>
>
> 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
> Yahoo! Groups Links
>
>
>
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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 
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/