Experts: Smart Tunel Trading - page 7

To add comments, please log in or register
Nice work
Aharon Tzadik
Aharon Tzadik  
Aharon Tzadik:
Thank you for sharing the EA,
I have a suggestion to improve it,
Since you can not perform a back test with graphs on MT4, you can use trendlines as a filter for any strategy you want.
For example: take two moving averages, optimize them and use the lines as a filter:
If both trend lines are rising the trend is up, if both are going down the trend is down,
If there is a meeting and a crossing between the lines then this implies a big future breakthrough of the price.
I've included a ready EA file , all you need is to optimize and run the EA on chart.
I hope people will benefit from the EA file I have attached.


  • USEMOVETOBREAKEVEN - Enable "no loss" break even system (values: 0-1).
  • WHENTOMOVETOBE - When to move break even (values: 10-100).
  • PIPSTOMOVESL - How much pips to move stop loss (values: 10-100).
  • Lots - Lots size (values: 0.01-10).
  • MaximumRisk - maximum risk from total margin in %, (values: 0.01 - 0.3).
  • If "MaximumRisk =0" then "Lot=constant"
  • DecreaseFactor - decrease from total margin if you lose a trade.
  • TrailingStop= set a value from 10 to 100 to activate trailing stop loss & take profit, "0" will not activate trailing stop loss.
  • Stop_Loss - Stop Loss (values: 10-100).
  • MagicNumber - Magic number (values: 1-100000).
  • TakeProfit - Take Profit (values: 10-100).
  • FastMA - Fast Moving Average (values: 1-20).
  • SlowMA - Slow Moving Average (values: 50-200).
  •  Distance-Distance between two averages (values: 10-60).

Previos version was with an error-unable to trade,use this one.


Interesting robot, thank you for sharing. I have been trying to learn MQL and still getting to grips of methodology behind it and see if there is any improvements i may be able to contribute.

Could you please share what inputs you used to get your graph with with "14% highest drawdown and Profit factor about 6.5" I cant get anything near that on tick data and your recommended EURUSD pair.

Thanks again

To add comments, please log in or register