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

Re: [amibroker] Stoch code values



PureBytes Links

Trading Reference Links

Great Graham - many thanks
You wouldn't happen to have the same underlying formula for MACD as well 
would you - it's another indicator I'd like the other MA types for.

Thanks for your help
Martin

Graham wrote:
> Here is Stochastic formula, just change what moving averages you want to
> 
> p = 8;
> k = 3;
> d = 3;
> gkStochK = MA((C-LLV(L,p))/(HHV(H,p)-LLV(L,p)),k)*100;
> gkStochD = MA( gkStockK , D);
> 
> 
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://e-wire.net.au/~eb_kavan/ab_write.htm
> 
> 
> On 2/2/06, Martin Cooney <martin@xxxxxxxxxxxxx> wrote:
>> Hi,
>>
>> I'm endevouring to replicate some trading systems used with Forex under
>> Amibroker. These are coming from the Metatrader platform and I need to
>> be able to have Stochastics displayed using Simple, Exponential,
>> Smoothed or Linear Weighted.
>>
>> Is this an easy thing to add in as a selectable parameter and can
>> someone assist me please, if they're able ?
>>
>> Cheers
>> Martin
>>
>>
>>
>> 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/