Purpose and how the system works?
What is new and different?
System parameters
System parameters
MaxTrades
MaxBars
ProfitPercent
LossPercent
MoneyMan
delta
StdSpread
signals
alerts
alertsOnHits
showSignals
Slippage
test
aggressiveness
StartFromDate
FromYear
You can change the system parameters using Expert Advisor Settings window from the MetaTrader client software. Add 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
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.
Our tests show that with MaxTrades=21 the system shows best results on wide range of instruments. If MaxTrades is too small you will not use entirely the power of the system on long trends.
• Default Value
MaxTrades=13
MaxBars
• Description
The system rates every bar like bullish, bearish or neutral. In bear trend, bearish bars prevail over the bullish one and vice versa.
MaxBars parameter restrict the system to open orders if current bar is with he same rate as previous bars, but have bigger number then MaxBars parameter in the bearish/bullish sequence. The system shows good results when MaxBars=2, but if you want to release the restriction set this parameter to the bigger value, e.g. 3,5,8 or even bigger. Be careful when change this parameter to bigger values. In flat markets that will cause more loses.
• Default Value
MaxBars=2
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
LossPercent
• Description
LossPercent is a parameter which you can use to set a restriction for the loss from any opened order.
For example if you set LossPrecent=20, the system will close any order when the loss is about 20% ot the average
bar high, i.e. if average bar high is 100 points, the system will close the orders when they loss nearly 20 points.
If LossPercent=0, the parameter have not influence over the system behaviour.
• Default Value
LossPercent=0
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 Fixed Fraction MM 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.
• Default Value
delta=5000
StdSpread
• Description
The minimum distance from the current price the system has to use when opening any pending order.
• Default Value
StdSpread=8
signals
• Description
The parameter manages the signals to be used in order generation. The number should have only 1 or 0 digits. First digit has to be 1. That means that Fractal signals can not be restricted.
Second digit (from left to right) manages AO signal orders. If second digit is 0, means that AO signal will not be used in order generation.
In the same way third digit will manage AC signals, forth digit - Zone signal and fifth digit - Base Line signal.
For example:
if Signals=11111 the system will use all the 5 signals to generate orders;
if Signals=11100 the system will use only Fractal, AO and AC signals;
if Signals=10001 the system will use only Fractal, Base Line signals;
Note: 01111 is not а valid value for this parameter. First digit (Fractal signals) has to be always 1.
• Default Value
Signals=11111
alerts
• Description
If alerts=1 the system will alert you 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 (Figure 1) 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 today log file.
Alert from the system
Alert begins with the name of the symbol fallowed by the name of the signal generated it (F - fractal signal; AO - AO signal; AC - AC signal; Z - zone signal; B - base line signal). Then you can find all the values to set your order.
• Default Value
alerts=0
alertsOnHits
• Description
If alertsOnPeaks=1 the system will give you an alert every time when the market hits any pending order.
• Default Value
alertsOnHits=0
showSignals
• Description
If showSignals=1 the system will show the order kind on the chart.
• Default Value
showSignals=0
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
test
• Description
If test=1 the system is in test mode. In 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
aggressiveness
• Description
If aggressiveness=1 the system will stop the orders using only fractal trailing stop or trailing stop technique.
It is good idea to set the system in aggressive mode only when you know the market is in strong trend, i.e. in Elliott wave 3 or C.
• Default Value
aggressiveness=0
StartFromDate
• Description
This parameter is using for debugging purposes only.
• Default Value
StartFromDate=1
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
|