Skip to main content

DMI Spread for Amibroker (AFL)

pipstar about 16 years ago Amibroker (AFL)

  • Rating:
    4 / 5 (Votes 4)
  • Tags:
    oscillator, amibroker

DMI Spread show the difference between plus (+) and minus (-) DX

Indicator / Formula

Copy & Paste Friendly
pd = MDI(14);
md = PDI(14);
dmi=md-pd;

Graph0=dmi; /* DMI Spread */
Graph0Style= 2;
Graph0Color = 1;
Graph1 =15;
Graph2 =-15;
Graph3 =0;
Graph1Style = Graph2Style= 1;
Graph1Color =5;
Graph2Color =4; 

0 comments

Leave Comment

Please login here to leave a comment.