Mastering AlliHeik: Your Go-To EA for MetaTrader 5

Mike 2018.06.16 19:56 27 0 0
Attachments

Idea by: josef strauss.

Code by: Vladimir Karputov.

Meet the AlliHeik EA, built for MetaTrader 5, using the Heiken Ashi Smoothed Oscillator to give you precise trading signals:

AlliHeik Overview

Check out these sample signals for "Open Buy" and "Open Sell":

AlliHeik signal Buy

AlliHeik signal Sell

The EA only sends signals to open positions when a new bar appears, while it checks for trailing positions at every tick.

In this version, I've kept the code for defining input parameters related to Moving Averages and indicator creation. This way, if you want to tweak it, you’ve got what you need right there!

I've also added parameters like Trailing, Reverse signal, and Close the opposite position when a new signal comes in.

Trailing

Here's how it works: Position trailing kicks in when the Trailing Stop is set to anything other than zero. Set it to zero, and it’s off.

Reverse

The Reverse signal flag completely flips the signal for opening a position. It’s a neat feature if you like to play both sides!

Closing the Opposite Position on Signal

With the Close the opposite position on a signal flag set to true:

  1. You can open MULTIPLE positions.
  2. If you get an "Open Buy" signal, the EA will close any Sell positions, and vice versa.

If it’s set to false, the EA will only manage a SINGLE position, meaning it won’t close the opposite one.

Optimization Tips

Here are some recommended parameters, like initial value, step, and final value, for trading on the H1 timeframe:

AlliHeik optimization

List
Comments 0