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

Re: [amibroker] +DM -DM & ADX



PureBytes Links

Trading Reference Links

Hello Ermanno,

As for +DM,-DM and ADX in AFL formulas:
1. Please use version 3.40 (only this version supports ADX/DMI)
2. The functions for +DM, -DM and ADX are: pdi( period ), mdi( period ) and adx( period )
(see AmiBroker User's guide AFL function reference for the details)

And many thanks for posting the formula for detecting engulfish pattern.

Best regards,
Tomasz Janeczko
amibroker.com


> 
> Hello,
> 
> I am not able to use the +dm,-dm and adx in the formula of automatic
> analysis. How is it possibile to do?
> 
> 
> Thanks.
> Ermanno.
> 
> If someone is interested, below the formula to find stock with engulfish
> pattern
> 
> buy= close>open and open<ref(close,-1) and close>ref(open,-1) and
> ref(close,-1)<ref(open,-1);
> 
> sell=close<open and open>ref(close,-1) and close<ref(open,-1) and
> ref(open,-1)<ref(close,-1);
> 
> for perfect engulfish pattern:
> 
> buy= close>open and open<ref(close,-1) and close>ref(open,-1) and
> ref(close,-1)<ref(open,-1) and open<ref(low,-1) and close>ref(high,-1);
> 
> sell=close<open and open>ref(close,-1) and close<ref(open,-1) and
> ref(open,-1)<ref(close,-1) and open>ref(high, -1) and close<ref(low,-1);
> 
> 
> 
> 
> 
> 
>