Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 07-07-2008, 02:15 AM   #1

Join Date: Jul 2008
Posts: 1
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts



AMIbroker Help

GUys,

I'm a beginner using AMIbroker and am trying to come up with a real basic code to begin learning the software and i'm having trouble. What i'm trying to do is set up a system that will give buy signals when a new 52 week high is reached. I want to sell when the 3 week high is lower than the 52 week high.

This is my code, what's wrong? it gives me a freaking buy and sell signal everyday:------------

H1 = Ref(HHV(H,260),-1);
H2= Ref(HHV(High,15),-1);

//system

Buy = H > H1;
Sell = H2 < H1;

Buy = ExRem(Buy, Sell);
thunderdogg is offline  
Reply With Quote
Old 07-07-2008, 11:35 PM   #2

ochie's Avatar

Join Date: May 2008
Location: Lucea
Posts: 99
Ignore this user

Thanks: 32
Thanked 66 Times in 48 Posts



Re: AMIbroker Help

Don't know how many use AmiBroker here. Are you aware of the Yahoo groups that support the software?

General group:

http://finance.groups.yahoo.com/group/amibroker/

Function Library:

http://finance.groups.yahoo.com/group/amibroker-afl/
ochie is offline  
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Amibroker hanz Brokers and Data Feeds 5 07-01-2007 05:07 AM

All times are GMT -4. The time now is 03:57 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.