Accidently deleted indicator

i accidently deleted the adx indicator in the chart panel. how do i re instate it?


Filename: ADX - Directional Movement Index

	 range = Param("Periods", 14, 2, 200, 1 );
	 Plot( ADX(range), _DEFAULT_NAME(), ParamColor( "ADX color", colorBlue ), ParamStyle("ADX style", styleThick ) );
	 Plot( PDI(range), "+DI", ParamColor( "+DI color", colorGreen ), ParamStyle("+DI style") );
	 Plot( MDI(range), "-DI", ParamColor( "-DI color", colorRed ), ParamStyle("-DI style") );


what do i do with this??


Hey John,

Hit "F1" when in Amibroker > "Contents" Tab > "Tutorial" Section > "Amibroker Formula Language" Folder > "Creating your own indicators".

Exception to Step 4 (for your case only) - Paste the above code in "Formula Editor" and save it in C:\Program Files\AmiBroker\Formulas\Indicators.

The idea is to keep the inbuit indicators in "Indicators folder" and custom-built in "Custom folder" ( C:\Program Files\AmiBroker\Formulas\Custom ).

To visit the parent folder where all your formulas are saved C:\Program Files\AmiBroker\Formulas

Note: The folderpath might be different if you installed Amibroker in a different drive or location.