Wednesday, 17 October 2007
EA parameters
- StratName- This is the name of the strategy for comments only.
- GridMesh - This is the distance between points on the grid. Default is 25, but you can widen/tighten the net.
- GridMaxOpen - This is the maximum number of positions that will be opened. Should be used in conjunction with GridMesh. Ideally you want to cover a 500-1000 pip range, so you might set gridmesh to be 100 and gridmaxopen to be 10 to have a conservative setting.
- minFromPrice - This is the minimum distance from initial price before we make a trade.
suspend Strat - If you want to stop the strategy from placing positions, then set this to true. - exitAllPositions - If you want to close all positions both pending and open, set this to true.
- Risk - The default setting is 1. The maximum setting that has been testing successfully is 1.3. This is a multiplier for the lot size if you wish to increase the risk.
- UseMicroLots - If you have a mini account or an account such that you will need to trade lots under 0.1, then set this to false. Some brokers do not allow trades to be placed under 0.1 lots, and so in that case set this flag to true.
- Stoploss - whether to place a stoploss with each trade, and how big that should be.
- CloseAllOnReverse - whether to close all trades regardless of current profit levels on a trend reversal.
- CloseOnlyProfitableAllOnReverse - whether to only close profitable trades, used in conjunction with the CloseAllOnReverse flag.
For Version 3;CloseAllOnReverse being set to false, and CloseOnlyProfitableAllOnReverse set to true will result in only profitable trades being closed CloseAllOnReverse being set to true will result in all trades being closed regardless of profit
For Version 4 and above;CloseOnlyProfitableOnReverse will close only profitable trades if set to true, else if it is set to false then losing trades will also be closed. - UseManualLots - if the automatic lot size is too low for your account, then you can override it by setting this property to true, and setting the ManualLotSize to be your account minimum/desired lot size. this is set to false by default.
- ManualLotSize - the lot size to use when UseManualLots is set to true.
- (Version 5) TrailingStop - true will use a trailing stop, defined by the TrailStopLevel.
- (Version 5) TrailStopLevel - the trailing stop level, defined in pips. Once the order is TrailStopLevel profit in pips, it will move the stop to breakeven, and then as it moves further in profit it will move the stop up with it.
Labels: EA Settings
Subscribe to Posts [Atom]
