Basic expert adviser with trailing stop – expert for MetaTrader 4

Fully functional expert adviser with trailing stop. Should not be used for trading as there are no entry/exit rules or any thing else!

You can choose to either to use a buy or a sell to demonstrate trailing stop function. This is a template for further development or whatever.
Have fun 😉

adviser settings

basic_trailingstop_settings

on chart

basic_tstop_onChart

  • Platform: Metatrader4
  • Currency pairs: Any pairs, indices and metals
  • Trading Time: Around the clock
  • Recommended broker: icmarkets, XM
  • 1. Open the MT4 trading software – “File” – “Open Data Folder” in the upper right corner
  • 2, find the “MQL4” folder – “Experts”, put the EA in this folder
  • 3, need to refresh or restart the trading software to display EA, find “EA” in “Navigation” – “EA Trading”
  • 4, find the EA you need to use, right click the mouse, select “attach to the chart” (additional chart: EA uses the currency to be linked, if you need to hang Europe and America, please attach to the AUDUSD chart)
  • 5. After adding the chart, set the EA parameter. In the “Common” option, select “Multi-empty position” and check the box in front of “Allow real-time automatic trading”
  • 6, in the “input parameters”, set the relevant parameters, generally modify the number of single hand, jiacang distance, loss ratio, 10,000 US dollars according to the minimum parameter settings, after setting “confirm
  • 7. After setting the EA parameters, start the EA. In the “Tools” – “Options” – “EA” – check “Allow DLL import” to confirm