// Downloaded From https://www.WiseStockTrader.com
ADX_Pds = Param("ADX Range", 13, 5, 100,1);
ADX2_Pds = Param("ADX2 Range", 8, 5, 100,1);
DI_Pds = Param("+DI/-DI Range", 13, 5, 100,1);
DI2_Pds = Param("+DI2/-DI2 Range", 8, 5, 100,1);

the_ADX = ADX(ADX_pds);
the_ADX2 = ADX(ADX2_pds);
the_PDI = PDI(DI_Pds);
the_MDI = MDI(DI_Pds);
the_PDI2 = PDI(DI2_Pds);
the_MDI2 = MDI(DI2_Pds);

Plot(the_ADX, "ADX", colorBlue, styleThick);
Plot(the_ADX2, "ADX2", colorBlue, styleDashed);
Plot(the_PDI, "+DX", colorGreen);
Plot(the_MDI, "-DX", colorRed); 
Plot(the_PDI2, "+DX", colorGreen,styleDashed);
Plot(the_MDI2, "-DX", colorRed,styleDashed); 
Plot(25,"",colorWhite,styleDashed);