[amibroker] Simple coding question...

2008-02-26 Thread longarm61
How would I code buy when price (close) is at least 10 cents below MA? I would like to optimize the 10 but I think I can figure that part out...I think. ;-) Thanks. Grant

Re: [amibroker] Simple coding question...

2008-02-26 Thread Louis Préfontaine
Hi, I am not 100% sure, but what about this: Close(MA (C, 14))-0.1 Louis 2008/2/26, longarm61 [EMAIL PROTECTED]: How would I code buy when price (close) is at least 10 cents below MA? I would like to optimize the 10 but I think I can figure that part out...I think. ;-) Thanks. Grant