Showing posts with label fractals. Show all posts
Showing posts with label fractals. Show all posts

RobotFX Heiken Ashi

The RobotFX Heiken Ashi expert advisor is an all-in-one trading solution for traders trading with the trend, so we can safely say that the Heiken Ashi expert advisor is a trend trader. It can detect the trend - if the trader chooses so - and trade accordingly, meaning that the EA will only buy if the trend is up and/or only sell if the trend is down. The trend itself is decided by the Heiken Ashi color on the higher or current timeframes. It should be noted however that the trend detector can also be disabled and that the Heiken Ashi EA can be allowed to trade by simply following the Heiken Ashi signals on the current timeframe.

To better understand better how this trend trader with hedging abilities works, please take a look at the picture below.
RobotFX Heiken Ashi
Heiken Ashi expert advisor with advanced trailing options (Trailing Stop)
In the trading chart above, the Heiken Ashi is in uptrend on H1 and H4, meaning that the Heiken Ashi color is green (up) on both of these timeframes.
The type of Heiken Ashi candles can be customized by the trader, who has the possibility to set the moving averages' method (smoothed, exponential, simple, linear), period or shift, for the trend detection as well as trade entry signals. When one or both trend detectors are used, the uptrend or downtrend is determined by the Heiken Ashi color on their respective timeframes. When any of the Trend A or Trend B are enabled, they are displayed in the lower-left corner of the chart. Note that if the trader enabled both these trend detectors (A and B), the EA will consider entering a trade only if they both coincide and it will ignore trading signals if one trend is up while the other is down.

When the Heiken Ashi candles change their color from down (red) to up (green) the EA will open a long trade; opposite happens for short trades. This entry signals can be validated by another safety feature - if the trader wants to use it - that is the swing zone confirmation. This swing zone is also used by both the Fluid and the NonLagMA expert advisors, and it has the purpose to ensure that the EA will not open buy trade when higher-highs are formed, or sell trades when the price forms a lower-low.

After a trade is opened, the Heiken Ashi EA has the ability to place a classic stop-loss and/or tkae-profit, and also trail the price using various methods (using the Tailing Stop EA algorithm) including trailing by Heiken Ashi candles, moving average, PSAR, ATR and others. This Heiken Ashi EA can even martingale if the previous trade closed in negative profit. Below are some examples of trades opened and closed with different trailing stop options.
Heiken Ashi EA trailing the price by candlestick

Heiken Ashi Expert Advisor
Heiken Ashi EA trailing the price by Fractals indicator

Heiken Ashi Expert Advisor
Heiken Ashi EA trailing the price by HA indicator

Heiken Ashi Expert Advisor
Heiken Ashi EA trailing the price by Moving Average indicator

Heiken Ashi Expert Advisor
Heiken Ashi EA trailing the price by HA indicator

Heiken Ashi Expert Advisor
Heiken Ashi EA trailing the price by PSAR indicator
Money management is also possible by setting the EA to use a percentage of the equity as lotsize, or by using a fixed lotsize.

RobotFX Heiken Ashi EA settings

Heiken Ashi Settings
Heiken Ashi indicator is used to spot the trend and enter/exit trades
Take your time to understand what each of these settings does. After you’ve done that, try to optimize the default settings based on the pairs you are trading, the time-frame you trade on, your equity and initial LotSize etc.
  • ClientEmail - fill this with your email IF you are using a paid version of this EA on a LIVE account
  • Enable lotsize management - set to true to automatically calculate the lotsize based on the “Percentage of equity to trade”
  • Percentage of equity to trade - see above
  • Lot Size - trade lotsize if “Enable lotsize management” set to false
  • Stop Loss (pips) - stoploss value set in pips
  • Take Profit (pips) - takeprofit value set in pips
  • Maximum orders allowed - how many orders is the EA allowed to have opened at the same time, on the same chart
  • Slippage (pips) - distance allowed for the price to move from the open/close/trail order to the execution
  • Close trades at opposite Heiken Ashi signal - whether or not to close opened trade/s if the Heiken Ashi candle changes color
  • Do not close at Heiken Ashi if negative profit - if above is set to true and this to false, the EA will close the trade/s regardless of the profit. Set to true to close only if the profit is positive
  • Close trades at opposite Heiken Ashi trend+signal - whether or not to close the trade/s if the trend changes and there is a buy or sell signal, depending on the trend
  • Close opened winning trades if same signal occurs - if another trade signal occurs and existing trade/s is positive, the EA can close it before starting a new one (if instructed to do so)
  • Do not close trades (if same signal) if negative profit - if above is set to true but the profit of the trade/s is negative, the EA can be instructed not to close the trade. Set to true to close an existing trade only if there is profit at the moment of changing the candle color
  • Display chart info - whether or not to show information on the chart
  • Information color - the chart info color Trades' comment - assign a comment for trades opened by this EA, for easy monitoring
  • MagicNumber - assign a unique number to trades opened by this EA so they can be managed by other EAs or allow this EA to manage trades opened by other EAs
  • Heiken Ashi signal & trend settings - choose the Heiken Ashi signal settings
  • Number of bars/candles to consider the swing - choose the number of candles to consider the “swing zone” used to confirm the entry signals
  • Pips away from the last swing - set to 0 pips to deactivate the swing zone. 
Example: when using a “Pips away from last swing” of 30 pips the EA will enter a trade when the Heiken Ashi signal changes color AND the price (at that moment) is at least 30 pips away from the swing zone upper level (when buying) or lower level (when selling). This should be used to reject buy signals that might occur on overbought areas or sell signals that happen in oversold areas.
  • FOLLOW TREND A / FOLLOW TREND B - if set to true, the trader can also choose the Heiken Ashi settings used to detect the trend. Both, one or none of these option can be used.
  • Enable Martingale - whether or not to multiply the next trade’s lotsize if the previous one/s closed in loss
  • Martingale if sum of last 2 orders negative - whether or not to consider the lotsize of the last 2 closed trades instead of only the last 1
  • Martingale multiplier - lotsize multiplier is martingale is enabled
  • Martingale consecutive trades - maximum number of times a trade lotsize is multiplied, if martingale is enabled and the loss not yet recovered
  • Price Trailing Method - choose how the EA trails the winning trade/s
  • Trailing Step (pips) - trailing step used to trail the price
  • Trailing Stop Buffer (pips) - trailing buffer used to trail the price
  • Minimum Profit if Trailing Stop Points - the trailing stop will be placed this distance away from the opened price
  • Trail from Breakeven - whether or not to start trailing only if the price is in profit. Set to false to trail the price as soon as the trade opens, if that is allowed by the trailing option
  • Trailing indicators settings - settings for some indicators used to trail the price (if that option is chosen to trail). For the Heiken Ashi trailing option, the same settings with the signal are used
  • Print more logs (disable for normal use) - set to true for testing and for when something doesn’t seem to work as described. Careful as it will write too many logs and slow down your computer

Watch how RobotFX NonLagMA works (video)

RobotFX Trailing Stop

The Trailing Stop expert advisor has been created to help traders manage winning trades and baskets of trades, by trailing the price once it goes in the trader’s favor. The main idea that led to this Trailing Stop EA was that many traders are not so good at managing winning trades. While sooner or later every trader learns how to spot the trend, when to enter a trade, what forex news to trade and so on, many traders are closing their trades when they shouldn’t.
It often happens that traders get too greedy or too scared and so they poorly manage an opened trade. Unfortunately, managing an opened trade is much harder than opening a trade. When this happens, the winning trade is usually closed:
  • Too late, after the profit decreased considerably or even became negative profit (loss)
  • Too early, before the trade’s profit will reach its highest amount possible
RobotFX Trailing Stop
By trailing the price with the stop-loss, traders ensure that profit has been locked at certain levels
Using the RobotFX Trailing Stop expert advisor for Metatrader, traders can cash in safer without having to continuously monitor their trades.
So the purpose of the Trailing Stop EA is to eliminate those frustrating situations when you close a trade earlier than you should and the price continues to go in your favor, or when you wait for to long and the price reverses, so your winning trade becomes a losing trade.
The expert advisor trails the price using various methods:
  • After a number of pips or points (the classic trailing method)
  • At the last candlestick’s end (+ a buffer in points)
  • Trails using Metatrader’s indicators: MA (moving average), PSAR (parabolic stop and reverse), fractals, ATR (average true range)
  • Trails using a percentage of the profit
Below are few examples how the EA trails the price using these methods.
ATR Trailing Stop
Trail the price using the ATR indicator

Chandelier Trailing Stop
Trail the price using the previous candle

Pips Trailing Stop
Trail the price using a fix amount of pips

Fractals Trailing Stop
Trail the price using the Fractals indicator

Moving Average Trailing Stop
Trail the price using a moving average

PSAR Trailing Stop
Trail using the PSAR indicator

RobotFX Trailing Stop Settings

It is important to specify that the trader has the ability to change (within the expert advisor’s settings) the indicators values as well as the timeframe they are applied to. Also, that the expert advisor can trail multiple trades (basket) of the same kind.
Trailing Stop Settings
Trailing Stop Expert Advisor Settings

  • ClientEmail - if you already purchased this EA and want to trade it live, enter your email here
  • Virtual Trailing - enable/disable virtual trailing
  • Trailing Method - choose the preferred trailing method
  1. Candlestick (aka chandelier) - trails the price using the last candle, placing the stoploss at the end of this candle
  2. Fractals - trails the price using the fractals indicator, placing the stoploss at the fractal indicator level
  3. ATR - trails the price using the ATR indicator, placing the stoploss at the ATR indicator level
  4. Parabolic - trails the price using the PSAR indicator, placing the stoploss at the PSAR indicator level
  5. MA - trails the price using the moving average indicator, placing the stoploss at the MA indicator level
  6. Profit % - trails the price using the profit’s percentage (example: if profit is 500 pips and Profit % = 50, the stoploss will be placed at 50%*500, meaning 250 pips)
  7. Points - trails the price using the points; use with Minimal Profit if Trailing Stop Points below (example: when profit reaches Minimal Profit if Trailing Stop Points, trailing will start and the stoploss will be placed)
  • Trailing Stop Buffer - the stoploss will be placed at this distance from the signal (MA, PSAR, fractals etc.)
  • Trailing Stop Step - the stoploss will be moved when the price will move this distance from the previous stoploss
  • Minimal Profit if Trailing Stop Points - trailing will start after this amount is passed
  • Trailing Stop from Breakeven - the stoploss will be placed and trailing will start only after price reached the breakeven level
  • MagicNumber to Trail (-1 all) - if you want to trail trades opened by other EAs, enter their MagicNumber here
  • Indicator Settings - set the values for the indicators used to trail the price, if any of them is chosen as Trailing Method
  1. Timeframe - the indicators’ timeframe
  2. ATR Period - Average True Range period settings
  3. Parabolic Step - PSAR indicator step settings
  4. Parabolic Maximum - PSAR indicator maximum settings
  5. MA Period - Moving Average period settings
  6. MA Method - Moving Average method settings
  7. MA Price - Moving Average price settings
  8. Profit Percent - profit percent settings
An expert advisor that can trade and trail all the above plus Heilen Ashi is the RobotFX Heiken Ashi EA.

Watch how the RobotFX Trailing Stop EA works