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

Re: [amibroker] Re: AFL Help appreciated



PureBytes Links

Trading Reference Links

Wouldn't it be more like this?

MA50 = MA( C, 50 );
Buy = YourCond AND C < MA50 * 1.03 AND C > MA50 * 0.97;

Steve

----- Original Message ----- 
From: "jim_trades_stocks" <jnk1997@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, December 17, 2005 4:07 PM
Subject: [amibroker] Re: AFL Help appreciated


> Thanks for the quick reply,
> I think it's the opposite.
> 
> myMA = MA(C,50);
> Buy = yourConditions AND C * 1.03 > myMA AND C * 0.97 < myMA;
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxxx> wrote:
>>
>> myMA = MA(C,50);
>> Buy = yourConditions AND C * 1.03 < myMA AND C * 0.97 > myMA;
>> 
>> Test it.
>> --
>> Terry
>> -----Original Message-----
>> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] 
> On
>> Behalf Of jim_trades_stocks
>> Sent: Saturday, December 17, 2005 11:12
>> To: amibroker@xxxxxxxxxxxxxxx
>> Subject: [amibroker] AFL Help appreciated
>> 
>> Hello,
>> 
>> I would like to add the following condition to my AFL buy formula 
> but 
>> don't know how to code %.
>> 
>> AND the close price today is within 3% (plus or minus) of the 50 
> day SMA
>> 
>> Is this possible to code?
>> 
>> Thanks
>> 
>> Jim
>> 
>> 
>> 
>> 
>> 
>> 
>> 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 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 other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

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