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

Re: [amibroker] Raw Adx formula



PureBytes Links

Trading Reference Links





/* ADX CUSTOM*/
Periods=14; 
PlusDM=IIf<FONT 
size=2>(H>Ref<FONT 
size=2>(H,-1) AND 
L>=Ref<FONT 
size=2>(L,-1), 
H-Ref(H,-<FONT 
color=#ff00ff size=2>1),<FONT color=#0000ff 
size=2>IIf(H ><FONT color=#0000ff 
size=2>Ref(H,-<FONT color=#ff00ff 
size=2>1) AND L<<FONT color=#0000ff 
size=2>Ref(L,-<FONT color=#ff00ff 
size=2>1) 
AND H-Ref<FONT 
size=2>(H,-1)> 
Ref(L,-<FONT 
color=#ff00ff size=2>1)-L, H-<FONT color=#0000ff 
size=2>Ref(H,-<FONT color=#ff00ff 
size=2>1),<FONT color=#ff00ff 
size=2>0)); 
PlusDI=100<FONT 
size=2>*Wilders<FONT 
size=2>(PlusDM,Periods)/ATR<FONT 
size=2>(Periods); 
MinusDM=IIf<FONT 
size=2>(L<Ref<FONT 
size=2>(L,-1) AND 
H<=Ref<FONT 
size=2>(H,-1), 
Ref(L,-<FONT 
color=#ff00ff size=2>1)-L,<FONT color=#0000ff 
size=2>IIf(H><FONT color=#0000ff 
size=2>Ref(H,-<FONT color=#ff00ff 
size=2>1) AND L<<FONT color=#0000ff 
size=2>Ref(L,-<FONT color=#ff00ff 
size=2>1) 
AND H-Ref<FONT 
size=2>(H,-1<FONT 
size=2>)<Ref<FONT 
size=2>(L,-1)-L, 
Ref(L,-<FONT 
color=#ff00ff size=2>1)-L,<FONT color=#ff00ff 
size=2>0)); 
MinusDI=100<FONT 
size=2>*Wilders<FONT 
size=2>(MinusDM,Periods)/ATR<FONT 
size=2>(Periods) ; 
DIDif=abs<FONT 
size=2>(PlusDI-MinusDI); 
DISum=PlusDI+MinusDI; 
ADXFinal=100<FONT 
size=2>*Wilders<FONT 
size=2>(DIDif/DISum,Periods); <FONT face="Courier New" color=#0000ff 
size=2>
Plot(ADXFinal,<FONT 
face="Courier New" color=#ff00ff size=2>"CustADX"<FONT 
face="Courier New" size=2>,colorRed,styleLine);
 
<FONT 
face=Arial>Anthony
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=emarco@xxxxxxxxxxxxxxx 
  href="">emarco 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Wednesday, July 02, 2003 12:46 
  PM
  Subject: [amibroker] Raw Adx 
formula
  
  Hi,
      
      Where i can find the raw formula of ADX in 
  AFL....
  thanks
   
  Juan
  Send BUG REPORTS to <A 
  href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  <A 
  href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: <A 
  href="">amiquote@xxxxxxxxxxxxxxx (Web 
  page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 
  
<BLOCKQUOTE 
><FONT 
  face="Courier New">---Outgoing mail is certified Virus 
  Free.Checked by AVG anti-virus system (<A 
  href="">http://www.grisoft.com).Version: 6.0.493 
  / Virus Database: 292 - Release Date: 
6/25/2003






Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.