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

RE: [amibroker] Capture content in the "Profile" window



PureBytes Links

Trading Reference Links

Hi,

I've got a TS which is based on increasing the position size when the 
winning probability factor increases.

For example, I start with a buy : qtty = 100 ; price = 10
I want to reinforce the position when price = 11 (with 100 more)

Up to now, I calculate the real buyprice by hand (buyprice = 10.5 and 
qtty = 200) but it becomes quite complicated when I try to combine 
several TS which operate in parallel.

Is there a simple way to do this ?

Any help welcome ... Ben


ajf1111@xxxxxxxx wrote:
> Bill,
> 
> Something like this:
> 
> Cond1=MACD() > 0;
> 
> Cond2=StochK() > 50;
> 
> Cond3=ADX(14) > 20;
> 
> Cond4=RSI(14) > 50;
> 
> text=WriteIf(Cond1 AND Cond2,"cond1/cond2",WriteIf(Cond3 AND
> Cond4,"cond3/cond4",""));
> 
> Filter=1;
> 
> AddTextColumn(text,"TEST");
> 
> 
> 
> Anthony
> 
> ----- Original Message -----
> From: "zimm630" <zim630@xxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, January 21, 2004 9:11 AM
> Subject: [amibroker] Exploration AFL question
> 
> 
>  > I am putting together an exploration, 90% of which works fine.
>  > However I have one column where I need to do several comparisons to
>  > return an answer and I can't seem to figure it out :-).
>  >
>  > There are 4 conditions calculated - Condition-1...4
>  > If Condition 1 and 2 are true then I want to return a text statement,
>  > however, if condition 3 and 4, or 2 and 4, or 1 and 3 are true I
>  > wish to return different text statements. Any Ideas?
>  >
>  > Thanks in advance for any help.
>  >
>  > Bill
>  >
>  >
>  >
>  > 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/
>  >
>  >
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/2004
> 
> 
> 
> 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
>       <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
> 
> 




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 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
---------------------------------------------------------------------~->

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/