Expert Adviser Programming 234
To build an Expert adviser for metatrader 4.
This Expert Adviser takes an existing custom indicator & uses the signal conditions within the indicator to trigger trades.
Firstly the custom indicator used needs some extensions to allow parameter changes (change of values for indicator) to be set in the properties.
Expert Adviser:
Added variables will be standard such as:
Lot size
time start
time stop
Slippage allowed
Spread parameter
Magic number
Some conditions within the custom indicator will be able to be ‘turned off’ or ‘turned on’ by selecting true/false in the properties.
The Expert adviser uses ‘invisible stops’ – where the stops are set internally & executed by ‘instant execution’ rather than by stop limits.



