Following The Waves
According specific prize rules positions are opened during interval startHRMM <> endHRMM (trading account clock) with strict stop loss (initial 100 pips) and is used trailing profit logic for all positions.
Set parameter commissionFactor according account used: set bit more more than effective so that closed account not trailed will give small profit.
If You set parameter useTakeProfit to true will be set take profit using takeProfitPips value.
Only one position will stay opened for all the time.
The EA will use period parameter to trade and will close positions not closed by stop loss not trailed in waitingSeconds in case of positive gain.
It does not use:
It works with 5-digit and 4-digit broker.
Is strongly recommended to use forex market with spread 0 and low commission.
The lot size can be fixed or calculated automatically if automaticLotSize is set to true based on formula Balance Equity/automaticLotSizeFactor (Suggested lot size rule is 0.01 for 100 EUR).