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

[amibroker] Re: Exit Strategy



PureBytes Links

Trading Reference Links

Hi,

Your formula, as written, checks to see if the high minus the low is 
greater than 6 times the average true range of the last 30 days (i.e. 
if ATR of last 30 days is $1, you're code is checking if high minus 
low is greater than $6).

Also, average true range (ATR) as implemented in AmiBroker is not 
necessarily equal to high minus low:

http://stockcharts.com/education/IndicatorAnalysis/indic_ATR.html

Mike

--- In amibroker@xxxxxxxxxxxxxxx, "Steve Carlsson" <stevecar144@xxx> 
wrote:
>
> Hi all
> 
> Please bear with me I am a novice...
> 
> Sell= H-L > 6 * ATR(30);
> 
> The code above is supposed to check if the high minus the low on 
any given
> day produces a figure larger than the 30 day average trading 
range.....
> 
> I am not sure if the code is doing what I think its doing - any 
ideas...
> 
> Thanks in advance
> 
> Steve C
>



------------------------------------

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/