Purpose and how the system works?
System parameters
System parameters
MoneyMan
delta
alerts
showSignals
ProfitPercent
test
FromYear
MaxTrades
StartFromDate
StdSpread
Slippage
You can change the system parameters using Expert Advisor Settings window from the MetaTrader client software. Add 8d expert advisor to your graphics and then press F6 key to open the next Settings window.
You can change all parameters values but please look at the parameter description to understand what values are permitted and how they will change the system behavior.
Parameters setup window
MoneyMan
• Description
This parameter is a key with which you can choose what money management method the system will use. MoneyMan=0 means no money managemnt. MoneyMan=1 means Fixed Ratio MM method. MoneyMan=2 means margin method with 10% margin.
• Default Value
MoneyMan=0
delta
• Description
Delta is the parameter used to calculate number of trading units when MoneyMan=1 (Fixed Ratio money management method). Delta is the main parameter of that money management method and determines its aggressiveness. As smaller is the value as aggressive is the MM method. Most popular value of delta is $5000 but the system shows stable results even with Delta=$1000.
• Default Value
Delta=1000
alerts
• Description
If alerts=1 the system will alert you on every order with complete information about Price, Stop Loss, Take Profit values and will advise you what exit strategy to use. The same alert information you can find in Journal window and in corresponding Log File in ..\Program Files\MetaTrader\Logs\ directory.
Note: If you want the system only to advise you: 1) Check Enable Alerts check box; 2) Uncheck Allow Live Trading check box; 3) Set alerts parameter to 1.
On the alert window you will see the values for the last proposed by the system order. Info about the previous system advises you have to search in MetaTrader Journal window or in corresponding log file.
Alert begins with the name of the symbol fallowed by the name of the signal generated it (L1, S1, L2A, S2A, ...). Then you can find all the values to set your order (Price, SL, TP).
• Default Value
alerts=0
showSignals
• Description
If showSignals=1 the system will show the signal codes on the chart.
• Default Value
showSignals=0
ProfitPercent
• Description
ProfitPercent is a parameter which you can use to set a restriction for the gain from any opened order.
For example if you set ProfitPrecent=100, the system will close any order when the profit is about 100% ot the average
bar high, i.e. if average bar high is 150 points, the system will close the orders when they profit nearly 150 points.
If ProfitPercent=0, the parameter have not influence over the system behaviour.
• Default Value
ProfitPercent=0
test
• Description
If test=1 the system is in test mode. In MetaTrader Journal window the system reports the status of some internal variables and parameters. It is very useful to understand what the system decide to do and why.
Be careful, because in test mode the system writes more text in the log file on every tick and if you are using Strategy Tester the log file will significantly increase.
• Default Value
test=0
FromYear
• Description
The parameter is important in Strategy testing mode and sets up the first year from which the price data to be considered. For example if you are testing on a day periodicity price data you can skip some of the oldest data using this parameter.
• Default Value
FromYear=1998
MaxTrades
• Description
This parameter sets up the maximum number of simultaneously opened orders the system will use. Be careful when changing the value of this parameter.
If MaxTrades is too small you will not use entirely the power of the system on long trends. Rarely but that happens, the system opens 4-6 orders simultaneously.
• Default Value
MaxTrades=21
StartFromDate
• Description
This parameter is using for debugging purposes only.
• Default Value
StartFromDate=1
StdSpread
• Description
The minimum distance from the current price, the system has to use when opening any pending order. The value depends from your broker.
• Default Value
StdSpread=8
Slippage
• Description
The parameter setups the time (in seconds) the system will use to make any operation with orders (SetOrder, modify, delete, close etc.). Technologically required time is 10s per operation (or query to the broker). If the value is smaller, there is no guarantee that the broker will complete your query.
• Default Value
Slippage=10
|