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

Re: [amibroker] Re: Initiating Trailing Stop after hitting Profit Target



PureBytes Links

Trading Reference Links

Hello,

> I think that I understand the example in the Knowledge Base, but it 
> doesn't seem to address my question directly.

You mean that KB article is not ready to use copy-paste code for your specific request?
No it isn't. It is not supposed to be.
It was written well before you asked the question. But it is on related stuff.
It is just an example on how to do that on your own.

> Are you saying that by adding more logic to the example loop, I could 
> detect that the Profit Target has been hit, and then start looking 
> for a trailing stop trigger?

Yes exactly - add few lines and you will be done.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "dweilmuenster95125" <dweilmuenster95125@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, March 25, 2007 6:13 PM
Subject: [amibroker] Re: Initiating Trailing Stop after hitting Profit Target


> Tomasz, thanks fo your quick reply <g>.
> 
> I think that I understand the example in the Knowledge Base, but it 
> doesn't seem to address my question directly.
> 
> The goal is to have no trailing stop in place until the trade reaches 
> a Profit Target, say of y%, then to implement a trailing stop from 
> that point into the future.
> 
> Are you saying that by adding more logic to the example loop, I could 
> detect that the Profit Target has been hit, and then start looking 
> for a trailing stop trigger?
> 
> 
> 
> Thanks,
> David
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> 
> wrote:
>>
>> Hello,
>> 
>> Yes it is possible without custom backtester.
>> All you need is to write relatively simple loop.
>> Example of such loop is in the Knowledge Base:
>> http://www.amibroker.com/kb/2007/03/24/how-to-plot-a-trailing-stop-
> in-the-price-chart/
>> 
>> Best regards,
>> Tomasz Janeczko
>> amibroker.com
>> ----- Original Message ----- 
>> From: "dweilmuenster95125" <dweilmuenster95125@xxx>
>> To: <amibroker@xxxxxxxxxxxxxxx>
>> Sent: Sunday, March 25, 2007 1:06 PM
>> Subject: [amibroker] Initiating Trailing Stop after hitting Profit 
> Target
>> 
>> 
>> > Hi,
>> > 
>> > Can't figure out if it's possible without the Custom Backtester 
> to 
>> > initiate a Trailing Stop only after a specified Profit Target is 
> hit.
>> > 
>> > Suggestions?  
>> > 
>> > If it's documented somewhere that I've missed, please point me in 
> the 
>> > right direction?
>> > 
>> > 
>> > Thanks,
>> > 
>> > David
>> > 
>> > San Jose, CA
>> > 
>> > 
>> > 
>> > Please note that this group is for discussion between users only.
>> > 
>> > To get support from AmiBroker please send an e-mail directly to 
>> > SUPPORT {at} amibroker.com
>> > 
>> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>> > http://www.amibroker.com/devlog/
>> > 
>> > For other support material please check also:
>> > http://www.amibroker.com/support.html
>> > 
>> > Yahoo! Groups Links
>> > 
>> > 
>> > 
>> > 
>> >
>>
> 
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/