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

[amibroker] Re: Stop Loss Backtesting



PureBytes Links

Trading Reference Links

----- Original Message ----- 
From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, May 07, 2004 7:06 PM
Subject: [amibroker] Re: Multiple numeric variables


> Yarroll,
>
> Of course you may use it, if you prefer this type of syntax.
> Just consider  a range including 10, 14, 18 .
>
>  for(aa=1;aa<20;aa++)
> {
> if(aa==10 OR aa==14 OR aa==18)
> {
> Cond=RSI(aa)>50;
> Plot(RSI(aa),WriteVal(aa,1.0),1+Cond*31,1);
> }
> }
>


Thank you Dimitris.

I typed in the code above.
I changed the line Plot(RSI(aa),WriteVal(aa,1.0),1+Cond*31,1);
into
graph0=RSI(aa)>50
and I don't know why, but it seems to be equal to RSI(18)>50, in other words
it forgets RSI(10) and RSI(14).

Thank you. Best regards
Yarroll




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/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/