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

Re: [amibroker] applyStop



PureBytes Links

Trading Reference Links

Hello,

Yes it expected if your LossLevel varies during the trade.

When Volatile parameter is FALSE then stop 'amount' is locked at entry bar.
When Volatile parameter is TRUE then stop 'amoun't is NOT locked
(and will vary during the trade if LossLevel variable changes).

This applies to all kind of stops (not only trailing)

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Thomas Chan" <tchan95014@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, May 30, 2003 7:18 PM
Subject: [amibroker] applyStop


> Hello,
> 
> I was using this applyStop() function as
> 
> ApplyStop(stopTypeLoss, stopModePoint, LossLevel,
> TRUE, FALSE);
> 
> LossLevel is an user defined constant.
> 
> Comparing to 
> 
> ApplyStop(stopTypeLoss, stopModePoint, LossLevel,
> TRUE, TRUE);
> 
> The only change is the last entry changed from FALSE
> to TRUE.
> 
> With the above 2 operations, I got different results
> on my backtest (All other conditions stay exactly
> the same), is this expected, as I am NOT using
> stopTypeTrailing.
>  
> Thanks for any info.
> 
> 
> Thomas
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
> 
> 
> 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/ 
> 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/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/