The Exp_JBrainTrend1Stop_ReOpen trading system is based on the JBrainTrend1Stop indicator color change with adding to trend-following positions. A trade signal forms at a bar closing if the indicator color changes. Its volume is then further increased if profit in points increases a threshold fixed in the EA inputs.
The data on addings are stored in a string comment to a position in the following format: number of addings/last trade price/last trade volume.
Place JMA.ex5 and JBrainTrend1Stop.ex5 compiled files to the <terminal_data_folder>\MQL5\Indicators.
Default Expert Advisor's input parameters have been used during tests shown below. Stop Loss and Take Profit have not been used during the tests.
Fig.1. Examples of trades on the chart
Testing results for 2015 at GBPUSD H4:
Fig.2. Testing results chart
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/16894
The Expert Advisor works comparing iCCI and iMACD indicators.Opening and Сlosing on time v2
The Expert Advisor opens and closes at a certain time comparing two iMA indicators having different periods. A trade having a specified volume is opened at a specified symbol. Setting Stop Loss and Take Profit. Select position type: Buy or Sell.